From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20184 invoked by uid 1002); 2 Jan 2003 18:53:42 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 7213 invoked from network); 2 Jan 2003 18:53:42 -0000 From: Peter Ruskin To: gentoo-dev@gentoo.org Date: Thu, 2 Jan 2003 18:51:52 +0000 User-Agent: KMail/1.5 References: <20030102102852.GA9723@wolverine.hh.iq-computing.de> <200301021929.56984.styx@gentoo.org> In-Reply-To: <200301021929.56984.styx@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200301021851.52902.aoyu93@dsl.pipex.com> Subject: Re: [gentoo-dev] Re: [gentoo-core] Gentoo Stable site update X-Archives-Salt: 6b170c13-55ea-4d01-a649-3ada5df6e618 X-Archives-Hash: d9adda99a57f2ba88fdc54b49ef05736 On Thursday 02 Jan 2003 18:29, Joachim Blaabjerg wrote: > On Thursday 02 January 2003 11:28, Maik Schreiber wrote: > > Hi, a few updates to the Gentoo Stable site > > [...] > > Hm, just a quick question. > > Are there any tools available that scans the system for packages that > are merged and marked unstable (~), and submits those as "merged > successfully on my system"? I know I have a lot of unstable packages on > my system, but I haven't got the time to through all of them and submit > them to the Gentoo-stable site. > ---------------------------------------------------------------------- #!/bin/sh # # /usr/local/bin/list-tested # # Lists ebuilds installed with 'ACCEPT_KEYWORDS="~x86"' # # Peter Ruskin LOGFILE=/home/peter/Gentoo/logs/list-tested-$(date +%Y-%m-%d-%H%M).log # Sort the world file WORLD=/var/cache/edb/world SORTEDWORLD=$(mktemp $0.XXXXXX) sort -u $WORLD > $SORTEDWORLD # Make ~x86 list from cache in same format as world file TESTING=$(mktemp $0.XXXXXX) grep -r '~x86' /var/cache/edb/dep/* | cut -d/ -f6-7 | cut -d: -f1 | cut -d. -f1 | cut -d- -f1-3 | sed s/-[0-9].*//g > $TESTING SORTEDTESTING=$(mktemp $0.XXXXXX) sort -u $TESTING > $SORTEDTESTING # Report matches and add versions RESULT1=$(mktemp $0.XXXXXX) RESULT2=$(mktemp $0.XXXXXX) comm -12 $SORTEDWORLD $SORTEDTESTING > $RESULT1 cat $RESULT1 | cut -d/ -f2 > $RESULT2 touch $LOGFILE echo "These ebuilds were installed using 'ACCEPT_KEYWORDS=\"~x86\"':" echo "These ebuilds were installed using 'ACCEPT_KEYWORDS=\"~x86\"':" > $LOGFILE cat $RESULT2 | xargs epm -qG | tee -a $LOGFILE # Clean up rm $SORTEDWORLD $TESTING $SORTEDTESTING $RESULT1 $RESULT2 ---------------------------------------------------------------------- -- Gentoo Linux release 1.4rc1 Unstable. KDE: 3.1.0 (RC5) Qt: 3.1.0 AMD Athlon(tm) XP 1900+ 512MB. Kernel: 2.4.20-win4lin-r1-pnr. GCC 3.2.1 Linux user #275590 (http://counter.li.org/). up 23:50. -- gentoo-dev@gentoo.org mailing list