Changeset 1905 for trunk/scripts


Ignore:
Timestamp:
Dec 25, 2008, 10:47:35 PM (16 years ago)
Author:
andersk
Message:

This is almost working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/git-migration/rules.mako

    r1903 r1905  
    44    repos = packages
    55    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    }
    626
    727    merges = []
     
    4868% endfor
    4969
    50 match /package_tags/sipb-xen-dev/sipb-xen-dev/
     70match /package_tags/sipb-xen-dev/sipb-xen-dev(/|$)
    5171end match
    5272
    5373% for package in packages:
    54 match /trunk/packages/${package}/${package}/
     74match /trunk/packages/${package}/${package}(/|$)
    5575  repository ${get_repo(package)}
    5676  branch ${get_branch(package)}
     77  max revision 317
    5778end match
    5879
    59 match /package_tags/${package}/([^/~]+)/${package}/
     80match /package_tags/${package}/([^/~]+)/${package}(/|$)
    6081  repository ${get_repo(package)}
    6182  branch tags/${get_tag_prefix(package)}\1
    6283end match
    6384
    64 match /trunk/packages/${package}/
     85match /trunk/packages/${package}(/|$)
    6586  repository ${get_repo(package)}
    6687  branch ${get_branch(package)}
     88% if package in punt:
     89  max revision ${punt[package] - 1}
     90% endif
    6791end match
    6892
    69 match /package_tags/${package}/([^/~]+)/
     93match /package_tags/${package}/([^/~]+)(/|$)
    7094  repository ${get_repo(package)}
    7195  branch tags/${get_tag_prefix(package)}\1
    7296end match
    7397
    74 match /package_tags/${package}/([^/~]+)~([^/~]+)/
     98match /package_tags/${package}/([^/~]+)~([^/~]+)(/|$)
    7599  repository ${get_repo(package)}
    76100  branch tags/${get_tag_prefix(package)}\1_\2
     
    79103% endfor
    80104
    81 match /trunk/packages/(xen-common|xen-3.1)/
     105match /trunk/packages/(xen-common|xen-3.1)(/|$)
    82106end match
    83107
    84 match /package_tags/(xen-common|xen-3.1)/
     108match /package_tags/(xen-common|xen-3.1)(/|$)
    85109end match
    86110
    87 match /trunk/packages/tmp/
     111match /trunk/packages/tmp(/|$)
    88112  repository ${get_repo('sipb-xen-database')}
    89113  branch ${get_branch('sipb-xen-database')}
    90114end match
    91115
    92 match /trunk/(dhcp|dns|scripts|vnc|web|vmctl)/
     116match /trunk/dhcp(/|$)
     117  repository ${get_repo('sipb-xen-dhcp')}
     118  branch ${get_branch('sipb-xen-dhcp')}
     119  max revision 281
     120end match
     121
     122match /trunk/web(/|$)
     123  repository ${get_repo('sipb-xen-www')}
     124  branch ${get_branch('sipb-xen-www')}
     125end match
     126
     127match /trunk/vnc/tightvnc-1.3.9_javasrc.zip
     128end match
     129
     130match /trunk/vnc/vnc_javasrc(/|$)
     131  repository ${get_repo('sipb-xen-vnc-client')}
     132  branch ${get_branch('sipb-xen-vnc-client')}
     133end match
     134
     135match /trunk/vnc/vnc_server(/|$)
     136  repository ${get_repo('sipb-xen-vnc-server')}
     137  branch ${get_branch('sipb-xen-vnc-server')}
     138end match
     139
     140match /trunk/(dns|scripts|vmctl)(/|$)
    93141end match
    94142
     
    96144end match
    97145
    98 match /branches/wsgi/
     146match /branches/wsgi(/|$)
    99147end match
Note: See TracChangeset for help on using the changeset viewer.