Bug 795604

Summary: Replace "SpecRevision" attribute with "Checksum"
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: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-21 02:25:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joshua Wulf 2012-02-21 02:25:18 UTC
I've changed the way the CSP checks to make sure when you push an edited spec, you are pushing against the latest copy. As such I've removed the "SpecRevision" attribute and added a "CHECKSUM" attribute. The "CHECKSUM" attribute is just an MD5 hash string.

Note: The processor will still process the SpecRevision attribute so there's no need to change any of your stored Content Specs, however from now on it will create the Post Content Specs with the CHECKSUM attribute instead.
eg.

Previously:

ID=6190
SpecRevision=32910
Title=Test Spec
...

Now:

CHECKSUM=3400aee9ab8d08b2a4a5363037097587
ID=6190
Title=Test Spec
...

I've also updated the client (0.17.0) to have a command to get the checksum for content specs. The syntax is "csprocessor checksum -c <ID>".

Comment 1 Joshua Wulf 2012-02-21 02:25:59 UTC
That was Lee ^^^