Bug 844233 - RFE: Build and Unzip a Content Specification
Summary: RFE: Build and Unzip a Content Specification
Keywords:
Status: NEW
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-30 04:52 UTC by Lee Newson
Modified: 2023-02-21 23:20 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Lee Newson 2012-07-30 04:52:35 UTC
Currently there isn't a way to only build a content specification and then unzip it into a directory from the csprocessor directly. At the moment you would either have to run "csprocessor assemble" or "csprocessor build" and then an unzip command.

Comment 1 Lee Newson 2013-02-19 01:18:29 UTC
Alternative:

Perhaps have build not create the zip at all and just create the directory structure with files and then have a "--zip" option (or similar) to produce a ZIP output instead.

This alternative is probably better as most users will want just the inner content and not care about sending the ZIP. However adding the "--zip" option will still allow you to create a build to send if required.

Comment 2 Joshua Wulf 2013-04-23 03:53:06 UTC
Does csprocessor assemble --no-build do this?

Comment 3 Lee Newson 2013-04-23 04:07:04 UTC
No, that will run publican as well, assuming the ZIP exists. If the ZIP doesn't exist than you'd just get an error.

FWIW, "--no-build" will not run "csprocessor build", so it's use case is when you have received the ZIP and then want to assemble/preview it yourself.


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