public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alec Berryman <alec@lorax.wox.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Proposal: re-organizing our source mirrors into two categories: full and partial
Date: 26 Jul 2003 08:42:31 -0500	[thread overview]
Message-ID: <1059226950.1509.2.camel@localhost> (raw)
In-Reply-To: <200307261340.32767.stuart@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On Sat, 2003-07-26 at 07:40, Stuart Herbert wrote:
> Just a thought, as I'm still new around here, but is there any automatic 
> auditing to make sure that every single file in /distfiles is still required 
> by at least 1 ebuild?

This bash one-liner was posted to the forums; I can't find it now, so
apologies to the original author:

bash <(comm -23 <(find /usr/portage/distfiles/ -maxdepth 1 -type f -printf %f\\n | sort) <(find /usr/portage/ /usr/local/portage/ -path '*/*/files/digest-*' -print0 | xargs -0 awk '{print $3}' | sort -u) | sed -e 's|^|rm -i /usr/portage/distfiles/|')

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2003-07-26 13:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-25 14:11 [gentoo-dev] Proposal: re-organizing our source mirrors into two categories: full and partial Kurt Lieber
2003-07-25 14:33 ` bdharring
2003-07-26 12:37   ` Kurt Lieber
2003-07-26 12:40     ` Stuart Herbert
2003-07-26 13:42       ` Alec Berryman [this message]
2003-07-27  1:25         ` Chris Gianelloni
2003-07-27  1:31         ` Chris Gianelloni
2003-07-26 18:53       ` Jon Portnoy
2003-07-27 10:05     ` bdharring
2003-07-27 11:41       ` Kurt Lieber
2003-07-26 20:38   ` paul

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=1059226950.1509.2.camel@localhost \
    --to=alec@lorax.wox.org \
    --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