Introducing “Das Lintian-overrider 2000”

Have you ever tried to add a Lintian override only to get it wrong?  Fret not, with the “Lintian-overrider 2000” such are problems of the past!  Simply feed the tag emitted by Lintian to the Lintian-overrider 2000 and it will show you the correct format for the override plus the file to put said overide in.  Furthermore, it will show you variants that you may (or may not) want to use instead.

$ echo "W: login: setuid-binary bin/su 4755 root/root" | \
     lintian-overrider --alternative-forms
  --8<-- debian/login.lintian-overrides --8<--
# If you want to override all (present and future) variants
# of this tag, use:
#  setuid-binary
setuid-binary bin/su 4755 root/root
# Alternative forms...
#   login: setuid-binary bin/su 4755 root/root
#   login binary: setuid-binary bin/su 4755 root/root
# For architecture specific overrides, use one of:
#   login [i386-any amd64-any other-archs] binary: setuid-binary bin/su 4755 root/root
#   login [!i386-any !amd64-any !other-archs] binary: setuid-binary bin/su 4755 root/root
  --8<-- End of debian/login.lintian-overrides --8<--

No more fiddling with that stupid syntax. Just feed it to the Lintian-overrider 2000 and instantly you will get the overrides you want!

If you sometimes make a copy-waste mistake or just feel life is too short manually update those files, the Lintian-overrider 2000 is the tool for you! With its --source-dir command line option, your lintian overrrides are updated automatically!

The Lintian-overrider 2000 can also automatically maintain your Lintian overrides for you! It is simple, just do:

$ lintian -o <path/to/your/changes-file.changes> | \
      lintian-overrider --there-are-no-issues --source-dir <path/to/unpacked/source-tree>

Alioth is ready to take your git clone (or HTTP GET) request, so go order your copy now!


This entry was posted in Debian, Lintian. Bookmark the permalink.

10 Responses to Introducing “Das Lintian-overrider 2000”

  1. Tobias Hansen says:

    Why is the binary not called lintian-overrider-2000? I’m gutted.

    • That is a valid complaint; one would expect that. However, it retains its current name because I was lazy^W^W^W^W for backwards compatibility. I suppose one could make an alias or symlink for it.

      • Tobias Hansen says:

        I came to terms with it now, but it sure would have helped preserve the aura of modernity that is associated with the program.

  2. Simon says:

    That’s a great tool, but don’t you fear it makes unjustified overrides too easy ?

  3. Benjamin D. says:

    I would call it “Der Lintian-overrider 2000” instead. 🙂

    • Unfortunately, our PR department is not known for its German skills! However, they insisted that the usage of “das” (over “der”) would emphasize the quality and effeciency that is only found in German products! (Seriously though, the name wasn’t chosen for its grammatical correctness but for its onetime use in this a “TV-Shop Ad”-like post)

      • Benjamin D. says:

        You were successful. The name adds a “TV-Shop Ad” quality feeling to the product. I would by the script instantly, but no expensive telephone number was provided. 😉

  4. Pingback: “Das Lintian-overrider 2000″ vs “unjustified overrides” | nthykier

  5. Pingback: Ubuntu:Packaging nodejs code, how do I prevent lintian from complaining about ./node_modules? – Ubuntu Linux Questions

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s