public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Ruskin <aoyu93@dsl.pipex.com>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Re: [gentoo-core] Gentoo Stable site update
Date: Thu, 2 Jan 2003 18:51:52 +0000	[thread overview]
Message-ID: <200301021851.52902.aoyu93@dsl.pipex.com> (raw)
In-Reply-To: <200301021929.56984.styx@gentoo.org>

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 <aoyu93@dsl.pipex.com>

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


  reply	other threads:[~2003-01-02 18:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-02 10:28 [gentoo-dev] Gentoo Stable site update Maik Schreiber
2003-01-02 18:29 ` [gentoo-dev] Re: [gentoo-core] " Joachim Blaabjerg
2003-01-02 18:51   ` Peter Ruskin [this message]
2003-01-02 18:59     ` Michael Cummings
2003-01-02 19:42       ` Toby Dickenson
2003-01-02 19:13   ` Jason Calabrese
2003-01-02 22:37   ` Maik Schreiber
     [not found] <20030102T133135Z_B95E00150000@gentoo.org>
2003-01-02 22:37 ` Maik Schreiber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200301021851.52902.aoyu93@dsl.pipex.com \
    --to=aoyu93@dsl.pipex.com \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox