[Pureos-project] Improvements to the PureOS lintian profile
Chris Lamb
chris.lamb at puri.sm
Mon Apr 9 12:03:07 PDT 2018
Hi,
I've added some more features to Lintian in order to aid
PureOS development. Specifically:
+ [CL] Add support for derivative-specific version validation to permit
enforcement of additional restrictions on the version number such as
being suffixed by "derivativeos1", etc.
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=425c2f8ef19e53aa90b12292803818d29a99ab19
and:
+ [CL] Add support for derivative-specific field parsing to allow
enforcement of additional restrictions (eg. updating Vcs-Git, etc.)
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=fb04da2937a68ae795d6d9c5f9bd520ce5b0f364
I then added some PureOS-specific validation for these new features:
+ [CL] Ensure that PureOS packages always end with (eg. pureosX).
+ [CL] Add PureOS-specific field name validation, such as ensuring the
Maintainer field is updated to the mailing list.
... which is resulting in errors (on a deliberately "broken" package)
such as:
$ lintian —profile=pureos /tmp/buildd/*.changes
E: docbook-to-man changes: invalid-version-number-for-derivative 1:2.0.0-41 (must end with pureosX)
E: docbook-to-man source: invalid-field-for-derivative maintainer: Chris Lamb <lamby at debian.org> (!= PureOS Maintainers <pureos-project at lists.puri.sm>)
E: docbook-to-man source: invalid-field-for-derivative vcs-git: https://github.com/lamby/pkg-docbook-to-man.git (must point to code.puri.sm)
E: docbook-to-man source: invalid-field-for-derivative vcs-browser: https://github.com/lamby/pkg-docbook-to-man (must point to code.puri.sm)
Enjoy :)
Best wishes,
--
Chris Lamb
https://puri.sm
More information about the Pureos-project
mailing list