Gentoo Archives: gentoo-dev

From: Vlastimil Babka <caster@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball
Date: Tue, 17 Jul 2007 10:29:22
Message-Id: 469C9905.20101@gentoo.org
In Reply to: Re: [gentoo-dev] RFC : New ebuild function pkg_create for creating corespondent sorce tarball by "Jan Kundrát"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Jan Kundrát wrote:
5 > Alin Năstac wrote:
6 >> The upstream doesn't offer a source tarball, so I need to construct
7 >> it myself from their svn repository.
8 > If your aim is to create an ebuild for a specific version, you might as
9 > well checkout stuff yourself and let Gentoo mirror the generated tarball
10 > (your mail doesn't talk about RESTRICT=fetch). If you let Gentoo mirror
11 > the tarball, users are likely to be happier because they'll get the file
12 > faster and in a more reliable way.
13
14 I think he wants to do exactly that, but having the code needed for this
15 right in the ebuild, so it can benefit from varibles like PV and
16 versionator eclass for converting PV to e.g. CVS tags... I think it's
17 quite elegant for this, and that you don't need another script
18 maintained somewhere else. If there was also switch in the respective
19 new 'ebuild foo.ebuild src_create' command to automatically scp files
20 specified by mirror://gentoo in SRC_URI to the right place... mmm :)
21
22 The only downside is that users will download something that they won't
23 find often useful (but think local overlay bumps and bugzilla reports on
24 version bump that just renaming the ebuild works?). OTOH, while this
25 might be useful for more than few packages (I can also think of some),
26 it's not too many to clutter the tree significantly.
27
28 > Or am I missing something?
29 >
30 > Cheers,
31 > -jkt
32 >
33 - --
34 Vlastimil Babka (Caster)
35 Gentoo/Java
36 -----BEGIN PGP SIGNATURE-----
37 Version: GnuPG v1.4.7 (GNU/Linux)
38 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
39
40 iD8DBQFGnJkEtbrAj05h3oQRArf4AJ4n/nvrxsDV1hFixnf9HcGNlscUcgCeJaG8
41 1Rkm4mQ0HKeJX39P+vwwPz8=
42 =jTzj
43 -----END PGP SIGNATURE-----
44 --
45 gentoo-dev@g.o mailing list

Replies