Red Hat Bugzilla – Full Text Bug Listing
|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>|
|Version:||1.6||CC:||jfearn, mmcallis, nb, publican-list, r.landmann|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2010-06-21 23:46:25 EDT||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description Deon Ballard 2010-06-09 11:17:28 EDT
It would be nice if <productnumber> allowed alphabet characters so that I can use "beta" and "alpha" in the title of the book.
Comment 1 Ruediger Landmann 2010-06-09 16:40:20 EDT
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. "
Comment 2 Deon Ballard 2010-06-16 16:33:16 EDT
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.
Comment 3 Jeff Fearn 2010-06-16 20:59:23 EDT
(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.