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

Bug 435954

Summary: Portage: please lift the 'package name must not end with hyphen-version' requirement
Product: Portage Development Reporter: Michał Górny <mgorny>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 174536    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-09-22 22:17:48 UTC
Please lift the unnecessary strictness in accepted versions since portage can handle package names ending with a thingie looking-like-a-version fine. This will allow us to lift the rule in the future.

Citing the robustness principle[1]:

  Be conservative in what you send, liberal in what you accept

Thus, I believe portage should not limit accepted names to the letter of the PMS; instead, repoman should warn when committing names not conforming to it.

[1]:http://en.wikipedia.org/wiki/Robustness_principle