For the git migration, one repository per invertified package, and
[invirt/scripts/git-migration.git] / rules.mako
index 55b394e..0557dd3 100644 (file)
@@ -4,11 +4,13 @@
     packages = svn['packages']
     trunks = svn['trunks']
     scripts = svn['scripts']
     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]
     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]:
 
     for package in packages:
         if 'merge' in packages[package]:
@@ -65,11 +67,7 @@ end match
 match /package_tags/${package}/([^/~]+)/${package}/
   repository ${get_repo(package)}
   branch tags/${get_tag_prefix(package)}\1
 match /package_tags/${package}/([^/~]+)/${package}/
   repository ${get_repo(package)}
   branch tags/${get_tag_prefix(package)}\1
-%     if package == 'sipb-xen-dev':
-  max revision 318
-%     else:
   max revision ${packages[package]['undouble'][0] - 1}
   max revision ${packages[package]['undouble'][0] - 1}
-%     endif
 end match
 
 match /trunk/packages/tmp/${package}/
 end match
 
 match /trunk/packages/tmp/${package}/
@@ -156,11 +154,30 @@ match /trunk/scripts/
 end match
 
 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
 
   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 tags/\1
+end match
+% endfor
+
 % for rev in [803, 804, 925, 926, 928, 1537, 1566]:
 match /trunk/
   repository doc/xvm.git
 % for rev in [803, 804, 925, 926, 928, 1537, 1566]:
 match /trunk/
   repository doc/xvm.git