Procedure for adding dependency
Zygmunt Krynicki
zygmunt.krynicki at canonical.com
Thu Feb 4 08:32:14 UTC 2016
Hey Rod
The way to add dependencies in a way that doesn't make us insane at
release time is to use packaging meta-data units. This can be easily
applied to packaging automatically. Refer to [1] for details. While we
don't take advantage of those units in our PPA packaging (some bits
were blocking precise) we do use them in Debian and Ubuntu and with a
little help we could use them everywhere. The major advantage is that
tests themselves can contain the relevant information so we don't have
to uncover issues later in the field, after the release.
[1] http://plainbox.readthedocs.org/en/latest/manpages/plainbox-packaging-meta-data-units.html
On Wed, Feb 3, 2016 at 9:57 PM, Roderick W. Smith
<rod.smith at canonical.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> A while ago I had a problem with a dependency for a new test not
> showing up in Checkbox. I've just submitted merge requests for a new
> test that again depends on a new package:
>
> https://code.launchpad.net/~rodsmith/checkbox/new-cpu-test/+merge/284966
> https://code.launchpad.net/~rodsmith/plainbox-provider-canonical-certification/+git/plainbox-provider-canonical-certification/+merge/284971
>
> This one depends on a fairly recent version of stress-ng, which I've
> uploaded to the certification PPA. (The version in all Ubuntu releases
> through Wily are too old for this test.) I've put in the "package.name
> = 'stress-ng'" line in stress.txt.in, but if I need to modify another
> file to ensure that stress-ng will be installed, could somebody please
> tell me what to modify? Thanks.
>
> - --
> Rod Smith
> Server and Cloud Certification Engineer
> rod.smith at canonical.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
>
> iQEcBAEBAgAGBQJWsmmnAAoJEFgyRI+V0FjmQ3MH/jJwh32wcPw788Ck+O7LqL4E
> tYl4GjrmEmnEh/E+39nO48n7EM8vEe86YO0Qwi3sCyx/to/kSJcFtw77WN2+DMBz
> 4HPfkxipIlRJ924SjbZNhhVgZhdK03MA4CH0SBrWCTtHfmFp7Kl/o00+xMbwEX1L
> l5lDPzgg0H5xSZXFwsrnRsDRIwSkCpTRiQr4TonRzbP1C49Uc5Ez5qlnSlXJhQzk
> zsoQsBa5U/3eIWxpfpZHi+ccWNNI1FyvclI/XSPJS6D6IXHJgOiRfvXHbhp7sg3h
> 3hVCQ6rs73o6V4BpIcWurNMEgx/zIu1K/1GwvDywALb1DSL6ksK1VCO2jBHPP3s=
> =sU1d
> -----END PGP SIGNATURE-----
>
> --
> Checkbox-devel mailing list
> Checkbox-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/checkbox-devel
More information about the Checkbox-devel
mailing list