zuul/zuul
Tobias Henkel 0093aabd4e
Fix multiple prs found when commit is not head
When receiving a status or checks event we need to find the
corresponding pull request to that event. Github stores the status on
the head commit of a pr and not on the pr itself which leads to
problems if multiple prs exist with the same head but different target
branches. Therefore zuul errors out when more than one pr is found for
that event. However the github search also returns all prs that
contain the sha we search for but have a different head which leads to
the same error as if we had two conflicting prs. This can be solved by
delaying the error and filtering the pr bodies for the head sha first.

Change-Id: Iadafd3cf68a742941e9189e84fca594bc3394084
2020-09-04 13:47:54 +02:00
..
ansible Merge file comments from multiple tasks 2020-08-24 14:33:15 +02:00
cmd REST API: remove deprecated trigger arg in enqueue endpoint 2020-08-18 12:25:14 +02:00
connection Annotate some logs in the scheduler with event id 2019-05-17 06:06:11 +02:00
driver Fix multiple prs found when commit is not head 2020-09-04 13:47:54 +02:00
execution_context Add wrapper driver execution context 2017-08-18 16:35:12 -07:00
executor Fix Multi Node Builds with k8s Build Nodes 2020-08-17 16:15:36 +02:00
lib Merge "Ensure deletion of the command socket" 2020-07-24 17:02:02 +00:00
manager Annotate all canMerge calls with event id 2020-07-30 15:56:33 +02:00
merger Prevent Git GC issue between merger and executor 2020-08-21 11:08:15 +02:00
reporter Report dequeued changes via Github checks API 2020-05-14 07:42:24 +02:00
source Annotate getChangeByUrl logs with event id 2020-07-30 15:28:30 +02:00
sphinx docs: remove zuuldocs domain 2020-08-04 16:10:09 +10:00
trigger Annotate logs in the zuul driver with event ids 2019-05-17 06:06:11 +02:00
web REST API: remove deprecated trigger arg in enqueue endpoint 2020-08-18 12:25:14 +02:00
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
_setup_hook.py Revert "Revert "Create zuul/web/static on demand"" 2020-07-07 19:53:33 +02:00
change_matcher.py Match tag items against containing branches 2020-03-06 13:29:18 -08:00
configloader.py Move mark comparision into ZuulMark object 2020-07-31 22:42:10 +10:00
exceptions.py web: add tenant and project scoped, JWT-protected actions 2019-07-10 12:11:14 +02:00
model.py model.py : remove unused inheritable_attributes dictionary 2020-08-24 11:39:44 +10:00
nodepool.py Store a list of held nodes per held build in hold request 2019-10-24 13:39:16 -04:00
rpcclient.py Add client_id to RPC client 2020-01-28 10:16:19 +01:00
rpclistener.py Separate slow rpc operations 2020-08-05 08:45:01 +02:00
scheduler.py Fix typos in inline comments 2020-08-31 16:36:02 +02:00
version.py Report git sha in status page version 2018-04-27 10:21:43 -07:00
zk.py Add TLS support for ZooKeeper 2020-03-18 14:47:37 -07:00