Using gitorious instead of sourceware

This commit is contained in:
Sergio Durigan Junior 2015-01-26 14:07:27 -05:00
parent 62bc15aa03
commit 9aec5417f4

View file

@ -76,7 +76,8 @@ def should_watch_branch (branch):
from buildbot.changes.gitpoller import GitPoller from buildbot.changes.gitpoller import GitPoller
c['change_source'] = [] c['change_source'] = []
c['change_source'].append(GitPoller( c['change_source'].append(GitPoller(
repourl = r'git://sourceware.org/git/binutils-gdb.git', repourl = 'https://gitorious.org/gdb/gdb.git',
# repourl = r'git://sourceware.org/git/binutils-gdb.git',
workdir = os.path.expanduser (os.path.join ('~/', 'buildbot-master-binutils-gdb')), workdir = os.path.expanduser (os.path.join ('~/', 'buildbot-master-binutils-gdb')),
branches = should_watch_branch, branches = should_watch_branch,
pollinterval = 60 * 3)) pollinterval = 60 * 3))
@ -291,7 +292,8 @@ from the principal repository."""
descriptionDone = r"fetched GDB master sources" descriptionDone = r"fetched GDB master sources"
def __init__ (self): def __init__ (self):
Git.__init__ (self, Git.__init__ (self,
repourl = r'git://sourceware.org/git/binutils-gdb.git', repourl = 'https://gitorious.org/gdb/gdb.git',
# repourl = r'git://sourceware.org/git/binutils-gdb.git',
workdir = WithProperties (r"%s/../binutils-gdb-master/", workdir = WithProperties (r"%s/../binutils-gdb-master/",
r'builddir'), r'builddir'),
retryFetch = True, retryFetch = True,
@ -311,7 +313,8 @@ present at the reference repository (i.e., locally)."""
descriptionDone = "fetched GDB sources" descriptionDone = "fetched GDB sources"
def __init__ (self): def __init__ (self):
Git.__init__ (self, Git.__init__ (self,
repourl = 'git://sourceware.org/git/binutils-gdb.git', repourl = 'https://gitorious.org/gdb/gdb.git',
# repourl = 'git://sourceware.org/git/binutils-gdb.git',
workdir = WithProperties ('%s/binutils-gdb/', 'builddir'), workdir = WithProperties ('%s/binutils-gdb/', 'builddir'),
reference = WithProperties ("%s/../binutils-gdb-master/", reference = WithProperties ("%s/../binutils-gdb-master/",
'builddir'), 'builddir'),
@ -482,7 +485,8 @@ The parameters of the class are:
descriptionDone = r"removed old build dir")) descriptionDone = r"removed old build dir"))
# Unfortunately we need to have this random wait, otherwise # Unfortunately we need to have this random wait, otherwise
# git fetch won't work # git fetch won't work
self.addStep (RandomWaitForClone ()) ## Disabling this step for now because we are using a mirror
##self.addStep (RandomWaitForClone ())
self.addStep (CloneOrUpdateGDBMasterRepo ()) self.addStep (CloneOrUpdateGDBMasterRepo ())
self.addStep (CloneOrUpdateGDBRepo ()) self.addStep (CloneOrUpdateGDBRepo ())