"NodeUpdate": "nodeupdate",
"Monitor": "monitor",
- #we keep planetlab modules in a sub-directory
- "planetlab/PLEWWW": "planetlab/plewww",
- "planetlab/PLCAPI": "planetlab/plcapi",
- "planetlab/BootManager": "planetlab/bootmanager",
- "planetlab/BootCD": "planetlab/bootcd",
- "planetlab/VserverReference": "planetlab/vserver-reference",
- "planetlab/BootstrapFS": "planetlab/bootstrapfs",
- "planetlab/MyPLC": "planetlab/myplc",
- "planetlab/CoDemux": "planetlab/codemux",
- "planetlab/NodeManager": "planetlab/nodemanager",
- "planetlab/NodeUpdate": "planetlab/nodeupdate"
-
}
def svn_to_git_name(module):
while not cls.config[key]:
cls.prompt_config_option(key, message, default)
- # for parsing module spec name:branch
- matcher_branch_spec=re.compile("\A(?P<name>[\w\.-\/]+):(?P<branch>[\w\.-]+)\Z")
- # special form for tagged module - for Build
- matcher_tag_spec=re.compile("\A(?P<name>[\w\.-\/]+)@(?P<tagname>[\w\.-]+)\Z")
+ # for parsing module spec name:branch
+ matcher_branch_spec=re.compile("\A(?P<name>[\w\.\-\/]+):(?P<branch>[\w\.\-]+)\Z")
+ # special form for tagged module - for Build
+ matcher_tag_spec=re.compile("\A(?P<name>[\w\.\-\/]+)@(?P<tagname>[\w\.\-]+)\Z")
# parsing specfiles
matcher_rpm_define=re.compile("%(define|global)\s+(\S+)\s+(\S*)\s*")
if not build.is_clean():
build.revert()
- tagsfiles=glob(build.path+"/*-tags.mk")
+ tagsfiles=glob(build.path+"/*-tags*.mk")
tagsdict=dict( [ (x,'todo') for x in tagsfiles ] )
default_answer = 'y'
tagsfiles.sort()
'version' : "check latest specfile and print out details",
'diff' : "show difference between module (trunk or branch) and latest tag",
'tag' : """increment taglevel in specfile, insert changelog in specfile,
- create new tag and and monitor its adoption in build/*-tags.mk""",
+ create new tag and and monitor its adoption in build/*-tags*.mk""",
'branch' : """create a branch for this module, from the latest tag on the trunk,
and change trunk's version number to reflect the new branch name;
you can specify the new branch name by using module:branch""",