Page MenuHomeFreeBSD

style: Recomend SPDX licenses
ClosedPublic

Authored by ziaee on Feb 18 2025, 9:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 7, 1:42 PM
Unknown Object (File)
Thu, Apr 3, 9:53 PM
Unknown Object (File)
Mar 19 2025, 2:22 AM
Unknown Object (File)
Mar 19 2025, 12:54 AM
Unknown Object (File)
Mar 18 2025, 11:56 PM
Unknown Object (File)
Mar 18 2025, 11:55 PM
Unknown Object (File)
Mar 18 2025, 11:55 PM
Unknown Object (File)
Mar 18 2025, 9:20 PM
Subscribers

Details

Summary

While here, take this opportunity to update the copyright and clean
some mdoc errors.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ziaee requested review of this revision.Feb 18 2025, 9:26 PM

Generally, I like these changes. Had one small suggestion, but feel free to take or leave.

share/man/man9/style.9
79

"copyright line or lines" maybe?

This revision is now accepted and ready to land.Feb 18 2025, 9:28 PM

"copyright lines" is much better, thanks!

This revision now requires review to proceed.Feb 18 2025, 9:35 PM

Approved.

share/man/man9/style.9
73

Right, I sort of remember the recent choice to say "copyright first, SPDX second". It still is backwards from the precedent set by our existing source code...

But this advice is consistent with the license guide, so LGTM.

https://docs.freebsd.org/en/articles/license-guide/

This revision is now accepted and ready to land.Feb 24 2025, 3:03 PM
imp added inline comments.
share/man/man9/style.9
73

We changed to the standard that's more widely practiced. It's not 100%, but it is more often (except for mechanically added tags in, eg, linux).

The existing precedent was set by just adding a tag before the entire body of the text, which generally isn't done (we invented something weird).

So the license guide realigns our weird thing with the rest of the industry.

This revision was automatically updated to reflect the committed changes.