[Buildbot-commits] [Buildbot] #2485: The New Git Source Step Does Not Handle Changes From GerritChangeSource Correctly
Buildbot trac
trac at buildbot.net
Mon Apr 8 14:56:27 UTC 2013
#2485: The New Git Source Step Does Not Handle Changes From GerritChangeSource
Correctly
--------------------+------------------------
Reporter: jroo | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.7p1 | Keywords: gerrit git
--------------------+------------------------
The implementation from buildbot.steps.sources.Git handles review changes
from GerritChangeSource correctly but the new implementation from
buildbot.steps.sources.git.Git does not.
The following bits should be in master.cfg for reproducing the issue:
{{{
from buildbot.changes.gerritchangesource import GerritChangeSource
c[ 'change_source' ] = [
GerritChangeSource(
gerritserver = 'gerrit.example.com',
gerritport = 29418,
username = 'gerrit-user',
),
]
# ....
c['schedulers'] = [
AnyBranchScheduler(
name = 'all',
change_filter = filter.ChangeFilter( project = 'MyProject' ),
treeStableTimer = None,
builderNames = [
'Some Builder',
],
),
]
# ...
factory = BuildFactory()
factory.addStep( Git(
repourl = GitRepoUrl,
mode = 'update',
submodules = True,
)
)
c[ 'builders' ] = [
BuilderConfig(
name = 'Some Builder',
slavenames = [ 'Slave', ],
mergeRequests = False,
factory = factory,
),
]
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2485>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list