Page MenuHomeFreeBSD

packages: move ucl files to a subdirectory
AcceptedPublic

Authored by ivy on May 4 2025, 10:54 PM.
Tags
None
Referenced Files
F120751969: D50160.diff
Fri, Jun 20, 7:22 PM
Unknown Object (File)
Mon, Jun 16, 1:18 PM
Unknown Object (File)
Sat, Jun 14, 8:03 PM
Unknown Object (File)
Wed, Jun 4, 1:10 PM
Unknown Object (File)
Wed, Jun 4, 5:37 AM
Unknown Object (File)
Fri, May 30, 6:36 AM
Unknown Object (File)
Thu, May 29, 3:02 AM
Unknown Object (File)
Thu, May 29, 3:02 AM
Subscribers

Details

Reviewers
des
kevans
emaste
ziaee
bapt
Group Reviewers
pkgbase
Summary

we want to have a UCL file for every package, to set fields like
comment, desc, license, etc.; to avoid cluttering release/packages with
~200 new files, move these to the ucl/ directory.

add a better description for the yp package to demonstrate how this will
work in practice.

eventually, we should require the ucl file exists (try=false) to prevent
people accidentally creating new packages with a typo, but for now, keep
the ucl optional.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64052
Build 60936: arc lint + arc unit

Event Timeline

ivy requested review of this revision.May 4 2025, 10:54 PM
This revision is now accepted and ready to land.May 7 2025, 11:47 AM

new version:

  • set the comment suffix as a parameter for generate-ucl.lua so it's set properly for both existing packages and packages with a ucl file
  • add a description suffix which does the same thing, but with a long-form description of what the subpackage is for
  • fix some patterns in generate-ucl.sh which meant certain packages (e.g., libcompat) didn't get their comment suffix set properly

once this is landed, my intention is to mechanically convert Makefile.package
to UCL files and delete it, then there's some additional cleanup we can do
here.

This revision now requires review to proceed.May 10 2025, 9:57 AM
This revision is now accepted and ready to land.May 22 2025, 6:28 AM