Bug 767006

Summary: skynet client: make --post the default for the pull command
Product: [Community] PressGang CCMS Reporter: Joshua Wulf <jwulf>
Component: CSProcessorAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: jwulf, lcarlon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.16.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-22 02:52:18 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 2011-12-12 23:59:38 UTC
80% of pulls are going to be a request for the post-processed spec, so let's make that the default when no mode is specified for the pull request.

Comment 1 Lee Newson 2012-01-05 23:28:47 UTC
Added into client version 0.16.0. Previously you would have to specify whether you were pulling the pre content spec or post content spec. Now when the --contentspec (-c) option is used it will default to pull the post content spec. i.e:

skynet pull -c 1
Skynet client version: 0.16.0
Loading configuration from /home/lnewson/.config/skynet.ini
Web Service at http://localhost:8080/ version: 0.20.0

INFO:  No data was found for the specified ID!

(Note: this example was using an empty database)

Comment 2 Joshua Wulf 2012-02-22 02:52:18 UTC
[jwulf@radhe temp]$ csprocessor pull -c 6192
CSProcessor client version: 0.17.0
Loading configuration from /home/jwulf/.config/csprocessor.ini
Web Service at http://csprocessor.cloud.lab.eng.bne.redhat.com:8080/ version: 0.21.4

CHECKSUM=389f2bdf47a47d7ee0309e2f593e8c12
ID=6192
Title = Content Spec Processor Guide