Bug#1062437: python-debian: When Files: is a whitespace-separated list, files are matched too eagerly

2024-02-11 Thread Lasse Collin
One way to fix it is to change buf.write('|') to buf.write('\Z|') in globs_to_re in copyright.py line 485[1]. The comment at the end of the method sounds like that the thinking had been that in 'foo|bar\Z' the \Z would affect matching of foo but in reality only affects bar. Other possibility is

Bug#1062437: python-debian: When Files: is a whitespace-separated list, files are matched too eagerly

2024-02-01 Thread Jelmer Vernooij
severity 1062437 important tags 1062437 +confirmed thanks Thanks for the bugreport! I agree that this is an important thing to fix and we're not following the specification in https://dep-team.pages.debian.net/deps/dep5/ here. I don't think it violates policy 2.3 though; the meaning of the

Bug#1062437: python-debian: When Files: is a whitespace-separated list, files are matched too eagerly

2024-02-01 Thread Carmen Bianca BAKKER
Source: python-debian Version: 0.1.49 Severity: serious Tags: upstream Justification: Policy 2.3 So this is an interesting bug inside of the python-debian source code first spotted in by Chris Pressey. I marked it as serious because fixing the bug