Changing git repo from libreplanetbr to pagure

This commit is contained in:
Sergio Durigan Junior 2018-01-17 14:09:44 -05:00
parent 8692220614
commit 4af6c4eeb5

View file

@ -79,10 +79,12 @@ def should_watch_branch (branch):
else: else:
return False return False
GIT_REPO_URL = 'https://pagure.io/binutils-gdb.git'
from buildbot.changes.gitpoller import GitPoller from buildbot.changes.gitpoller import GitPoller
master_git_repo = os.path.expanduser (os.path.join ('~/', 'buildbot-master-binutils-gdb')) master_git_repo = os.path.expanduser (os.path.join ('~/', 'buildbot-master-binutils-gdb'))
c['change_source'] = [] 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, workdir = master_git_repo,
branches = should_watch_branch, branches = should_watch_branch,
pollinterval = 60 * 3)) pollinterval = 60 * 3))
@ -718,8 +720,10 @@ from the principal repository."""
description = r"fetching GDB master sources" description = r"fetching GDB master sources"
descriptionDone = r"fetched GDB master sources" descriptionDone = r"fetched GDB master sources"
def __init__ (self, **kwargs): def __init__ (self, **kwargs):
global GIT_REPO_URL
steps.Git.__init__ (self, steps.Git.__init__ (self,
repourl = 'git://git.libreplanetbr.org/gdb.git', repourl = GIT_REPO_URL,
workdir = util.Interpolate ("%(prop:builddir)s/../binutils-gdb-master/"), workdir = util.Interpolate ("%(prop:builddir)s/../binutils-gdb-master/"),
retryFetch = True, retryFetch = True,
mode = 'incremental', mode = 'incremental',
@ -738,8 +742,10 @@ present at the reference repository (i.e., locally)."""
description = "fetching GDB sources" description = "fetching GDB sources"
descriptionDone = "fetched GDB sources" descriptionDone = "fetched GDB sources"
def __init__ (self, **kwargs): def __init__ (self, **kwargs):
global GIT_REPO_URL
steps.Git.__init__ (self, steps.Git.__init__ (self,
repourl = 'git://git.libreplanetbr.org/gdb.git', repourl = GIT_REPO_URL,
workdir = util.Interpolate ('%(prop:builddir)s/binutils-gdb/'), workdir = util.Interpolate ('%(prop:builddir)s/binutils-gdb/'),
reference = util.Interpolate ("%(prop:builddir)s/../binutils-gdb-master/"), reference = util.Interpolate ("%(prop:builddir)s/../binutils-gdb-master/"),
retryFetch = True, retryFetch = True,