Bug 837648

Summary: Automation Improvements
Product: Red Hat Enterprise Virtualization Manager Reporter: Stephen Gordon <sgordon>
Component: rhevm-docAssignee: Stephen Gordon <sgordon>
Status: CLOSED DEFERRED QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, 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: 2012-11-01 14:03:05 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:

Description Stephen Gordon 2012-07-04 15:01:05 UTC
Description of problem:

Some automation could help us ensure the integrity of this package. In particular:

- QA assist script to:
  - Check existance of DocumentationPath.csv in expected location.
  - Check existance of PDF files in expected locations and with expected names.
  - Check existance of index.html files in expected locations and with expected names.
  - Check existance of files specified in DocumentationPath.csv.
  - Language should be an optional command line argument, so we can perform the same checks for the translated versions of the package.
- Build script to:
  - Automatically tag latest versions of all RHEV 3.1 guides in docs-rhel-6 or docs-rhel-6-candidate based on command line argument.

Comment 1 Stephen Gordon 2012-07-04 16:10:42 UTC
As an addition a script to automate the create of a package for a new language would probably be helpful too. I have documented the way to do it in doc space but it's pretty convoluted. Something like

./rhevm-doc.sh new-lang <langcode> <version>
./rhevm-doc.sh update-lang <langcode> <version>

The first one should generate the SRPM that needs to be sent to rel-eng to be imported into dist-git and the second one should clone it, tag the latest packages, and kick off a build.

Comment 2 Stephen Gordon 2012-10-24 23:43:35 UTC
Flagging for rhevm-future?, there is still a lot we want/need to do in this area.