Hi again, Axel Beckert wrote: > Andreas Tille wrote: > > I'll start editing lintian-overrides then. > > Maybe wait a bit with that. Given Lucas' comment, I feel a bit more > urged to provide such a migration script. > > I will look into this for the next upload. No promises as of now, > though.
A first prototype is now available in git in the branch "migrate-overrides": https://salsa.debian.org/lintian/lintian/-/blob/migrate-overrides/bin/lintian-migrate-overrides-to-pointed-hints So far the script only knows about the tags spelling-error-in-binary and package-contains-documentation-outside-usr-share-doc, but it is explicitly written to be expandable. Of course it will also get support for more tags in the (near) future. Additionally it currently only prints the transformed result to STDOUT. The plan is to also support inline editing, either with an -i option or maybe even by default if it detects that the package is maintained in git. Please give me feedback if this approach (especially after inline editing is supported) is feasible — preferably from those who are annoyed. :-) It's not yet in the master branch as neither Perl::Critic nor myself are happy about the usage of (the expression form of) "eval" in there. (Maybe one of the other JAPH has an idea on this. :-) Patches and other improvements suggestions as well as pattern sets for further tags are of course welcome as well. (Note: I will probably force-push that feature branch over and over again until I'm satisfied. If someone else wants to work on the same branch, too, we can also work without forced pushes and squash-merge the result at the end. Please contact me, if you're interested.) Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE