Re: [9fans] /usr/src and /usr/ports not git directories ?

From: Bakul Shah <bakul_at_iitbombay.org>
Date: Fri, 24 Jan 2025 00:15:04 UTC
[-9fans, +freebsd-current as 9fans adds a reply-to: 9fans line]

> On Jan 23, 2025, at 3:53 PM, Warner Losh <imp@bsdimp.com> wrote:
> 
> I fail to see how putting code in the kernel is better than just using got for the few people that are alergic to git. Even if it is only 1000 lines in plan 9, but likely more in FreeBSD and by the way not yet ported to FreeBSD. We know got can't crash the system and is small enough to not matter, even if it isn't in the base today.


May I suggest:
- always ship the *commit hash* for any release or snapshot with its base.txz
- src.txz as now (or add commit hash)
- this is enough to download a repo (1-deep or whatever), bare if src.txz was also unpacked.
- add a simple script to download as above.
- people can install whatever git client they want for further work.

git9 doesn't require any kernel code but on freebsd you'd have to
use plan9port. It is far simpler but has a different interface.