<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/pkgbase, branch releng/13.5</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.5</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.5'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:34Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line lua tag</title>
<updated>2023-08-23T17:43:34Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=238e32b6066383c928f5f1450291902ec3c429ae'/>
<id>urn:sha1:238e32b6066383c928f5f1450291902ec3c429ae</id>
<content type='text'>
Remove /^--\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit 6ef644f5889a)
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-07-25T15:13:49Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=caa41f641755c935b036e17440a3b49329c904ed'/>
<id>urn:sha1:caa41f641755c935b036e17440a3b49329c904ed</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix

(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
</content>
</entry>
<entry>
<title>pkgbase: hide duplicate METALOG directory warnings under verbose</title>
<updated>2023-05-04T16:45:50Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2023-05-01T17:25:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6488428308edeb1fb8fc8aa0eb4e2744db78748'/>
<id>urn:sha1:f6488428308edeb1fb8fc8aa0eb4e2744db78748</id>
<content type='text'>
Creating directories multiple times is an inherent side effect of the
way installation is done.  Hide warnings from duplicate directory
entries (with identical metadata) under metalog_reader's verbose mode.

Duplicate file entries are always reported.  They currently generate
warnings but will be switched to errors once the few instances currently
in the tree are fixed.

PR:		244596, 271178
Reviewed by:	kevans
Sponsored By:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D39898

(cherry picked from commit 2a3bd0870869819354b5ea65761d13e5e2987697)
</content>
</entry>
<entry>
<title>pkgbase: report errors via metalog reader exit status</title>
<updated>2023-03-23T15:10:47Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2022-11-23T21:40:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=39c9fd8f2bebe2edfb700d0dd0458089ba687a7e'/>
<id>urn:sha1:39c9fd8f2bebe2edfb700d0dd0458089ba687a7e</id>
<content type='text'>
Reviewed by:	kevans
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37482

(cherry picked from commit f93d92f43d984c1d927c7c12d06ae1497d12deea)
</content>
</entry>
<entry>
<title>Update pkgbase metalog tool README to match installed filename</title>
<updated>2022-11-19T19:12:48Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2022-11-16T19:31:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=640799e5f2d0b09b359ce040bf7cbbcb6f33393d'/>
<id>urn:sha1:640799e5f2d0b09b359ce040bf7cbbcb6f33393d</id>
<content type='text'>
The pkgbase metalog tool is named metalog_reader.lua.  (One may argue
that a better name could be chosen, but the README should match in any
case.)

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 1f3b4f38a6803019dadb3baba8d4be159924671a)
</content>
</entry>
<entry>
<title>pkgbase: report type for duplicated METALOG entries</title>
<updated>2022-11-19T19:12:48Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2022-11-17T14:15:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1b031475e734448cbd2b8bd572accbc61d999b60'/>
<id>urn:sha1:1b031475e734448cbd2b8bd572accbc61d999b60</id>
<content type='text'>
Duplicate METALOG file entries are more of a concern than duplicate
directories.  The metalog check tool previously did not include the
entry type in the warnings, making it hard to find the ones of concern.

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit b751fc75bb989ea737c9f1c440d2601e1ed95092)
</content>
</entry>
<entry>
<title>pkgbase: examine METALOG files relative to stage root directory</title>
<updated>2022-11-19T19:12:47Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2022-11-16T19:53:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ee0c57076688642e2e9d5173850dd245803e0754'/>
<id>urn:sha1:ee0c57076688642e2e9d5173850dd245803e0754</id>
<content type='text'>
Previously we stripped the '.' from the beginning of each METALOG entry
to determine the path to stat.  This meant that we examined files on the
build host, not the staged files.

Instead, strip off the last part of the specified METALOG pathname to
find the stage root directory, and stat files relative to that.

Reviewed by:	bapt
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37412

(cherry picked from commit bca4d27052bf5735725449cd0be51bd58cf0cb80)
</content>
</entry>
<entry>
<title>pkgbase: Fix a typo in a source code comment</title>
<updated>2022-04-02T13:32:27Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-03-27T16:56:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0954cb209c1652b185a7030c68f31e8878382e9b'/>
<id>urn:sha1:0954cb209c1652b185a7030c68f31e8878382e9b</id>
<content type='text'>
- s/begining/beginning/

(cherry picked from commit eec4f5c034f649e873396125ec8d39826eb65135)
</content>
</entry>
<entry>
<title>Add pkgbase METALOG parse/check tool</title>
<updated>2020-05-10T16:11:19Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-05-10T16:11:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=060a805b2f0aaa503e8fc2729e07c657d5ee24b2'/>
<id>urn:sha1:060a805b2f0aaa503e8fc2729e07c657d5ee24b2</id>
<content type='text'>
`metalog.lua` is a script that reads METALOG file created by pkgbase
(make packages) and generates reports about the installed system
and issues.

This was developed as part of Yang's W2020 University of Waterloo co-
operative education term with the FreeBSD Foundation.  kevans provided
some initial review; we will iterate on it in the tree.

Submitted by:	Yang Wang &lt;2333@outlook.jp&gt;
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D24563
</content>
</entry>
</feed>
