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=425c2f8ef19e53...
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=fb04da2937a68a...
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@debian.org (!= PureOS Maintainers pureos-project@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,