Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [Future EAPI] src_fetch() phase function to support VCS fetching
Date: Wed, 05 Sep 2012 07:29:11
Message-Id: 20120905082554.4bfb7452@googlemail.com
In Reply to: Re: [gentoo-dev] [Future EAPI] src_fetch() phase function to support VCS fetching by "Michał Górny"
1 On Tue, 4 Sep 2012 19:23:51 +0200
2 Michał Górny <mgorny@g.o> wrote:
3 > > The 'checking out' language for src_unpack() sounds like it assumes
4 > > a DVCS such as mercurial or git. What about cvs or svn, where
5 > > fetching is also checking out? (This is probably a trivial thing to
6 > > clear up, though.)
7 >
8 > They either stay with src_unpack() or do 'cvs up' in src_fetch()
9 > and just copy files over in src_unpack(). Anyway, that's what they do
10 > now -- update the copy in distfiles/cvs-src and then copy it.
11
12 This doesn't work if we have, for example, foo:1 and foo:2 both using
13 the same SCM repository, but different branches. Much as we'd like to
14 pretend that everyone uses Git, we can't really ignore this case...
15
16 So we have to decide: do we make the src_fetch copy the data somewhere
17 after all, or do we require that eclasses do something obscene to avoid
18 this?
19
20 --
21 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies