#946745 tagpending: allow tagging wnpp bugs as pending by default

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Paul Wise
Date:
2019-12-15 11:57:03 UTC
Severity:
wishlist
#946745#5
Date:
2019-12-15 06:20:37 UTC
From:
To:
I am working on adopting libpst and so I added a closing for the RFA
bug (#856524) to debian/changelog, committed the change to git and ran tagpending, but it refused to allow me to tag the wnpp bug without the option to force the tagging.

I think it is reasonable to allow wnpp bugs to be tagged by default.

   $ tagpending
   Warning: #856524 is closed or does not belong to this package (check bug # or force)
   tagpending info: Nothing to do, exiting.

#946745#10
Date:
2019-12-15 11:33:09 UTC
From:
To:
By "the option to force the tagging", did you mean --force or --wnpp?

There is a --wnpp option, although currently no way to force it to be
used by default.

Regards,

Adam

#946745#15
Date:
2019-12-15 11:53:15 UTC
From:
To:
I meant --force but subsequently I found that it produces an error from
the BTS control bot because it also limits the package:

   > limit source libpst
   Limiting to bugs with field 'source' containing at least one of
   'libpst'
   Limit currently set to 'source':'libpst'

   > tags 856524 + pending
   source: '' does not match at least one of "libpst"
   Failed to alter tags of Bug 856524: limit failed for bugs: 856524.

I wasn't aware of the --wnpp option as the error message doesn't
mention it. So I think at minimum the error message should check if the
bug is assigned to wnpp and suggest using --wnpp if so. If that were
the case, then not enabling --wnpp by default would be acceptable, but
probably it should be enabled by default.