Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] New RESTRICT=live value for identification of live ebuilds?
Date: Sat, 02 Aug 2008 02:02:40
Message-Id: 4893C048.9020806@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi everyone,
5
6 It might good to add support for a new RESTRICT=live value in
7 ebuilds. By specifying this value, an ebuild would be able to
8 indicate that it uses src_unpack() to download sources from some
9 type of live repository such as cvs, darcs, git, mercurial, or svn.
10
11 This new RESTRICT=live value would be useful in at least a couple of
12 ways. One is that it could be used to implement a @live-rebuild
13 package set that's based on RESTRICT instead of INHERITED [1]. It
14 could also be used to implement a more accurate LIVEVCS.stable check
15 in repoman, again based on RESTRICT instead of INHERITED [2].
16
17 We already have plans for more advanced live ebuild support,
18 including live update detection, that will involve an EAPI bump [3].
19 However, the RESTRICT=live value is a simple enhancement that we can
20 add now, without the need for an EAPI bump. Thoughts?
21
22 Zac
23
24 [1]
25 http://planet.gentoo.org/developers/zmedico/2008/07/31/live_rebuild_package_set
26 [2] http://sources.gentoo.org/viewcvs.py/portage?view=rev&rev=3457
27 [3] http://bugs.gentoo.org/show_bug.cgi?id=182028
28 -----BEGIN PGP SIGNATURE-----
29 Version: GnuPG v2.0.9 (GNU/Linux)
30
31 iEYEARECAAYFAkiTwEYACgkQ/ejvha5XGaO1yACbBdLxCzvVxMdW/IjeodgbktNJ
32 /GYAniFIweB8+Gj/7XSlT2pEFD6/Ric9
33 =a+ak
34 -----END PGP SIGNATURE-----

Replies