Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605276 - Store uncompressed docs in binary packages
Summary: Store uncompressed docs in binary packages
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Binary packages support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-10 15:19 UTC by Michał Górny
Modified: 2017-01-10 15:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-01-10 15:19:31 UTC
Since binary packages are [strongly] compressed anyway, I don't think there's a point in having docs compressed before creating the package. In fact, keeping them uncompressed gives us two advantages:

1. improves binpkg compression ratio and speed,

2. makes binpkgs respect PORTAGE_COMPRESS of target host.

Therefore, I think it'd be beneficial to move compression after binary package is created by FEATURES=buildpkg, and enable it for binpkg install.

Backwards compatibility: our fancy functions detect already-compressed files, so handling old binpkgs should not be a problem. New binpackages on old systems will just lose doc compression which is a minor issue.

One thing I'm wondering about are prep* calls that some ebuilds are still doing.