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

Bug 433577

Summary: [Future EAPI] use unpacker.eclass instead of unpack
Product: Portage Development Reporter: Christoph Junghans (RETIRED) <junghans>
Component: Conceptual/Abstract IdeasAssignee: PMS/EAPI <pms>
Status: RESOLVED CANTFIX    
Severity: enhancement CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=380391
https://bugs.gentoo.org/show_bug.cgi?id=384147
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 174380    

Description Christoph Junghans (RETIRED) gentoo-dev 2012-08-31 21:35:45 UTC
Unpacker eclass has been in the tree since 2012-02-01 (see bug #399019).
This eclass makes it easy to get consistent behaviour across different package managers (see bug #384147 for inconsistency example). It also allows to add support for new formats in a day (see bug #432214).

Suggestion: In some future EAPI unpack should be replaced by unpacker from unpacker.eclass.
Comment 1 Ciaran McCreesh 2012-08-31 21:50:41 UTC
How would this work? Package mangler code can't require eclasses.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-31 23:09:28 UTC
Bug #380391 is more realistic IMO, but people will never approve this.

Or just have a Gentoo policy to always inherit some kind of common eclass.
Comment 3 SpanKY gentoo-dev 2012-09-16 20:23:23 UTC
(In reply to comment #2)

or inherit it whenever you use .deb or a new format.  if you want to enforce the .deb part, you could make it into a repoman check.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-14 09:20:26 UTC
In the current form, this can't work. Since there's no new replies from OP, I'm closing it as CANTFIX.
Comment 5 Christoph Junghans (RETIRED) gentoo-dev 2013-03-14 13:55:38 UTC
@mgorny: OP ?
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-14 16:25:56 UTC
(In reply to comment #5)
> @mgorny: OP ?

Original Poster, so that would be you ;).
Comment 7 Christoph Junghans (RETIRED) gentoo-dev 2013-03-14 17:31:14 UTC
Due to comment #1 this is CANTFIX.