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