Gentoo Archives: gentoo-dev

From: Dan Armak <danarmak@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] cvs.eclass usage with offline computer
Date: Fri, 02 May 2003 09:27:47
Message-Id: 200305021226.33161.danarmak@gentoo.org
In Reply to: [gentoo-dev] cvs.eclass usage with offline computer by torbenh@gmx.de
1 Hi,
2
3 If you just want to make cvs.eclass-based things to work offline, you can
4 export ECVS_SERVER=offline and they will use the already-checked-out sources
5 without attempting to update them. This cannot be automatized further because
6 unlike other ebuilds which have digests etc, for live cvs ebuilds there can
7 be no 'already fetched' condition.
8
9 That leaves the issue of having them update the sources, but not compile them,
10 when you emerge -f. For this we indeed need portage-side support, but not too
11 much. Say, allowing ebuilds to redefine src_fetch (as it did once, I don't
12 think we can do that now) and, for cvs ebuilds, always calling src_fetch
13 regardless of the digest and SRC_URI.
14
15 This is all a todo for me - for the medium future :-)
16
17 --
18 Dan Armak
19 Gentoo Linux developer (KDE)
20 Matan, Israel
21 Public GPG key: http://cvs.gentoo.org/~danarmak/danarmak-gpg-public.key