The case sensitivity of the checks for the "Upstream-Status" label should match so that failure messages make sense. The checks in the parse_upstream_status module are case sensitive and so the initial regex check should also be made case sensitive.
A quick note about case sensitivity is added to the advice given if "Upstream-Status" is not found.
@classmethod def setUpClassLocal(cls): @@ -47,7 +47,7 @@ class PatchUpstreamStatus(base.Base): payload = newpatch.__str__() if not self.upstream_status_regex.search(payload): self.fail('Added patch file is missing Upstream-Status in the header', - 'Add Upstream-Status: <Valid status> to the header of %s' % newpatch.path, + 'Add Upstream-Status: <Valid status> (case sensitive) to the header of %s' % newpatch.path, data=[('Standard format', self.standard_format), ('Valid status', self.valid_status)]) for line in payload.splitlines(): if self.patchmetadata_regex.match(line): -- 2.17.1
Ping.
Cc'ing the maintainers listed in the readme along with Changqing Li as discussed during the Yocto Project call on Tuesday.
Could you confirm who's maintaining patchtest-oe these days and update the readme? I've got a few ideas for enhancements and I may be able to assist with maintaining these repositories after the new year but I'd like to get these initial changes in first.