Bug 677869
Summary: | publican package does not work with conditional book_info.xml | ||
---|---|---|---|
Product: | [Community] Publican | Reporter: | Laura Bailey <lbailey> |
Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
Status: | CLOSED NOTABUG | QA Contact: | Ruediger Landmann <rlandman+disabled> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | future | CC: | mmcallis, publican-list |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-04-08 03:43:07 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
Laura Bailey
2011-02-16 06:59:13 UTC
On closer inspection, publican build doesn't work without a Book_Info.xml either, even if it's not required. Publican only uses <type>_Info.xml to source variables from. If you want to do non-standard things, then you have to use the configuration files for that. If you set product, version, release, etc, in the cfg files then publican should not use <type>_Info.xml at all, so you can have any structure you like for your bookinfo. Awesome, thanks Jeff. :) Setting the product in the cfg file solves the initial problem, but I have discovered a related issue: the PDF name and brew package name is still based on the bookname.xml filename, instead of the title given in the bookinfo element. Defining the bookname in the cfg file makes Publican search for a file of that name. This means that I need a separate bookname.xml for each conditional book, which somewhat defeats the purpose of having a single source. Any ideas? I tell a lie: packagename and PDF name are based on the first <title> element discovered in Book_Info.xml, regardless of conditions. Can you include a link to the book in question? I can't really work out what the problem is from the description. Sorry, Jeff, I think the bug was that I was DOINGITWRONG. Closing NOTABUG. |