X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/git-migration.git/blobdiff_plain/fc13f26a890f926dbb66499fb19bb56ca174e2d7..1f29f49e0d6b7d52eb21c71547dc8ad68fa29c8d:/rules.mako diff --git a/rules.mako b/rules.mako index 80f5931..291d70c 100644 --- a/rules.mako +++ b/rules.mako @@ -4,11 +4,13 @@ packages = svn['packages'] trunks = svn['trunks'] scripts = svn['scripts'] + third = svn['third'] quashes = svn['quashes'] repos = ['packages/%s' % package for package in packages] repos += ['scripts/%s' % script for script in scripts] - repos += ['doc/xvm', 'scripts/osx-update'] + repos += ['doc/xvm', 'scripts/osx-update', 'scripts/install-invirt'] + repos += ['third/%s' % t for t in third] for package in packages: if 'merge' in packages[package]: @@ -64,7 +66,8 @@ end match match /package_tags/${package}/([^/~]+)/${package}/ repository ${get_repo(package)} - branch tags/${get_tag_prefix(package)}\1 + branch refs/tags/${get_tag_prefix(package)}\1 + annotated true max revision ${packages[package]['undouble'][0] - 1} end match @@ -90,9 +93,15 @@ match /trunk/packages/${package}/ % endif end match +match /package_branches/${package}/([^/~]+)/ + repository ${get_repo(package)} + branch ${get_tag_prefix(package)}\1 +end match + match /package_tags/${package}/([^/~]+)/ repository ${get_repo(package)} - branch tags/${get_tag_prefix(package)}\1 + branch refs/tags/${get_tag_prefix(package)}\1 + annotated true % if 'undouble' in packages[package]: min revision ${packages[package]['undouble'][1]} % endif @@ -100,7 +109,8 @@ end match match /package_tags/${package}/([^/~]+)~([^/~]+)/ repository ${get_repo(package)} - branch tags/${get_tag_prefix(package)}\1_\2 + branch refs/tags/${get_tag_prefix(package)}\1_\2 + annotated true % if 'undouble' in packages[package]: min revision ${packages[package]['undouble'][1]} % endif @@ -152,11 +162,31 @@ match /trunk/scripts/ end match match /trunk/scripts/ + repository scripts/install-invirt.git + branch master + min revision 2026 + max revision 2026 +end match + +match /trunk/scripts/ repository scripts/prod-migration.git branch master max revision 1863 end match +% for t in third: +match /trunk/third/${t}/ + repository third/${t}.git + branch master +end match + +match /third_tags/${t}/([^/~]+)/ + repository third/${t}.git + branch refs/tags/\1 + annotated true +end match +% endfor + % for rev in [803, 804, 925, 926, 928, 1537, 1566]: match /trunk/ repository doc/xvm.git