Status
I've written a first attempt which seems to operate as intended, but so far has only been tested in a dummy mode where it only says what it will do without actually creating or modifying any tags in CVS.
Functionality
To start, will just handle the most common activities:
- Make a new release tag which is identical to current HEAD build
- Make a new HEAD by changing some package tags and/or adding new packages as compared to current HEAD
At some point would like to add ability to make a new tag along a branch by updating or adding packages relative to an existing tag on that branch.
Call Interface
Here is the help output:
$ python tagCtn.py -h
Usage: tagCtn.py [options] container
Options:
-h, --help show this help message and exit
-p PARENT, --parent=PARENT
HEAD or (branched) release tag to act as base
-n NEWTAG, --new=NEWTAG
HEAD or specific tag to create
-u UPGRADEFILE, --upgrade_list=UPGRADEFILE
File listing packages to upgrade, tags [default:
upgrade.txt]
-r FORREAL, --for_real=FORREAL
Really do it or just print what we *would* do
[default: False]
-v VERBOSE, --verbose=VERBOSE
Show all cvs command output if true [default: False]