From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI,NICE_REPLY_A autolearn=unavailable autolearn_force=no version=4.0.0 Received: from sc.am (sc.am [66.247.109.82]) by chiba.3jane.net (Postfix) with SMTP id 95C95AC540 for ; Fri, 26 Jul 2002 13:48:33 -0500 (CDT) Received: (qmail 3203 invoked from network); 26 Jul 2002 18:50:06 -0000 Received: from unknown (HELO sc.am) (127.0.0.1) by 127.0.0.1 with SMTP; 26 Jul 2002 18:50:06 -0000 Received: from 12.247.253.40 (SquirrelMail authenticated user gregg) by sc.am with HTTP; Fri, 26 Jul 2002 13:50:06 -0500 (CDT) Message-ID: <2317.12.247.253.40.1027709406.squirrel@sc.am> Date: Fri, 26 Jul 2002 13:50:06 -0500 (CDT) Subject: Re: [gentoo-dev] new package notification From: "Gregg" To: In-Reply-To: <200207261920.26542.arutha@gmx.de> References: <2155.12.247.253.40.1027701888.squirrel@sc.am> <200207261920.26542.arutha@gmx.de> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: Reply-To: gregg@sc.am X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 7acb7924-b1ce-402c-8b32-ebd0e917208a X-Archives-Hash: 3df988acdc81a3eeba39f9f01d85f48a So... Something along these lines is in order: rm /root/before rm /root/after rm /root/new find /usr/portage -type d | grep -i -v files >/root/before emerge rsync find /usr/portage -type d | grep -i -v files >/root/after diff /root/before /root/after | tee /root/new That cleans up the old files, buids the before list, emerged, builds the after (both ignoring the files directory,) and then outputs the diff to screen and file Anyone up to making this a neat little script? > On Friday 26 July 2002 18:44, Gregg wrote: >> I want to see a list of new packages that are available after an >> rsync. Not updates to packages that were already there, but new >> directories in the portage tree. > > Do a "find /usr/portage/ -type d > before" before the emerge rsync and > the same after rsyncing but into file "after". The do a "diff before > after". After doing this once you can just move the after file to > before everytime so you don't have to do a find before the next rsync > but just use the last after-file. You could tell it to not print the > files dir so you will only get the new packages directory and not the > files dir which holds the digests and patches. > > just my 2(euro)cent > > Alex > > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety." > Benjamin Franklin > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev