Adjust the git migration to handle moving osx-update into its own directory.
[invirt/scripts/git-migration.git] / rules.mako
index 55b394e..5c3ba1e 100644 (file)
@@ -8,7 +8,7 @@
 
     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']
 
     for package in packages:
         if 'merge' in packages[package]:
@@ -65,11 +65,7 @@ end match
 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}
-%     endif
 end match
 
 match /trunk/packages/tmp/${package}/
@@ -156,6 +152,13 @@ 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