HomeFreeBSD

sys: Remove $FreeBSD$: one-line .c pattern

Description

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in current:
(cherry picked from commit 685dc743dc3b)

Details

Provenance
impAuthored on Aug 22 2023, 1:31 AM
Parents
rG0d349c19beda: Remove $FreeBSD$: two-line .c pattern
Branches
Unknown
Tags
Unknown

Event Timeline

Can you explain to me why this tag was removed from stable13/stable14 and not from stable 12?
From what i can see, all of the tags that were deleted where empty tags including the comment tags deleted in this commit.
Looking online I found the following (Which may be completely wrong, if it is, please correct me):

Here's what FBSDID("$FreeBSD$"); means and how it works:
Version Information: Like the $FreeBSD$ tag, FBSDID("$FreeBSD$"); is used to embed version and revision information into the source code files of the FreeBSD kernel.
Automatic Substitution: When the source code file is committed to the FreeBSD version control system (usually using CVS or Subversion), the __FBSDID("$FreeBSD$"); macro is automatically substituted with metadata about the file, such as the file's path, revision number, date, and sometimes the author's username.
File Identification: This macro serves as a way to identify the specific version of the kernel source code file being used. It aids in tracking changes, identifying the file's history, and crediting contributors.

stable/12 is still served but subversion, which does the $FreeBSD$ expansion on its checkouts (part of the git migration commitment was to operate the subversion server with a write-only from git's stable/12 stable/12 svn path until EOL of 12 later this year).
It's also close to end of life, so such a big change was deemed too disruptive.

Very Large Commit

This commit is very large, and affects more than 2000 files. Changes are not shown.