Feature #14218
closedPackage manifests could be maintained in v2 format
100%
Description
The IPS pkgfmt
utility supports two formats, the original format which was basically alphabetic, and a new (more aesthetic) format that groups things together by path.
The package manifests in gate are currently maintained and checked against the v1 format since, at the time, not everyone had upgraded to a version of pkg that supported the new format.
It's been 10 years, it is probably safe to move to the v2 format now, and update the checks accordingly.
As part of this change, I'm also planning to add a pbchk
module to check manifest formats.
Related issues
Updated by Andy Fiddaman 7 months ago
- Related to Bug #1751: usr/src/pkg/Makefile should define PKGFMT_OUTPUT=v1 when checking manifests added
Updated by Andy Fiddaman 7 months ago
- Related to Bug #12815: ucode/update.intel needs pkgfmt fix added
Updated by Andy Fiddaman 7 months ago
- Related to Bug #14220: Package manifests should be named .p5m and not .mf added
Updated by Andy Fiddaman 6 months ago
Tested by doing a full build, including the packaging checks and protocmp step and ensuring it was clean.
Did a test `onu` to the resulting image as an extra check.
Updated by Electric Monk 6 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit 86d4171132ce4f4c1345b7ce0d5048577e1f3976
commit 86d4171132ce4f4c1345b7ce0d5048577e1f3976 Author: Andy Fiddaman <omnios@citrus-it.co.uk> Date: 2021-11-15T21:42:02.000Z 14218 Package manifests could be maintained in v2 format Reviewed by: Yuri Pankov <ypankov@tintri.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Rich Lowe <richlowe@richlowe.net>
Updated by Rich Lowe 6 months ago
- Related to Bug #14256: package inc files should be pkgfmt v2 as well added