Bug 602312
Summary: | RFE: Allows alphabet characters in <productnumber> | ||
---|---|---|---|
Product: | [Community] Publican | Reporter: | Deon Ballard <dlackey> |
Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.6 | CC: | jfearn, mmcallis, nb, publican-list, rlandman |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-06-22 03:46:25 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Deon Ballard
2010-06-09 15:17:28 UTC
It already does. Just make sure that you set a "version:" in the publican.cfg file that meets RPM package name requirements for a version (ie, only digits and a dot). From the Publican User Guide, 3.1.2. Book_Info.xml, describing the <productnumber> tag: "Override this tag with the version variable in the publican.cfg file if the product version is anything other than a number. " Actually, version: in publican.cfg does exactly the same as <productnumber>. It allows numbers and a period. The RFE is to allow alphabet characters in some way. For example, I would like to be able to have the top heading in the index.html be... JBoss Operations Network 2.4 Beta Right now, that is not possible because the 2.4 part comes from either version: or <productnumber>, neither of which allow an additional "Beta" after the number. So, the RFE is to allow alphabet characters OR to add a new optional field that would allow someone to append Alpha or Beta to the product name. (In reply to comment #2) > Actually, version: in publican.cfg does exactly the same as <productnumber>. It > allows numbers and a period. > > The RFE is to allow alphabet characters in some way. For example, I would like > to be able to have the top heading in the index.html be... > > JBoss Operations Network 2.4 Beta > > Right now, that is not possible because the 2.4 part comes from either version: > or <productnumber>, neither of which allow an additional "Beta" after the > number. > > So, the RFE is to allow alphabet characters OR to add a new optional field that > would allow someone to append Alpha or Beta to the product name. If you set product/version/release in the publican.cfg file, then you can put anything you like in the corresponding fields in the XML as they will no longer be validated for packaging use. The settings in publican.cfg will be used for packaging and the content in the XML will be used for display. e.g. If you set "version: 2.4" in publican.cfg then you can put "<productnumber>2.4 GAMMA</productnumber>" in the XML, " 2.4 GAMMA" will appear in the output wherever you'd expect to see the product number displayed, however the package will be build using "2.4" as the version. |