Project

General

Profile

Actions

Feature #14218

closed

Package manifests could be maintained in v2 format

Added by Andy Fiddaman 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
packaging
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

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

Related to illumos gate - Bug #1751: usr/src/pkg/Makefile should define PKGFMT_OUTPUT=v1 when checking manifestsResolvedYuri Pankov2011-11-09

Actions
Related to illumos gate - Bug #12815: ucode/update.intel needs pkgfmt fixIn ProgressDan McDonald

Actions
Related to illumos gate - Bug #14220: Package manifests should be named .p5m and not .mfClosedAndy Fiddaman

Actions
Related to illumos gate - Bug #14256: package inc files should be pkgfmt v2 as wellClosedRich Lowe

Actions
Actions #1

Updated by Andy Fiddaman 7 months ago

  • Related to Bug #1751: usr/src/pkg/Makefile should define PKGFMT_OUTPUT=v1 when checking manifests added
Actions #2

Updated by Andy Fiddaman 7 months ago

  • Related to Bug #12815: ucode/update.intel needs pkgfmt fix added
Actions #3

Updated by Andy Fiddaman 7 months ago

  • Description updated (diff)
Actions #4

Updated by Andy Fiddaman 7 months ago

  • Related to Bug #14220: Package manifests should be named .p5m and not .mf added
Actions #5

Updated by Electric Monk 7 months ago

  • Gerrit CR set to 1784
Actions #6

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.

Actions #7

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>

Actions #8

Updated by Rich Lowe 6 months ago

  • Related to Bug #14256: package inc files should be pkgfmt v2 as well added
Actions

Also available in: Atom PDF