#130 Validation check for *Script no-op

Max Horn
Chris Dolan

As documented in the email referenced below, there are
a ton of ways maintainers signal a no-op in the
CompileScript or InstallScript. For example,
'CompileScript: echo "nothing to compile"'. Better
form is to silently return a true value via
'CompileScript: /usr/bin/true'. This is better because
it's less verbose (who cares if there is nothing to
compile?) and it reduces the English text for when we
internationalize Fink someday (inevitable, I think).

The attached patch adds a .info validation step that
recommends that the maintainer change no-ops to
/usr/bin/true. It only checks in pedantic mode
(verbosity > 3).

Email reference:

Feedback is appreciated. If this change is deemed good
by people, I'll cvs commit it myself.


  • Chris Dolan

    Chris Dolan - 2005-02-14

    Validation.pm patch

  • Daniel Macks

    Daniel Macks - 2005-02-14

    Logged In: YES

    Please don't apply this (in its current form) until -devel
    resolves the issue of making validation checks dependent on
    verbosity level.

  • Chris Dolan

    Chris Dolan - 2005-02-14
    • priority: 5 --> 2
    • assigned_to: nobody --> chrisdolan
  • Chris Dolan

    Chris Dolan - 2005-02-14

    Logged In: YES

    Understood, Dan. This is obviously a low-priority patch.

  • Max Horn

    Max Horn - 2011-10-28
    • assigned_to: chrisdolan --> fingolfin

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks