Re: etcupdate, svnlite, documentation etc. following the transition of source to Git

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Sat, 2 Jan 2021 22:10:16 +0900
On Sat, 02 Jan 2021 09:47:07 +0100
"Herbert J. Skuhra" <herbert_at_gojira.at> wrote:

> On Sat, 02 Jan 2021 09:31:36 +0100, Graham Perrin wrote:
> > 
> > With the transition to Git
> > 
> > ==========================
> > 
> > If it's true that /usr/src is _no longer_ a predictable path to the
> > source files, then is it still appropriate for users' fortunes to
> > include this FreeBSD tip?
> > 
> > <https://cgit.freebsd.org/src/tree/usr.bin/fortune/datfiles/freebsd-tips?id=6b8f0ba8e29699e1184c27e8c72574896fb0a661#n529>
> > 
> > It is, still, essentially a smart tip (thank you, Lars) however some
> > readers who have switched to the `git` approach might benefit from an
> > additional hint to use option -s
> > 
> > svnlite
> > =======
> > 
> > <https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html>
> > still describes use of `svnlite` (not `git` or `got`) and, I guess,
> > might continue to do so for some time.
> > 
> > In this context, is `cd /usr/src` still true?
> 
> If you clone the repository to /usr/src instead of e.g.
> /usr/src/freebsd-current.

I think cloning src tree into a subdirectory of /usr/src should be
discouraged.

Cloning into e.g. /usr/src-git/(branch) and make /usr/src a symlink (or
hardlink) to whichever the branch to be built/installed would be better
if you want to keep multiple branch.

Of course, if you need only one branch (e.g. main) and want to follow
existing official example, /usr/src is the only place to clone repo to.

> 
> --
> Herbert
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


-- 
Tomoaki AOKI    <junchoon_at_dec.sakura.ne.jp>
Received on Sat Jan 02 2021 - 12:10:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC