- Timestamp:
- Dec 25, 2008, 10:47:35 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/git-migration/rules.mako
r1903 r1905 4 4 repos = packages 5 5 packages = [package[len('packages/'):] for package in packages] 6 7 punt = { 8 'sipb-xen-base': 1350, 9 'sipb-xen-chrony-config': 1351, 10 'sipb-xen-database': 1352, 11 'sipb-xen-dev': 1353, 12 'sipb-xen-dom0': 1354, 13 'sipb-xen-host-master': 1355, 14 'sipb-xen-iptables': 1356, 15 'sipb-xen-python-pydhcplib': 1357, 16 'sipb-xen-remctl-auto': 1358, 17 'sipb-xen-vnc-client': 1359, 18 'sipb-xen-www': 1360, 19 'sipb-xen-vnc-server': 1387, 20 'sipb-xen-dhcp': 1436, 21 'sipb-xen-autoinstaller': 1569, 22 'sipb-xen-clvm-config': 1569, 23 'invirt-console-host': 1816, 24 'invirt-console-server': 1816, 25 } 6 26 7 27 merges = [] … … 48 68 % endfor 49 69 50 match /package_tags/sipb-xen-dev/sipb-xen-dev /70 match /package_tags/sipb-xen-dev/sipb-xen-dev(/|$) 51 71 end match 52 72 53 73 % for package in packages: 54 match /trunk/packages/${package}/${package} /74 match /trunk/packages/${package}/${package}(/|$) 55 75 repository ${get_repo(package)} 56 76 branch ${get_branch(package)} 77 max revision 317 57 78 end match 58 79 59 match /package_tags/${package}/([^/~]+)/${package} /80 match /package_tags/${package}/([^/~]+)/${package}(/|$) 60 81 repository ${get_repo(package)} 61 82 branch tags/${get_tag_prefix(package)}\1 62 83 end match 63 84 64 match /trunk/packages/${package} /85 match /trunk/packages/${package}(/|$) 65 86 repository ${get_repo(package)} 66 87 branch ${get_branch(package)} 88 % if package in punt: 89 max revision ${punt[package] - 1} 90 % endif 67 91 end match 68 92 69 match /package_tags/${package}/([^/~]+) /93 match /package_tags/${package}/([^/~]+)(/|$) 70 94 repository ${get_repo(package)} 71 95 branch tags/${get_tag_prefix(package)}\1 72 96 end match 73 97 74 match /package_tags/${package}/([^/~]+)~([^/~]+) /98 match /package_tags/${package}/([^/~]+)~([^/~]+)(/|$) 75 99 repository ${get_repo(package)} 76 100 branch tags/${get_tag_prefix(package)}\1_\2 … … 79 103 % endfor 80 104 81 match /trunk/packages/(xen-common|xen-3.1) /105 match /trunk/packages/(xen-common|xen-3.1)(/|$) 82 106 end match 83 107 84 match /package_tags/(xen-common|xen-3.1) /108 match /package_tags/(xen-common|xen-3.1)(/|$) 85 109 end match 86 110 87 match /trunk/packages/tmp /111 match /trunk/packages/tmp(/|$) 88 112 repository ${get_repo('sipb-xen-database')} 89 113 branch ${get_branch('sipb-xen-database')} 90 114 end match 91 115 92 match /trunk/(dhcp|dns|scripts|vnc|web|vmctl)/ 116 match /trunk/dhcp(/|$) 117 repository ${get_repo('sipb-xen-dhcp')} 118 branch ${get_branch('sipb-xen-dhcp')} 119 max revision 281 120 end match 121 122 match /trunk/web(/|$) 123 repository ${get_repo('sipb-xen-www')} 124 branch ${get_branch('sipb-xen-www')} 125 end match 126 127 match /trunk/vnc/tightvnc-1.3.9_javasrc.zip 128 end match 129 130 match /trunk/vnc/vnc_javasrc(/|$) 131 repository ${get_repo('sipb-xen-vnc-client')} 132 branch ${get_branch('sipb-xen-vnc-client')} 133 end match 134 135 match /trunk/vnc/vnc_server(/|$) 136 repository ${get_repo('sipb-xen-vnc-server')} 137 branch ${get_branch('sipb-xen-vnc-server')} 138 end match 139 140 match /trunk/(dns|scripts|vmctl)(/|$) 93 141 end match 94 142 … … 96 144 end match 97 145 98 match /branches/wsgi /146 match /branches/wsgi(/|$) 99 147 end match
Note: See TracChangeset
for help on using the changeset viewer.