Changeset 1906
- Timestamp:
- Dec 26, 2008, 2:50:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/git-migration/rules.mako
r1905 r1906 5 5 packages = [package[len('packages/'):] for package in packages] 6 6 7 doubled_packages = { 8 'sipb-xen-base': (314, 315), 9 'sipb-xen-database': (311, 313), 10 'sipb-xen-dev': (314, 315), 11 'sipb-xen-dom0': (314, 315), 12 'sipb-xen-remctl-auto': (314, 315), 13 } 14 7 15 punt = { 16 'sipb-xen-guest-installer': 742, 17 'sipb-xen-dns': 1184, 8 18 'sipb-xen-base': 1350, 9 19 'sipb-xen-chrony-config': 1351, … … 71 81 end match 72 82 83 match /trunk/packages/sipb-xen-autoinstaller(/|$) 84 min revision 742 85 max revision 742 86 end match 87 73 88 % for package in packages: 89 90 % if package == 'sipb-xen-database': 91 match /trunk/packages/${package}/${package}-0(/|$) 92 repository ${get_repo(package)} 93 branch ${get_branch(package)} 94 max revision 8 95 end match 96 % endif 97 98 % if package in doubled_packages: 74 99 match /trunk/packages/${package}/${package}(/|$) 75 100 repository ${get_repo(package)} 76 101 branch ${get_branch(package)} 77 max revision 317102 max revision ${doubled_packages[package][0] - 1} 78 103 end match 79 104 … … 81 106 repository ${get_repo(package)} 82 107 branch tags/${get_tag_prefix(package)}\1 108 max revision ${doubled_packages[package][0] - 1} 83 109 end match 110 111 match /trunk/packages/tmp/${package}(/|$) 112 repository ${get_repo(package)} 113 branch ${get_branch(package)} 114 max revision ${doubled_packages[package][1] - 1} 115 end match 116 % endif 84 117 85 118 match /trunk/packages/${package}(/|$) 86 119 repository ${get_repo(package)} 87 120 branch ${get_branch(package)} 121 % if package in doubled_packages: 122 min revision ${doubled_packages[package][1]} 123 % endif 88 124 % if package in punt: 89 125 max revision ${punt[package] - 1} … … 94 130 repository ${get_repo(package)} 95 131 branch tags/${get_tag_prefix(package)}\1 132 % if package in doubled_packages: 133 min revision ${doubled_packages[package][1]} 134 % endif 96 135 end match 97 136 … … 99 138 repository ${get_repo(package)} 100 139 branch tags/${get_tag_prefix(package)}\1_\2 140 % if package in doubled_packages: 141 min revision ${doubled_packages[package][1]} 142 % endif 101 143 end match 102 144 … … 107 149 108 150 match /package_tags/(xen-common|xen-3.1)(/|$) 109 end match110 111 match /trunk/packages/tmp(/|$)112 repository ${get_repo('sipb-xen-database')}113 branch ${get_branch('sipb-xen-database')}114 151 end match 115 152 … … 123 160 repository ${get_repo('sipb-xen-www')} 124 161 branch ${get_branch('sipb-xen-www')} 162 max revision 302 125 163 end match 126 164
Note: See TracChangeset
for help on using the changeset viewer.