Bug 748201 - Ability to override Content Spec values from skynet client
Summary: Ability to override Content Spec values from skynet client
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-22 23:51 UTC by Joshua Wulf
Modified: 2014-10-19 22:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-04 10:15:56 UTC


Attachments (Terms of Use)

Description Joshua Wulf 2011-10-22 23:51:31 UTC
The initial application is to override the Content Spec pubsnumber value, or to provide one when one was not supplied.

So,

skynet build 1 --override pubsnumber=2

Something like that.

Rational: every time that you want to stage a new version of a book it requires a unique pubsnumber. At the moment the way to do that is:

1. Build the book
2. Edit the Book_Info.xml file, update pubsnumber
3. Stage book

Once we implement https://bugzilla.redhat.com/show_bug.cgi?id=748199 it could be:

1. Pull the --post content spec
2. Edit the pubsnumber value
3. Push the updated content spec
4. Build
5. Stage

With the ability to override the pubsnumber, the process will be:

0. Check most recent pubsnumber on stage
1. Build with override pubsnumber++
2. Stage

Comment 1 Lee Newson 2011-10-24 05:55:58 UTC
Done. We also allowed for the possibility of adding more parameters in the future.


Note You need to log in before you can comment on or make changes to this bug.