Summary: | Comparisons vs. missing revisions are not clearly specified. Implementations differ. | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Björn Michaelsen <bjoern.michaelsen> |
Component: | PMS/EAPI | Assignee: | PMS/EAPI <pms> |
Status: | RESOLVED WORKSFORME | ||
Severity: | minor | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Björn Michaelsen
2008-01-28 02:11:45 UTC
"This may optionally be followed by the suffix -r followed immediately by an integer (the 'revision number'). If this suffix is not present, it is assumed to be -r0." It's entirely clearly specified. "If this suffix is not present, it is assumed to be \t{-r0}." is in \section{Version Specifications}. Please remove it there and add after "If at this point the two versions are still equal, the revision number is compared. The revision number has an optional integer suffix as per the previous part." in \section{Version Comparison} the following: "If the revision number is not specified it is 0. The versions \t{1.0-r0} and \t{1.0} are equal." This about version comparison, not how one can specify versions. It would also be more consistent with the way it is described for version components. Although \section{Version Specifications} might say that version specifications might end with -r0, but this is not encouraged. No. Implicit -r0 has meaning everywhere, not just for comparisons. Think PVR and the like. I am not questioning that it is implied somewhere in the spec. Im just asking you to make it explicit. Its something thats easily overlooked when you implement it. I overlooked that and only found it via unittests. Pkgcore-devs overlooked it. So perhaps it might be helpful to add it to the spec, as it wont grow out of proportion by one helpful sentence. Anyway, Im closing this bug as WORKSFORME because _I_ know how its intended now. |