From owner-freebsd-current@freebsd.org Sat Jan 2 13:10:27 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BF1AF4CF657 for ; Sat, 2 Jan 2021 13:10:27 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from dec.sakura.ne.jp (dec.sakura.ne.jp [210.188.226.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D7Mh23fNXz3rvH for ; Sat, 2 Jan 2021 13:10:26 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (115-38-187-204.shizuoka1.commufa.jp [115.38.187.204]) (authenticated bits=0) by dec.sakura.ne.jp (8.15.2/8.15.2/[SAKURA-WEB]/20080708) with ESMTPA id 102DAGj9055058 for ; Sat, 2 Jan 2021 22:10:16 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sat, 2 Jan 2021 22:10:16 +0900 From: Tomoaki AOKI To: freebsd-current@freebsd.org Subject: Re: etcupdate, svnlite, documentation etc. following the transition of source to Git Message-Id: <20210102221016.fcd9c837b0e1e650d89c5fba@dec.sakura.ne.jp> In-Reply-To: <87pn2nu3n8.wl-herbert@gojira.at> References: <87lfdctq83.wl-herbert@gojira.at> <87pn2nu3n8.wl-herbert@gojira.at> Reply-To: junchoon@dec.sakura.ne.jp Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4D7Mh23fNXz3rvH X-Spamd-Bar: - X-Spamd-Result: default: False [-1.60 / 15.00]; HAS_REPLYTO(0.00)[junchoon@dec.sakura.ne.jp]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[210.188.226.8:from]; ASN(0.00)[asn:9370, ipnet:210.188.224.0/19, country:JP]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[115.38.187.204:received]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[sakura.ne.jp]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[210.188.226.8:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jan 2021 13:10:27 -0000 On Sat, 02 Jan 2021 09:47:07 +0100 "Herbert J. Skuhra" 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? > > > > > > > > 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 > > ======= > > > > > > 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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Tomoaki AOKI