Date: Sat, 25 Jan 2025 18:30:39 +0100 From: Steffen Nurpmeso <steffen@sdaoden.eu> To: Bakul Shah <bakul@iitbombay.org> Cc: FreeBSD Current <freebsd-current@freebsd.org>, 9fans@9fans.net, Jacob Moody <moody@posixcafe.org>, Tomoaki AOKI <junchoon@dec.sakura.ne.jp>, Tomek CEDRO <tomek@cedro.info>, Gleb Smirnoff <glebius@freebsd.org>, Dave Cottlehuber <dch@skunkwerks.at>, bob prohaska <fbsd@www.zefox.net>, Sulev-Madis Silber <freebsd-current-freebsd-org111@ketas.si.pri.ee> Subject: Re: [9fans] /usr/src and /usr/ports not git directories ? Message-ID: <20250125173039.ZDSflcFf@steffen%sdaoden.eu> In-Reply-To: <A63BBCC9-88C8-4C00-9337-DFC62BFC4192@iitbombay.org> References: <Z4vk3009iSwuzG4K@www.zefox.net> <Z4__B0EQM-ce0qPE@cell.glebi.us> <C509F94C-2AC2-414F-90C0-355C69869D72@ketas.si.pri.ee> <Z5AQ1GcwX_MZw69G@www.zefox.net> <CANCZdfoHUsZusqMg_gWN5mB9P3xByGv_GfELi9Dd63CHto1igw@mail.gmail.com> <3782b90b-850f-4435-8b6d-bdb83753daea@app.fastmail.com> <CANCZdfruU=GR5DFWL7RQA4_yjh2-NHOB669wsOSL1DzZ3Fs7%2BQ@mail.gmail.com> <Z5Ehmzd4tp-Xf8Q8@cell.glebi.us> <CAFYkXj=nwjK%2BBnKg%2B0vkyeMu8XaLErCVe8Xr1g3%2BDOaOpeCBXA@mail.gmail.com> <CANCZdfq%2BTAW7v-1H71HSY=pFuO2FDkzAU04q_O-6SjTBdSFgSg@mail.gmail.com> <20250123074050.d9e331172e6b2f9dbc8b8dfd@dec.sakura.ne.jp> <20250123074932.170b7959bca443a934599a9c@dec.sakura.ne.jp> <20250123053721.KDVDBu1z@steffen%sdaoden.eu> <f6c74829-1192-4fc8-a474-318676655708@posixcafe.org> <20250123224953.HqgH-rtf@steffen%sdaoden.eu> <82b58c18-9239-4e18-93b4-30297d7bdacf@posixcafe.org> <CANCZdfr%2BDgnS8-QTZ7x7_sTKv%2BZAw9r=EC7gWvy2nfSV-_ispg@mail.gmail.com> <A63BBCC9-88C8-4C00-9337-DFC62BFC4192@iitbombay.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bakul Shah wrote in <A63BBCC9-88C8-4C00-9337-DFC62BFC4192@iitbombay.org>: |[-9fans, +freebsd-current as 9fans adds a reply-to: 9fans line] |> On Jan 23, 2025, at 3:53=E2=80=AFPM, Warner Losh <imp@bsdimp.com> wrote: |>=20 |> 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. I never meant to take _exactly_ the code as in Plan9 / 9front btw. I only knew he was doing the work already, and did so over so several years, so there is experience. Likely the code that accesses git's objects/ as such is pretty lean / portable. Maybe even he would have been willing to port the extract to POSIX so that for example "xy HASH" searches in . and cats a blob content to stdout, you know. Hey, it seems his qpath() even uses Torek's hash! Here you have the BSD link you are missing. :) A nice Sunday everyone whoeever can, and others even more. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) | |In Fall and Winter, feel "The Dropbear Bard"s pint(er). | |The banded bear |without a care, |Banged on himself for e'er and e'er | |Farewell, dear collar bear
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250125173039.ZDSflcFf>