Esempio n. 1
0
proxyoption = "--http-proxy 'http://proxy.upf.edu:8080/'"
proxyoption = ""
distributions = [
    #	('debian', 'lenny',   "http://ftp.de.debian.org/debian/", ['main']),
    #	('debian', 'sid',    "http://ftp.de.debian.org/debian/", ['main']),
    #	('ubuntu', 'gutsy',   "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
    #	('ubuntu', 'hardy', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
    #	('ubuntu', 'intrepid', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
    #	('ubuntu', 'jaunty', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
    ('ubuntu', 'karmic', "http://es.archive.ubuntu.com/ubuntu/",
     ['main', 'universe']),
]
repositoryBase = "http://clam-project.org/clam/trunk/"
repositories = [
    ('CLAM', 'clam', versionFromRemoteSvn('CLAM')[1]),
    #	( 'CLAM/plugins',  'clam-plugins',       versionFromRemoteSvn('CLAM')[1] ),
    #	( 'NetworkEditor', 'clam-networkeditor', versionFromRemoteSvn('NetworkEditor')[1] ),
    #	( 'SMSTools',      'clam-smstools',      versionFromRemoteSvn('SMSTools')[1] ),
    #	( 'Annotator',     'clam-annotator',     versionFromRemoteSvn('Annotator')[1] ),
    #	( 'chordata',      'clam-chordata',      versionFromRemoteSvn('chordata')[1] ),
]

hooks = {
    'D70publishResults': '''
#!/bin/bash
/usr/bin/apt-get update
''',
    'C50checkAfterFailedBuild': '''
#!/bin/bash
# do here whatever you want to see after a failed build
#	('debian', 'sid',    "http://ftp.de.debian.org/debian/", ['main']),
#	('ubuntu', 'gutsy',   "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
#	('ubuntu', 'hardy', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
#	('ubuntu', 'intrepid', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
#	('ubuntu', 'jaunty', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
#	('ubuntu', 'karmic', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
	('ubuntu', 'lucid', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
	('ubuntu', 'maverick', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
	('ubuntu', 'natty', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
]
repositoryBase = "http://clam-project.org/clam/trunk/"
repositories = [
#	( 'CLAM',          'clam',               versionFromRemoteSvn('CLAM')[1] ),
#	( 'CLAM/plugins',  'clam-plugins',       versionFromRemoteSvn('CLAM')[1] ),
#	( 'NetworkEditor', 'clam-networkeditor', versionFromRemoteSvn('NetworkEditor')[1] ),
	( 'chordata',      'clam-chordata',      versionFromRemoteSvn('chordata')[1] ),
#	( 'SMSTools',      'clam-smstools',      versionFromRemoteSvn('SMSTools')[1] ),
#	( 'Annotator',     'clam-annotator',     versionFromRemoteSvn('Annotator')[1] ),
]

hooks = {
'D70publishResults' : '''
#!/bin/bash
/usr/bin/apt-get update
''',

'C50checkAfterFailedBuild': '''
#!/bin/bash
# do here whatever you want to see after a failed build
# clam build directory is /tmp/buildd/%(srcpackage)s/
#cat /tmp/buildd/%(srcpackage)s/scons/libs/config.log
Esempio n. 3
0
	print "\033[31mXX ", command, "\033[0m"
def phase(desc) :
	print "\033[33m== ", desc, "\033[0m"


versions = {
 "CLAM": "---",
 "NetworkEditor": "---",
 "Annotator" : "---",
 "SMSTools" : "---",
 "Voice2MIDI": "---",
 "chordata": "---",
 "pyclam": "---",
}
for package, _ in versions.iteritems():
	versions[package] = versionInfo.versionFromRemoteSvn(package)[1]

print versions
print "remoteSvnRevision: ", versionInfo.remoteSvnRevision()

for package, version in versions.iteritems() : 
	if package == "CLAM" :
		sandbox = "CLAM-%s" % (version)
		run("svn export http://clam-project.org/clam/trunk/CLAM %s"% sandbox)
	else:
		dict =  { 
		"package" : package,
		"ver" : version,
		"clamver" : versions["CLAM"]
		}
		#sandbox = "%(package)s-%(ver)s_using_CLAM-%(clamver)s" % dict
    #	('ubuntu', 'intrepid', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
    #	('ubuntu', 'jaunty', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
    #	('ubuntu', 'karmic', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
    ('ubuntu', 'lucid', "http://es.archive.ubuntu.com/ubuntu/",
     ['main', 'universe']),
    ('ubuntu', 'maverick', "http://es.archive.ubuntu.com/ubuntu/",
     ['main', 'universe']),
    ('ubuntu', 'natty', "http://es.archive.ubuntu.com/ubuntu/",
     ['main', 'universe']),
]
repositoryBase = "http://clam-project.org/clam/trunk/"
repositories = [
    #	( 'CLAM',          'clam',               versionFromRemoteSvn('CLAM')[1] ),
    #	( 'CLAM/plugins',  'clam-plugins',       versionFromRemoteSvn('CLAM')[1] ),
    #	( 'NetworkEditor', 'clam-networkeditor', versionFromRemoteSvn('NetworkEditor')[1] ),
    ('chordata', 'clam-chordata', versionFromRemoteSvn('chordata')[1]),
    #	( 'SMSTools',      'clam-smstools',      versionFromRemoteSvn('SMSTools')[1] ),
    #	( 'Annotator',     'clam-annotator',     versionFromRemoteSvn('Annotator')[1] ),
]

hooks = {
    'D70publishResults': '''
#!/bin/bash
/usr/bin/apt-get update
''',
    'C50checkAfterFailedBuild': '''
#!/bin/bash
# do here whatever you want to see after a failed build
# clam build directory is /tmp/buildd/%(srcpackage)s/
#cat /tmp/buildd/%(srcpackage)s/scons/libs/config.log
''' % {
Esempio n. 5
0
from versionInfo import versionFromRemoteSvn

proxyoption = "--http-proxy 'http://proxy.upf.edu:8080/'"
proxyoption = ""
distributions = [
#	('debian', 'lenny',   "http://ftp.de.debian.org/debian/", ['main']),
#	('debian', 'sid',    "http://ftp.de.debian.org/debian/", ['main']),
#	('ubuntu', 'gutsy',   "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
#	('ubuntu', 'hardy', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
#	('ubuntu', 'intrepid', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
#	('ubuntu', 'jaunty', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
	('ubuntu', 'karmic', "http://es.archive.ubuntu.com/ubuntu/", ['main','universe']),
]
repositoryBase = "http://clam-project.org/clam/trunk/"
repositories = [
	( 'CLAM',          'clam',               versionFromRemoteSvn('CLAM')[1] ),
#	( 'CLAM/plugins',  'clam-plugins',       versionFromRemoteSvn('CLAM')[1] ),
#	( 'NetworkEditor', 'clam-networkeditor', versionFromRemoteSvn('NetworkEditor')[1] ),
#	( 'SMSTools',      'clam-smstools',      versionFromRemoteSvn('SMSTools')[1] ),
#	( 'Annotator',     'clam-annotator',     versionFromRemoteSvn('Annotator')[1] ),
#	( 'chordata',      'clam-chordata',      versionFromRemoteSvn('chordata')[1] ),
]

hooks = {
'D70publishResults' : '''
#!/bin/bash
/usr/bin/apt-get update
''',

'C50checkAfterFailedBuild': '''
#!/bin/bash