Bug 830065

Summary: Cannot 'build --publish' without including the productnumber
Product: [Community] Publican Reporter: Raymond Mancy <rmancy>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED INSUFFICIENT_DATA QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.0CC: aigao, dcallagh, ebaak, mmcallis, rlandman, rmancy
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: 2013-09-17 08:05:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Raymond Mancy 2012-06-08 06:49:07 UTC
Description of problem:

It would be nice if the '--publish' option to build did not have to result in an output path that contained the productnumber. 


Version-Release number of selected component (if applicable):

2.1

How reproducible:

Always

Steps to Reproduce:
1.publican build --publish --langs en-US --formats html
2.
3.
  
Actual results:
/home/user/dev/blah/pub_doc/The_Guide/publish/en-US/MyProduct/2/html/MyTitle

Expected results:

To have an option where <productnumber> is not necessarily included.

Additional info:

It seems that somewhere along the line someone decided it would be useful to be able to build the SRPM without the version number (although perhaps they didn't think it was a good idea as they called it --short_sighted).

Something similar in this situation would be nice. Perhaps --needs_glasses ?

Comment 1 Ruediger Landmann 2013-04-17 01:41:14 UTC
Moving upstream

Comment 2 Jeff Fearn 🐞 2013-07-18 08:12:24 UTC
--publish is specifically for creating the layout used on the publican WebSites, is there any reason you can't just use tmp_dir to change where it builds and then grab the content from $tmp_dir/$lang/$format?