public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaranm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Default Ebuild behaviour
Date: Tue, 31 Jan 2006 15:47:02 +0000	[thread overview]
Message-ID: <20060131154702.11a027ad@snowdrop.home> (raw)
In-Reply-To: <200601311403.40320.strerror@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1928 bytes --]

On Tue, 31 Jan 2006 14:03:38 +0000 "Benjamin Smee (strerror)"
<strerror@gentoo.org> wrote:
| On Tuesday 31 January 2006 12:31, Ciaran McCreesh wrote:
| > See, you're not really taking into account the cost of sticking
| > files in /etc. For packages where an etc entry is low cost, it's
| > already done. 
| 
| What is the "cost" you are referring to specifically? I think I know
| but I'd like a specific definition.

1. Management. For example, handling etc-update.

2. Administration. Everything in /etc must be checked and covered by
backup policies and the like. Unless you're a home user, in which case
you probably just hope for the best...

3. Performance. Entries in /etc can have a serious performance impact.
The easy example is bash completion, which can be reaaallllly slow if
you have a few hundred entries. Less obvious examples are cron entries
for things like updatedb -- if you have a few dozen chroots and svn
checkouts of large projects, updatedb can take a very long time and eat
a lot of battery power.

| Agreed, the question then though is how to manage it. Is USE the
| right way? Given that there will always be a couple of exceptions, is
| it not reasonable to expect that all packages that install cron
| entries do it in a consistant manner?

Not really. For some packages, cron files must always be installed for
proper operation. For some packages, cron files are strictly optional
extras for features that many users will not want. For many it's
somewhere in between. For packages in the first group, a USE flag is
silly. For packages in the second group, not using a USE flag is silly.
For the in-between cases, that's one of those areas where the ebuild
maintainer has to make an educated decision.

-- 
Ciaran McCreesh : Gentoo Developer (King of all Londinium)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-01-31 15:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-31 12:11 [gentoo-dev] Default Ebuild behaviour Benjamin Smee (strerror)
2006-01-31 12:31 ` Ciaran McCreesh
2006-01-31 14:03   ` Benjamin Smee (strerror)
2006-01-31 15:47     ` Ciaran McCreesh [this message]
2006-01-31 17:06       ` Benjamin Smee (strerror)
2006-01-31 17:24         ` Ciaran McCreesh
2006-01-31 20:15           ` Donnie Berkholz
2006-01-31 22:43             ` Henrik Brix Andersen
2006-01-31 22:53             ` Ciaran McCreesh
2006-01-31 23:03               ` Henrik Brix Andersen
2006-01-31 23:17                 ` Ciaran McCreesh
2006-02-01  0:02                   ` Henrik Brix Andersen
2006-01-31 23:14             ` Francesco Riosa
2006-02-01  1:32             ` Georgi Georgiev
2006-02-01 10:56             ` Rob Holland
2006-02-01 10:41           ` Benjamin Smee (strerror)
2006-01-31 19:51       ` Chris Gianelloni
2006-01-31 20:22         ` Alin Nastac
2006-02-01  8:59           ` Andreas Vinsander
2006-02-01  9:05             ` Andreas Vinsander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060131154702.11a027ad@snowdrop.home \
    --to=ciaranm@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox