Subject: Re: CVS commit: src/distrib/sets
To: Alistair G. Crooks <agc@netbsd.org>
From: Jim Wise <jwise@draga.com>
List: source-changes
Date: 06/12/2003 20:34:49
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 12 Jun 2003, Alistair G. Crooks wrote:
>
>Module Name: src
>Committed By: agc
>Date: Thu Jun 12 20:04:00 UTC 2003
>
>Added Files:
> src/distrib/sets: attrs comments descrs regpkg regpkgset
>
>Log Message:
>Add the comments file, which is a single file containing all the COMMENT
>file entries from the syspkg hierarchy, brought up to date to include some
>that had been missed out.
>
>Add the descrs file, which is a single file containing all the DESCR
>file entries from the syspkg hierarchy, brought up to date to include some
>that had been missed out.
Very cool, thanks. :-)
>Thanks to Jim Wise for all the work that went into the syspkg sets.
You're welcome. :-)
>Add the attrs file, which is a single file to which can be added
>attributes (like preserve).
>
>Add a regpkg script, which allows a single system package to be
>registered, based simply on its setname and syspkg name. All the
>information is gleaned from the lists files by means of scripts, no
>source tree is needed. The version number for the system package is
>calculated automatically, based on the most recent mtime of the files
>that constitute a system package.
Is there a reason the ability to explicitly version system packages was
discarded? Previously, a system package on a release branch was
versioned with the current OS version of the branch, plus a `tiny'
version number of the syspkg, such as
base-util-bin-1.6.0.0
for the version of that package that shipped with 1.6.0, and
base-util-bin-1.6.0.1
for a hypothetical first `relevant' update to that package (such as when
an SA was issued for a binary in the package). This allows tracking of
`important' changes in such a syspkg, much like the `nbXX' version
add-ons in pkgsrc.
regpkg and regpkgset are very nice, and address a very real
maintainability issue with the old code. _But_ I think this feature
should not be lost.
Barring any objections, I'll put something together to re-add this
functionality, and either commit it, or mail it off to you.
Sound good?
>Add a regpkgset script, to register all the system packages in a set.
>The set names recognised are "all", "base", "comp", "etc", "games",
>"man", "misc", "text".
>
>
>To generate a diff of this commit:
>cvs rdiff -r0 -r1.1 src/distrib/sets/attrs src/distrib/sets/comments \
> src/distrib/sets/descrs src/distrib/sets/regpkg \
> src/distrib/sets/regpkgset
>
>Please note that diffs are not public domain; they are subject to the
>copyright notices on the relevant files.
>
- --
Jim Wise
jwise@draga.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)
iD8DBQE+6RwylGcH240chEIRAr56AJsEgkvpSJ657VhUSXG87ddqkQsaYgCeLQke
4pYK6fYsU6JAv4UFgg7BI34=
=QNXX
-----END PGP SIGNATURE-----