Changeset 33
- Timestamp:
- 01/08/08 19:19:02 (17 years ago)
- Files:
-
- trunk/locker-bin/macathenaDist.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/locker-bin/macathenaDist.py
r31 r33 1 1 #!/usr/bin/env python 2 2 3 def packageCvs(module, cvsModule, cvsroot='/afs/dev.mit.edu/source/repository', getAutoconf='packs/build/autoconf', date='tomorrow'):3 def packageCvs(module, cvsModule, extras=['packs/build/autoconf'], cvsroot='/afs/dev.mit.edu/source/repository', date='tomorrow'): 4 4 import os 5 5 import time … … 13 13 os.system('cvs -R export -D %s %s >/dev/null 2>/dev/null' % (date, cvsModule)) 14 14 15 if getAutoconf: 16 os.system('cvs -R export -r HEAD -d %s %s >/dev/null 2>/dev/null' % (cvsModule, getAutoconf)) 15 if extras: 16 for extra in extras: 17 os.system('cvs -R export -D %s -d %s %s >/dev/null 2>/dev/null' % (date, cvsModule, extra)) 17 18 18 19 stamp = 0 … … 34 35 print 'Created /mit/macathena/dist/%s.tar.gz' % tarball 35 36 36 modules = {'moira': ['moira', '/afs/athena.mit.edu/astaff/project/moiradev/repository', False],37 modules = {'moira': ['moira', False, '/afs/athena.mit.edu/astaff/project/moiradev/repository'], 37 38 'libathdir': ['athena/lib/athdir'], 38 39 'athdir': ['athena/bin/athdir'], … … 41 42 'athrun': ['athena/bin/athrun'], 42 43 'athinfo': ['athena/bin/athinfo'], 43 'getcluster': ['athena/bin/getcluster' ],44 'getcluster': ['athena/bin/getcluster', ['packs/build/autoconf', 'packs/build/aclocal.m4']], 44 45 'libxj': ['athena/lib/Xj'], 45 'xcluster': ['athena/bin/xcluster']} 46 'libss': ['athena/lib/ss'], 47 'xcluster': ['athena/bin/xcluster'], 48 'discuss': ['athena/bin/discuss']} 46 49 47 50 if __name__ == '__main__':