public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Dolbec <dolsen@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] Re: [RFC] New file layout for PKGDIR and binhosts
Date: Tue, 6 Jan 2015 21:32:19 -0800	[thread overview]
Message-ID: <20150106213219.0a981d81.dolsen@gentoo.org> (raw)
In-Reply-To: <pan$b1419$e1e399a$2a866890$b1ebacbb@cox.net>

On Thu, 25 Dec 2014 10:03:05 +0000 (UTC)
Duncan <1i5t5.duncan@cox.net> wrote:

> Zac Medico posted on Wed, 24 Dec 2014 00:13:57 -0800 as excerpted:
> 
> >> If there were some way to
> >> get all the info for the binpkgs into one file (so it could be run
> >> on cron or something), this could mean that I'd only have to do
> >> one file request for all that metadata and would be much quicker
> >> than inspecting all those files.
> > 
> > That's what $PKGDIR/Packages is.
> 
> This is a good excuse to ask a question that has bothered me for some 
> time, plus make a request for the new eclean-pkg replacement...
> 
> Normally I like to keep several old binpkgs around for
> troubleshooting reference or quick-install, but the combined set of
> kde packages, for instance, can get pretty big, and with monthly
> iterations, they build up pretty fast.
> 
> But eclean-pkg doesn't have an easy way to say clean up /just/
> kde-base/ *, leaving the currently installed version and one previous
> version for reference, cleaning out all others.  (Sure I could
> put /everything/ else on the exclude list, but what's really needed
> is an include list, plus a "keep N more" option.)
> 
> So I often end up cleaning packages like that out manually by simply 
> deleting them.  My question is thus, does the remaining
> index/db/cache entry get cleaned properly (when?) or am I leaving
> uncleanable garbage behind when I do this?
> 
> Which of course translates into a couple of feature requests for the
> new eclean-pkg:  
> 
> 1) Make it possible to clean only selected pkgs or categories.
> 
> 2) Have an option to clean up and/or regenerate the cache/index/db/
> whatever files, re-syncing them with what's actually there.
> 
> 
...

> But of course that does make having an automated cleaner that can
> keep just the last N package versions around while deleting the
> others, that much more important.
> 

Please file a feature request bug for gentoolkit/eclean.

If I can ever get caught up with other things or we get a gsoc student
that needs some extra work...

Also with eclean and emaint rewritten (by me) so that eclean could use
emaint modules directly.  I have thought a few times we might migrate
eclean from gentoolkit to emaint module(s)  They can even be installed
separately from portage via ebuild.  The emaint system is fully modular
with a plug-in system.

-- 
Brian Dolbec <dolsen>



  parent reply	other threads:[~2015-01-07  5:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-24  1:51 [gentoo-portage-dev] [RFC] New file layout for PKGDIR and binhosts Zac Medico
2014-12-24  5:16 ` Matthew Thode
2014-12-24  8:13   ` Zac Medico
2014-12-24 12:01     ` vivo75
2014-12-24 16:07       ` Zac Medico
2014-12-24 18:36         ` vivo75
2014-12-24 19:17           ` Zac Medico
2014-12-25 10:03     ` [gentoo-portage-dev] " Duncan
2014-12-25 11:04       ` Zac Medico
2014-12-26  5:20         ` Duncan
2015-01-07  5:32       ` Brian Dolbec [this message]
2014-12-27 14:25 ` [gentoo-portage-dev] " Rick "Zero_Chaos" Farina
2014-12-29  3:53   ` Zac Medico

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=20150106213219.0a981d81.dolsen@gentoo.org \
    --to=dolsen@gentoo.org \
    --cc=gentoo-portage-dev@lists.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