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
c['change_source'] = []
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')),
branches = should_watch_branch,
pollinterval = 60 * 3))
@ -291,7 +292,8 @@ from the principal repository."""
descriptionDone = r"fetched GDB master sources"
def __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/",
r'builddir'),
retryFetch = True,
@ -311,7 +313,8 @@ present at the reference repository (i.e., locally)."""
descriptionDone = "fetched GDB sources"
def __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'),
reference = WithProperties ("%s/../binutils-gdb-master/",
'builddir'),
@ -482,7 +485,8 @@ The parameters of the class are:
descriptionDone = r"removed old build dir"))
# Unfortunately we need to have this random wait, otherwise
# 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 (CloneOrUpdateGDBRepo ())