Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-dev@l.g.o
Cc: zmedico@g.o
Subject: Re: [gentoo-dev] perl eclass review - EAPI=3 + new helper eclass
Date: Fri, 02 Apr 2010 00:19:34
Message-Id: 20100402001731.GO11663@hrair
In Reply to: Re: [gentoo-dev] perl eclass review - EAPI=3 + new helper eclass by Zac Medico
1 On Thu, Apr 01, 2010 at 05:14:20PM -0700, Zac Medico wrote:
2 > You can configure eclass override behavior via eclass-overrides in
3 > /etc/portage/repos.conf, as documented in `man portage`. There are a
4 > number of caveats to eclass-overrides, and that's why it's not the
5 > default behavior. For example, beware that you'll need to set
6 > PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/metadata/cache" if your overlay
7 > eclasses modify any ebuild metadata (as documented in `man portage`).
8
9 Why not add some boolean list to the repo definition controlling that,
10 rather then requiring people to specify the raw RSYNC option?
11 Something like REPO_OPTIONS='exclude-cache'?
12
13 You can also jam some other options in there- one that might be useful
14 for folks is specifying the minimal sync period (sync this repo at
15 most once a day, or at most once an hour), etc.
16
17 ~harring

Replies