Bug 838416

Summary: RFE: topic revision and ID as attributes of section
Product: [Community] PressGang CCMS Reporter: Joshua Wulf <jwulf>
Component: CSProcessorAssignee: Lee Newson <lnewson>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: low    
Version: 1.xCC: jwulf, lcarlon, mcaspers, misty, thildred
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: 2013-05-29 02:35:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 838168, 838781, 839827    

Description Joshua Wulf 2012-07-09 04:46:32 UTC
I need the topic revision available in the html. 

Can we have the csprocessor write it into the section with some Docbook attribute so that it shows up in the built html please?

Comment 1 Joshua Wulf 2012-07-12 06:16:06 UTC
I'd like the topic ID as well. 

Perhaps they can be injected as part of the section role attribute, so:

role=role+" "+"skynet-topic-id-"+topic.id.toString()+" "+"skynet-topic-revision-"+topic.revision.toString();

Then they show up as class attributes in html.

Comment 2 Lee Newson 2012-07-13 03:41:48 UTC
This can be pulled from the bug reporting links atm (assuming they are turned on).

Comment 3 Joshua Wulf 2012-07-13 11:28:20 UTC
Yes, it's when they are not turned on that I want this information.

Comment 4 Tim Hildred 2012-10-08 03:53:44 UTC
This would also be useful to figure out when you have frozen topics that are older out of date in a topic map, so you can figure out when to repush to Zanata.

Comment 5 Joshua Wulf 2012-10-23 04:09:10 UTC
Can we make this expose whether or not the topic was built from a specific topic revision?

At the moment the topic revision is exposed in the bug reporting link, but for all topics. 

Perhaps a flag can be added to the link if the revision number was specified in the content spec.

Comment 6 Joshua Wulf 2012-10-23 04:13:43 UTC
I forked Comment 5 to a new request: 869107

Comment 7 Misty Stanley-Jones 2013-05-29 02:35:52 UTC
This is actually done now.