Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o, "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-dev] [RFC] SRC_URI behaviour
Date: Sun, 16 Jun 2013 00:24:15
Message-Id: 51BD05A6.4090209@gentoo.org
In Reply to: Re: [gentoo-dev] [RFC] SRC_URI behaviour by "Michał Górny"
1 On 06/15/2013 06:05 AM, Michał Górny wrote:
2 > Dnia 2013-06-15, o godz. 15:56:53
3 > "Vadim A. Misbakh-Soloviov" <mva@×××.name> napisał(a):
4 >
5 >> And, moreover, I guess, SRC_URI can even be used for VCS:
6 >>
7 >> SRC_URI="
8 >> git+ssh://github.com/lol/moo.git
9 >> hg+ssh://bitbucket.org/lol/moo
10 >> svn+ssh://assembla.com/lol/moo
11 >> "
12 >
13 > It simply can't work. Don't even try to implement, it's waste of time.
14 > Just grep the tree, see how various packages use VCS-es. There's too
15 > many differences, too many needs and -- most importantly -- VCS-es
16 > change over time much more quickly than, say, unpackers.
17 >
18 > Even *if* we get a SRC_URI VCS support that works for all consumers,
19 > and that'd be awfully hard to do properly, it will eventually stop
20 > being 'good enough' and require further changes. It will just become
21 > never-ending story for a minor benefit.
22
23 How about it we add a src_fetch phase, so that the VCS intricacies can
24 be delegated to ebuilds/eclasses (like they are now, but without having
25 to abuse src_unpack). If we include a way for src_fetch to communicate
26 changes in VCS revisions to the package manager, then we'll be able to
27 integrate functionality like smart-live-rebuild directly into the
28 package manager (as discussed in bug 182028 [1]).
29
30 [1] http://bugs.gentoo.org/show_bug.cgi?id=182028
31 --
32 Thanks,
33 Zac

Replies

Subject Author
Re: [gentoo-dev] [RFC] SRC_URI behaviour Luca Barbato <lu_zero@g.o>
Re: [gentoo-dev] [RFC] SRC_URI behaviour Georg Rudoy <0xd34df00d@×××××.com>
Re: [gentoo-dev] [RFC] SRC_URI behaviour "Vadim A. Misbakh-Soloviov" <mva@×××.name>
[gentoo-dev] Re: [RFC] SRC_URI behaviour Michael Palimaka <kensington@g.o>
Re: [gentoo-dev] [RFC] SRC_URI behaviour "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>