From 4af6c4eeb504b5a820cfa330b60c7956ca344b5e Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Wed, 17 Jan 2018 14:09:44 -0500 Subject: [PATCH] Changing git repo from libreplanetbr to pagure --- master.cfg | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/master.cfg b/master.cfg index 08461b4..c19e1d3 100644 --- a/master.cfg +++ b/master.cfg @@ -79,10 +79,12 @@ def should_watch_branch (branch): else: return False +GIT_REPO_URL = 'https://pagure.io/binutils-gdb.git' + from buildbot.changes.gitpoller import GitPoller master_git_repo = os.path.expanduser (os.path.join ('~/', 'buildbot-master-binutils-gdb')) c['change_source'] = [] -c['change_source'].append (GitPoller (repourl = 'git://git.libreplanetbr.org/gdb.git', +c['change_source'].append (GitPoller (repourl = GIT_REPO_URL, workdir = master_git_repo, branches = should_watch_branch, pollinterval = 60 * 3)) @@ -718,8 +720,10 @@ from the principal repository.""" description = r"fetching GDB master sources" descriptionDone = r"fetched GDB master sources" def __init__ (self, **kwargs): + global GIT_REPO_URL + steps.Git.__init__ (self, - repourl = 'git://git.libreplanetbr.org/gdb.git', + repourl = GIT_REPO_URL, workdir = util.Interpolate ("%(prop:builddir)s/../binutils-gdb-master/"), retryFetch = True, mode = 'incremental', @@ -738,8 +742,10 @@ present at the reference repository (i.e., locally).""" description = "fetching GDB sources" descriptionDone = "fetched GDB sources" def __init__ (self, **kwargs): + global GIT_REPO_URL + steps.Git.__init__ (self, - repourl = 'git://git.libreplanetbr.org/gdb.git', + repourl = GIT_REPO_URL, workdir = util.Interpolate ('%(prop:builddir)s/binutils-gdb/'), reference = util.Interpolate ("%(prop:builddir)s/../binutils-gdb-master/"), retryFetch = True,