Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@××××××.de>
To: gentoo-dev@g.o
Cc: jk@×××××××××××.net
Subject: Re: [gentoo-dev] gentoo-project
Date: Tue, 09 Sep 2003 00:20:10
Message-Id: 20030909022001.0ad2e8dc.genone@genone.de
In Reply to: Re: [gentoo-dev] gentoo-project by Jan Krueger
1 On 09/08/03 Jan Krueger wrote:
2
3 > On Monday 08 September 2003 03:03, Jon Portnoy wrote:
4 >
5 > > You haven't shared many of your views
6 > Here they are again summed up for the interested reader:
7 >
8 > -allow the actual package install process only to add files to the
9 > filesystem or to only modify/remove files that belong to an revision
10 > of the same ebuild(qa would benefit from this suggestions too.).
11 > Portage, before putting all the files from the image into the life
12 > filesystem, scans the image for all files in there. now it has a list
13 > of files it is going to install. So it scans now the live filesystem
14 > if thes files, or some of them exist. If they exist in the live
15 > filesystem, portage checks if they belong to a revision of the same
16 > ebuild.
17 > -if they dont belong to a revision of the same ebuild and are not
18 > found in
19 > the live filesystem it would be an addition of new software so the
20 > files are put into action
21 > -if they are found in the filesystem and belong to a revision of the
22 > same
23 > ebuild it would be an upgrade or downgrade and are put into action
24 > -if they are found in the filesystem and do not belong to a revision
25 > of the
26 > same ebuild -> something is wrong (might be init going to be
27 > overwritten) -> inform the user and fail
28
29 I think this might be useful so I implemented a portage patch for it,
30 see bug 28228 on http://bugs.gentoo.org . It's highly experimental by
31 now and probably needs more work, but it should work in 90% of all
32 cases.
33
34 Marius
35
36 --
37 Public Key at http://www.genone.de/info/gpg-key.pub
38
39 In the beginning, there was nothing. And God said, 'Let there be
40 Light.' And there was still nothing, but you could see a bit better.