Gentoo Archives: gentoo-dev

From: Michiel de Bruijne <m.debruijne@××××××.nl>
To: gentoo-dev <gentoo-dev@g.o>
Cc: Spider <spider@g.o>
Subject: Re: [gentoo-dev] Request for Help
Date: Sun, 22 Sep 2002 02:59:19
Message-Id: 200209220959.39821.M.deBruijne@HCCNet.nl
In Reply to: [gentoo-dev] Request for Help by Spider
1 Hi Spider,
2
3 Maybe I'm overlooking something but how about:
4 - set a $MAJOR_VERSION in a Gnome eclass (e.g. 2.4)
5 - set a $SRC_PATH in a Gnome eclass (e.g
6 ftp://ftp.gnome.org/pub/gnome/sources)
7 - set in Gnome eclass something like SRC_URI =
8 ${SRC_PATH}/${PN}/${MAJOR_VERSION}/${P}.tar.bz2
9 - remove all SRC_URI entries from gnome ebuilds
10
11 If in the future for example the major version change to 2.6 you only have to
12 change the eclass.
13 The removal of all the SRC_URI entries from gnome ebuilds is something that
14 can be done by a script.
15
16 Regards,
17 Michiel.
18
19 --------------------
20
21 On Sunday 22 September 2002 04:41, Spider wrote:
22 > hello folks.....
23 >
24 > I'm a tad of a bit irritated right now. the Gnome team has changed the
25 > ftp layout completely, and Now every download for a gnome package will
26 > fail from gnome or their updated mirrors.
27 >
28 > the update work is harsh since the system is harder to script than
29 > before.
30 >
31 > in this example I'll use "gdm" which is currently at version
32 > 2.4.0.11
33 >
34 > for example, we now have to link:
35 > ftp://ftp.gnome.org/pub/gnome/2.0.x/sources/gdm/gdm-2.4.0.11.tar.bz2
36 > ftp://ftp.gnome.org/pub/gnome/2.0.x/sources/${PN}/${P}.tar.bz2
37 >
38 > Where we now will have to refer to :
39 > ftp://ftp.gnome.org/pub/gnome/sources/gdm/2.4/gdm-2.4.0.11.tar.bz2
40 >
41 > to make this simple across updates is impossible due to the "2.4" which
42 > will have to either add extra logic to the ebuild, or be manually set
43 > between major versions.
44 >
45 > well, this will be "simple" .. its only the question of a couple of
46 > man-hours to manually go through all our gnome packages and changing
47 > SRC_URI ... happy happy fscking JOY!
48 >
49 > Example:
50 > gdm-2.4.0.11 :
51 > mirror://gnome/sources/${PN}/2.4/${P}.tar.bz2
52 >
53 > Now.. .for my main source of irritation and something I'd require help
54 > with. in this update, they also saw fit to remove the /latest directory,
55 > which previously had a nice "sort by date" in the http interface, and
56 > thus was really simple to keep abreast with added and changed packages
57 > between our tree and theirs.. Now this is the question of listing all
58 > packages one by one for each "major" version and checking against our
59 > supported versions. as you can imagine this is nothing I look forward
60 > to doing.
61 >
62 > So, I request the help of the creative scripters in the -dev list to
63 > come up with a way to track changes in a ftp tree between two days, and
64 > listing the new packages between dates.
65 >
66 > ls */*/*.tar* >$DATE ; diff $DATE(TODAY) $DATE(TODAY-1) :
67 > or something ;)
68 >
69 >
70 > regards,
71 > Spider
72 > irate developer

Replies

Subject Author
Re: [gentoo-dev] Request for Help Michiel de Bruijne <m.debruijne@××××××.nl>