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

Bug 578338

Summary: Add a tool that would remove local packages that are also present on binhost
Product: Portage Development Reporter: Fedja Beader <fedja>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: enhancement CC: fedja
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 377365    
Attachments: Example solution in Bash
for FEATURES=binpkg-multi-instance

Description Fedja Beader 2016-03-27 00:27:05 UTC
As discussed in freenode/#gentoo-portage

...
<@dol-sen> hmm, could be an eclean-pkg enhancement
...

Reproducible: Always
Comment 1 Fedja Beader 2016-03-27 00:27:57 UTC
Created attachment 429080 [details]
Example solution in Bash
Comment 2 Fedja Beader 2016-07-21 14:13:02 UTC
Created attachment 441322 [details]
for FEATURES=binpkg-multi-instance

At the end there is some (disabled) broken code for removing packages that have the same USE/IUSE flags, but different checksums (e.g. the package was first built downstream and then later on the binpkg builder).
Comment 3 Zac Medico gentoo-dev 2016-07-21 15:52:02 UTC
This would be much easier to do, and maintain, using python/portage APIs.

Note that eclean is using portage APIs more now, since the patches from bug 586658.