From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10238 invoked by uid 1002); 2 Jan 2003 19:01:25 -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 6308 invoked from network); 2 Jan 2003 19:01:25 -0000 Date: Thu, 2 Jan 2003 13:59:28 -0500 From: Michael Cummings To: Peter Ruskin Cc: gentoo-dev@gentoo.org Message-ID: <20030102185928.GG24410@gnosis.datanode.net> Reply-To: mcummings@datanode.net Mail-Followup-To: Peter Ruskin , gentoo-dev@gentoo.org References: <20030102102852.GA9723@wolverine.hh.iq-computing.de> <200301021929.56984.styx@gentoo.org> <200301021851.52902.aoyu93@dsl.pipex.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301021851.52902.aoyu93@dsl.pipex.com> User-Agent: Mutt/1.4i Subject: Re: [gentoo-dev] Re: [gentoo-core] Gentoo Stable site update X-Archives-Salt: 3aeec5f3-60b7-4cb6-b7b2-1e195fe7b373 X-Archives-Hash: 60edb478469e158e060034450ca54c32 perhaps a silly question - but why not just grep "~x86" in /var/db/pkg/*/*/*.ebuild (ok, do a find .ebuild | xargs grep, you know what I mean). On Thu, Jan 02, 2003 at 06:51:52PM +0000, Peter Ruskin wrote: > 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 -- gentoo-dev@gentoo.org mailing list