fa431cf4f8
Fixes the way that missing labels are handled in Gerrit. The intention is that labels provided by Zuul are removed from the set of missing labels on the change (and thus ignored). The original code was using the ">" set comparison operator to do this, but this operator is actually "issuperset()". This means that if there was any disjoint members in the allow_needs set (that is allow_needs had labels that were not missing), the comparison would be False, and any actual missing labels would be ignored. The fix is to use set difference to calculate the missing labels and remove the allow_needs set. If any labels are left after this, they are actually missing and the change cannot be merged Change-Id: Ibdb5df44e80d75198493f8287443ed19bcf269f1 |
||
---|---|---|
.. | ||
__init__.py | ||
auth.py | ||
gcloudauth.py | ||
gerritconnection.py | ||
gerriteventawskinesis.py | ||
gerriteventchecks.py | ||
gerriteventgcloudpubsub.py | ||
gerriteventkafka.py | ||
gerriteventssh.py | ||
gerritmodel.py | ||
gerritreporter.py | ||
gerritsource.py | ||
gerrittrigger.py |