Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578338 - Add a tool that would remove local packages that are also present on binhost
Summary: Add a tool that would remove local packages that are also present on binhost
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 377365
  Show dependency tree
 
Reported: 2016-03-27 00:27 UTC by Fedja Beader
Modified: 2018-04-28 11:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Example solution in Bash (binhost-package-cleaner,4.11 KB, application/x-shellscript)
2016-03-27 00:27 UTC, Fedja Beader
Details
for FEATURES=binpkg-multi-instance (binhost-package-cleaner.new,9.01 KB, application/x-shellscript)
2016-07-21 14:13 UTC, Fedja Beader
Details

Note You need to log in before you can comment on or make changes to this bug.
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.