From c5339cc5d90792e7b1d9c9af81aa7cd796005c0c Mon Sep 17 00:00:00 2001 From: Baris Metin Date: Wed, 11 May 2011 18:12:23 -0400 Subject: [PATCH] again... fix for subdirs... --- module-tools.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/module-tools.py b/module-tools.py index e332b305..fc7e524c 100755 --- a/module-tools.py +++ b/module-tools.py @@ -22,7 +22,20 @@ RENAMED_SVN_MODULES = { "CoDemux": "codemux", "NodeManager": "nodemanager", "NodeUpdate": "nodeupdate", - "Monitor": "monitor" + "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): @@ -445,9 +458,9 @@ class Module: cls.prompt_config_option(key, message, default) # for parsing module spec name:branch - matcher_branch_spec=re.compile("\A(?P[\w\.-]+):(?P[\w\.-]+)\Z") + matcher_branch_spec=re.compile("\A(?P[\w\.-\/]+):(?P[\w\.-]+)\Z") # special form for tagged module - for Build - matcher_tag_spec=re.compile("\A(?P[\w\.-]+)@(?P[\w\.-]+)\Z") + matcher_tag_spec=re.compile("\A(?P[\w\.-\/]+)@(?P[\w\.-]+)\Z") # parsing specfiles matcher_rpm_define=re.compile("%(define|global)\s+(\S+)\s+(\S*)\s*") -- 2.47.0