[Buildbot] #3644: Does not collaps build requests
Buildbot trac
trac at buildbot.net
Mon Nov 21 07:14:47 UTC 2016
#3644: Does not collaps build requests
---------------------+------------------------
Reporter: kayhayen | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.9.1 | Resolution:
Keywords: |
---------------------+------------------------
Comment (by kayhayen):
This also affects 0.9.0post1, my downgrade was ineffective.
Seems I fundamentally misunderstood this:
{{{
Either both source stamps are associated with changes, or neither
are associated with changes but they have matching revisions.
}}}
I don't even know what it means to be associated with changes. I just
oversaw "matching" revisions. I of course assumed "contained" revisions,
or otherwise this is really only about avoiding duplicate builds. Which
apparently it is.
I was looking for the equivalent of this:
{{{
def mergeRequests(builder, req1, req2):
"any requests with the same branch can be merged"
return (req1.source.branch == req2.source.branch) and \
req1.canBeMergedWith(req2)
c["mergeRequests"] = mergeRequests
}}}
This is from what I recall from documentation. Seems I will have a hard
time to
creating the equivalent.
Yours,
Kay
--
Ticket URL: <http://trac.buildbot.net/ticket/3644#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list