Gentoo Archives: gentoo-dev

From: Gregg <gregg@××.am>
To: arutha@×××.de
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] new package notification
Date: Fri, 26 Jul 2002 13:48:33
Message-Id: 2317.12.247.253.40.1027709406.squirrel@sc.am
In Reply to: Re: [gentoo-dev] new package notification by Alexander Gretencord
1 So...
2
3 Something along these lines is in order:
4
5 rm /root/before
6 rm /root/after
7 rm /root/new
8 find /usr/portage -type d | grep -i -v files >/root/before
9 emerge rsync
10 find /usr/portage -type d | grep -i -v files >/root/after
11 diff /root/before /root/after | tee /root/new
12
13
14 That cleans up the old files, buids the before list, emerged, builds the
15 after (both ignoring the files directory,) and then outputs the diff to
16 screen and file
17
18 Anyone up to making this a neat little script?
19
20
21 > On Friday 26 July 2002 18:44, Gregg wrote:
22 >> I want to see a list of new packages that are available after an
23 >> rsync. Not updates to packages that were already there, but new
24 >> directories in the portage tree.
25 >
26 > Do a "find /usr/portage/ -type d > before" before the emerge rsync and
27 > the same after rsyncing but into file "after". The do a "diff before
28 > after". After doing this once you can just move the after file to
29 > before everytime so you don't have to do a find before the next rsync
30 > but just use the last after-file. You could tell it to not print the
31 > files dir so you will only get the new packages directory and not the
32 > files dir which holds the digests and patches.
33 >
34 > just my 2(euro)cent
35 >
36 > Alex
37 >
38 > --
39 > "They that can give up essential liberty to obtain a little temporary
40 > safety deserve neither liberty nor safety."
41 > Benjamin Franklin
42 >
43 > _______________________________________________
44 > gentoo-dev mailing list
45 > gentoo-dev@g.o
46 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev

Replies

Subject Author
Re: [gentoo-dev] new package notification Marko Mikulicic <marko@××××.org>