From 9aec5417f4746d9ef40cf2cd9a71e88a8f6616c8 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Mon, 26 Jan 2015 14:07:27 -0500 Subject: [PATCH] Using gitorious instead of sourceware --- master.cfg | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/master.cfg b/master.cfg index 07b477e..4378767 100644 --- a/master.cfg +++ b/master.cfg @@ -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 ())