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)
Tue, Apr 23, 8:20 AM
Unknown Object (File)
Sat, Apr 20, 9:44 PM
Unknown Object (File)
Sat, Apr 20, 9:44 PM
Unknown Object (File)
Sat, Apr 20, 9:44 PM
Unknown Object (File)
Sat, Apr 20, 9:44 PM
Unknown Object (File)
Sat, Apr 20, 9:44 PM
Unknown Object (File)
Sat, Apr 20, 9:44 PM
Unknown Object (File)
Fri, Apr 19, 9:53 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 35532
Build 32433: arc lint + arc unit

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 ↗(On Diff #80942)

?

ygy added inline comments.
share/tools/webupdate
41 ↗(On Diff #80942)

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 ↗(On Diff #80950)

This SVN ref is stale now?

Makefile
36

Yes ;)

share/tools/webupdate
27 ↗(On Diff #80950)

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 ↗(On Diff #80950)

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 ↗(On Diff #80950)

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