Bug 841053 - RFE: "pull revision" to write rXXX in file name
Summary: RFE: "pull revision" to write rXXX in file name
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: 2012-07-18 01:35 UTC by Joshua Wulf
Modified: 2014-10-19 23:01 UTC (History)
3 users (show)

Fixed In Version: 0.26.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-07 01:30:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Joshua Wulf 2012-07-18 01:35:19 UTC
At the moment:
[jwulf@radhe Messaging_Programming_Reference]$ csprocessor pull --pre -r 161816 -H http://skynet.usersys.redhat.com:8080/TopicIndex/
CSProcessor client version: 0.25.1
Loading configuration from /home/jwulf/.config/csprocessor.ini
Loading project configuration from csprocessor.cfg
Connecting to Skynet server: http://skynet.usersys.redhat.com:8080/TopicIndex/

Output saved to: Messaging_Programming_Reference-pre.contentspec


Desired behavior:

Output saved to: Messaging_Programming_Reference-pre.contentspec.r161816

or something similar, so that you can pull various revisions and diff them.

==============================
Generated Details:

Package: cspclient-0.25.1-1.noarch

OS: Fedora release 16 (Verne)

JAVA: java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)


CSProcessor client version: 0.25.1
Loading configuration from /home/jwulf/.config/csprocessor.ini
Loading project configuration from csprocessor.cfg
Connecting to Skynet server: http://skynet.usersys.redhat.com:8080/TopicIndex/

Content Specification ID: 8025
Content Specification Revision: 161816
Content Specification Title: Messaging Programming Reference

Starting to calculate the statistics...
Total Number of Topics: 233
Number of Topics with XML: 65
Percentage Complete: 27.90%

Comment 1 Lee Newson 2012-07-18 04:22:20 UTC
A work around until this is added is to use the --output or -o parameter and specify the file name you desire. eg:

csprocessor pull -o "Messaging_Programming_Reference-pre.contentspec.r161816"

Comment 2 Lee Newson 2012-07-19 03:52:49 UTC
Added in 0.26.1

The output when you use the revision number option is now:

<TITLE>-(pre|post)-r<REV_NUMBER>.contentspec

I opted away from adding the revision at the end as it changes the file extension and I'd prefer to keep it the same for all contentspecs.

Comment 3 Lee Newson 2013-06-07 01:30:18 UTC
Closing and setting as current release as no QA was performed by the original reporter. If there is still an issue with this bug still than please re-open it.


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