Control: tag -1 pending

Hello,

Bug #999768 in lintian reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/lintian/lintian/-/commit/ac93c6a22ee797bce1700892e399b4d8e7dce601

------------------------------------------------------------------------
Fix false positives for adopted-extended-field with X- prefixed fields

Closes: #999768

To get there, we don't change any code but remove the fields
Python-Version, Ruby-Versions, Autobuild and Go-Import-Path from
data/common/source-fields and re-add them at the end with the
following prefixes:

  X-Python-Version
  X-Python3-Version

  XB-Ruby-Versions

  XS-Autobuild
  XS-Go-Import-Path
  XS-Ruby-Versions

I also removed the wrong test case hints which resulted in two now
empty hints files.

In theory this should now report "unknown-field" for the versions
without X[BS]- prefix. But it doesn't. To prove that, I've added some
non-X[BS]-prefixed fields to these test suite dummy packages and not a
single test failed:

  
t/recipes/checks/debian/control/field/adopted/control-file-golang-xs-go-import-path/build-spec/debian/control.in
  
t/recipes/checks/debian/control/field/adopted/control-file-source-upload-to-non-free-without-autobuild/build-spec/debian/control.in
  
t/recipes/checks/fields/unknown/fields-unknown-fields/build-spec/debian/control.in

Try yourself and run

  private/runtests -o 
check:fields/unknown,check:archive/non-free/autobuild,check:debian/control/field/adopted

Even removing these X[BS]-prefixed fields from
data/common/source-fields does not seem to make a difference.

Not yet sure what's going on, but this commit will at least fix an RC
bug report. (And hopefully won't cause another one. :-)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/999768

Reply via email to