doctemplate_make should build default type when no type specified

Bug #922688 reported by Kyle Nitzsche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Doc Template For LP Projects
Fix Released
Medium
Kyle Nitzsche

Bug Description

Currently (2.2), you need to specify the type of project as an argument to doctemplate_make, for example:
doctemplate_make html
doctemplate_make pdf
doctemplate_make xml

etc.

Some projects support only a single final output type (for example jumpstart or mallard).

And some support multiple output types but only one is of interest.

Thus, there should be a means to set the default build type on the project level.

Related branches

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

An approach would be to allow a new field in the project's environment file that simply sets the desired default:
default_build=<something>

If it exists, doctemplate_make uses it when no argument is specified.

Changed in doctemplate:
importance: Undecided → Medium
assignee: nobody → Kyle Nitzsche (knitzsche)
status: New → Confirmed
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

fix committed in trunk branch revision 310

Changed in doctemplate:
status: Confirmed → Fix Committed
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

I should note that to set the default build type for a project add this to the environment file:
export DEFAULT_BUILD=<something>

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

fix released with 2.3

Changed in doctemplate:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.