<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/pkgbase, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-16T17:55:34Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line lua tag</title>
<updated>2023-08-16T17:55:34Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6ef644f5889afbd0f681b08ed1a2f369524af83e'/>
<id>urn:sha1:6ef644f5889afbd0f681b08ed1a2f369524af83e</id>
<content type='text'>
Remove /^--\s*\$FreeBSD\$.*$\n/
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-05-12T16:44:03Z</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=4d846d260e2b9a3d4d0a701462568268cbfe7a5b'/>
<id>urn:sha1:4d846d260e2b9a3d4d0a701462568268cbfe7a5b</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
</content>
</entry>
<entry>
<title>pkgbase: report error if files are installed multiple times</title>
<updated>2023-05-10T01:10:03Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2023-05-05T17:44:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0e04dd3b66c053422b90c387f7bbd82a0921bda0'/>
<id>urn:sha1:0e04dd3b66c053422b90c387f7bbd82a0921bda0</id>
<content type='text'>
Files installed by `make installworld` should be installed only once.

PR:		244596
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>pkgbase: hide duplicate METALOG directory warnings under verbose</title>
<updated>2023-05-01T19:22:36Z</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=2a3bd0870869819354b5ea65761d13e5e2987697'/>
<id>urn:sha1:2a3bd0870869819354b5ea65761d13e5e2987697</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
</content>
</entry>
<entry>
<title>pkgbase: report errors via metalog reader exit status</title>
<updated>2022-11-25T14:13:31Z</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=f93d92f43d984c1d927c7c12d06ae1497d12deea'/>
<id>urn:sha1:f93d92f43d984c1d927c7c12d06ae1497d12deea</id>
<content type='text'>
Reviewed by:	kevans
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37482
</content>
</entry>
<entry>
<title>Update pkgbase metalog tool README to match installed filename</title>
<updated>2022-11-18T20:11:52Z</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=1f3b4f38a6803019dadb3baba8d4be159924671a'/>
<id>urn:sha1:1f3b4f38a6803019dadb3baba8d4be159924671a</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
</content>
</entry>
<entry>
<title>pkgbase: report type for duplicated METALOG entries</title>
<updated>2022-11-17T15:28:06Z</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=b751fc75bb989ea737c9f1c440d2601e1ed95092'/>
<id>urn:sha1:b751fc75bb989ea737c9f1c440d2601e1ed95092</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
</content>
</entry>
<entry>
<title>pkgbase: examine METALOG files relative to stage root directory</title>
<updated>2022-11-17T13:52:12Z</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=bca4d27052bf5735725449cd0be51bd58cf0cb80'/>
<id>urn:sha1:bca4d27052bf5735725449cd0be51bd58cf0cb80</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
</content>
</entry>
<entry>
<title>pkgbase: Fix a typo in a source code comment</title>
<updated>2022-03-28T17:33:25Z</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=eec4f5c034f649e873396125ec8d39826eb65135'/>
<id>urn:sha1:eec4f5c034f649e873396125ec8d39826eb65135</id>
<content type='text'>
- s/begining/beginning/

MFC after:	3 days
</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>
