Bug 546178

Summary: RFE: export to html via command line
Product: [Fedora] Fedora Reporter: Joshua Wulf <jwulf>
Component: plannerAssignee: Caolan McNamara <caolanm>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: caolanm, dlesage, lcarlon, middleware-docs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-10 12:38:06 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 Joshua Wulf 2009-12-10 10:12:20 UTC
Description of problem:
It would be useful to script the export of a planner file to html, something like 

planner --export-html /path/to/output.html /path/to/projectX.planner

We have a cron job that checks all our schedules out of svn and copies them to a web server (http://downtown.englab.bne.redhat.com/schedules/). Currently we have to manually open the planner, export to html as index.html, then check the index.html back into svn.

If we could script it, then the script could check the planner files out, dump the html and copy it to the webserver.

Comment 1 Caolan McNamara 2009-12-10 12:38:06 UTC
I wrote a trivial planner2html to convert via libplanner .planner files to .html files. Package review for this is now at bug 546212. In the interim you can grab the .src.rpm there and build it locally and that should do the trick as a solution. libplanner does all the work, the the html should be exactly the same as with file->export.

*** This bug has been marked as a duplicate of bug 546212 ***