Re: /usr/src and /usr/ports not git directories ?

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Tue, 21 Jan 2025 22:05:21 UTC
On Tue, 21 Jan 2025 22:35:18 +0200
Sulev-Madis Silber <freebsd-current-freebsd-org111@ketas.si.pri.ee>
wrote:

> not shipping src in installer? what could possibly go wrong!
> 
> i was just thinking of this the other day. that installers are self-contained packages that come with os and it's source...

When needed building something locally (i.e., custom kernel with
genuine world, only some specific leaf ports needs non-default
options), src and/or ports package that exactly matches what other
parts are built from would be wanted, and it could be difficult for
newbies determining at which commit they'd been built from.

With this aspect (alone), src and ports packages would be useful.


> On January 21, 2025 10:09:43 PM GMT+02:00, Gleb Smirnoff <glebius@freebsd.org> wrote:
> ...
> >I think that /usr/src and /usr/ports as part of FreeBSD release
> >distribution should just go away.  But we should provide a one liner
> >command to get them in a proper way (shallow git checkout).



-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>