Page MenuHomeFreeBSD

Update the build infrastructure to use Git instead of Subversion
ClosedPublic

Authored by rene on Dec 19 2020, 12:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 13 2024, 11:40 PM
Unknown Object (File)
Mar 12 2024, 2:45 AM
Unknown Object (File)
Feb 2 2024, 4:05 AM
Unknown Object (File)
Feb 2 2024, 4:05 AM
Unknown Object (File)
Feb 2 2024, 4:05 AM
Unknown Object (File)
Feb 2 2024, 4:01 AM
Unknown Object (File)
Feb 2 2024, 4:01 AM
Unknown Object (File)
Feb 2 2024, 4:01 AM

Details

Summary

The doc repository is not mirrored to Subversion so updating the
repository from Subversion does not make sense. Remove
Subversion-specific files too.

While here remove now defunct $FreeBSD$ markers in affected files.

Test Plan

make clean
make update
make

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

rene requested review of this revision.Dec 19 2020, 12:54 PM
  • Convert share/tools/webupdate a bit more too and remove defunct $FreeBSD$
share/mk/doc.docbook.mk
101

Minor nit: Git revision number is ...

106

Just wondering, is there no equivalent git command to achieve this? And if there exists, how will they compare with scanning through embedded version strings.

share/tools/webupdate
41–42

?

ygy added inline comments.
share/tools/webupdate
41–42

Ah I read it wrong. Please disregard ;)

rene marked an inline comment as done.Dec 19 2020, 2:46 PM
rene marked 2 inline comments as done.
bcr added a subscriber: bcr.

Looks good to me. Thanks for the update.

This revision is now accepted and ready to land.Dec 19 2020, 6:56 PM

LGTM

Makefile
36

We can always restore similar logic if we add got or gitup to the base system

share/tools/webupdate
27

This SVN ref is stale now?

Makefile
36

Yes ;)

share/tools/webupdate
27

Looking at the logic it references the main branch of doc and also some src and local(?)l directories, so it is a bit in flux. I guess "from SVN or Git" will do for now.

  • webupdate: replace a reference of "SVN" by "VCS".
This revision now requires review to proceed.Dec 19 2020, 8:34 PM
share/tools/webupdate
27

or just "VCS" as I did in the end.

  • Convert share/tools/webupdate a bit more too and remove defunct $FreeBSD$
  • Fix a grammar nit.
  • webupdate: replace a reference of "SVN" by "VCS".
gjb added inline comments.
share/tools/webupdate
27

Once stable/11 is EoL, we can kill the subtrees (and its related logic).

This revision is now accepted and ready to land.Dec 23 2020, 2:45 PM