Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 300075

Summary: app-portage/gentoolkit: eclean-pkg should call 'emaint --fix binhost' automatically, when needed
Product: Portage Development Reporter: Jeremy Olexa (darkside) (RETIRED) <darkside>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: enhancement CC: dolsen
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237964    

Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-07 19:53:04 UTC
Hello,
I think that a nice enhancement to eclean-pkg would be to automatically call emaint --fix binhost. 

eclean-pkg removes tbz2's and leaves the Packages file in a state that it lies to its consumers. Current condition is that the user *must* run emaint --fix binhost after every invocation of eclean-pkg. This is easily scriptable but then you are running emaint even when no binpkgs were removed.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2010-01-07 20:29:16 UTC
Jeremy, if you have a patch go ahead and commit it into the gentoolkit repo.  If not, I'll take a look as soon as I have a chance. (All devs have permission to play with gentoolkit)
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2010-01-19 20:13:21 UTC
I have started working on a recoding of eclean similar to what I did in the equery modules.  My intent is to split the code so as all output printing is done separately from the base function code.  This will make it possible to use it as library code that can be used in other apps.  I will work on integrating this functionality in as well.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2010-04-06 17:10:25 UTC
this has been done and is included in the -0.3.0_rc10 release