Date: Sat, 6 Sep 2025 21:47:46 +0200 From: Daniel Engberg <diizzy@FreeBSD.org> To: Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Git haas gone wild (Rust) Message-ID: <ebf88675-31db-4213-9584-e5f4e9fc0c22@FreeBSD.org> In-Reply-To: <CANCZdfq3cG1OKDxem2kz-AGb5VcseDUi39-4O5O-BND-LvMYuw@mail.gmail.com> References: <00202803-6a1a-44ca-b110-9f1404d2c9bc@FreeBSD.org> <68407e14-4853-4157-913a-dc38685dc140@FreeBSD.org> <01cbab09-fd73-f2b7-d7eb-80bc3dc06129@grosbein.net> <CANCZdfqPFi6PAQpP=pCtfe0XjeOe6K-8TY6K-b22VZURzUGaMw@mail.gmail.com> <97c13d79-b7d8-49b7-9924-6c9868006e07@FreeBSD.org> <CANCZdfq3cG1OKDxem2kz-AGb5VcseDUi39-4O5O-BND-LvMYuw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2025-09-06 20:52, Warner Losh wrote: > > > On Sat, Sep 6, 2025, 12:37 PM Kyle Evans <kevans@freebsd.org> wrote: > > On 9/6/25 08:47, Warner Losh wrote: > > > > > > On Sat, Sep 6, 2025, 7:39 AM Eugene Grosbein <eugen@grosbein.net > <mailto:eugen@grosbein.net>> wrote: > > > > 06.09.2025 20:17, Matthias Andree wrote: > > > > > Am 05.09.25 um 18:42 schrieb Michael Osipov: > > >> Folks, > > >> > > >> you might want to enjoy or discuss: > https://lore.kernel.org/ <https://lore.kernel.org/> > git/20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/T/#t > <http://20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/T/#t> > <http://20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/T/#t> > > >> > > >> Michael > > > > > > This poses a bootstrapping problem, (if we need Git to > get the Rust build for ports... there's a chicken-and-egg problem) > > > > Maybe it is time for us to bring net/gitup into base system. > > It's written in pure C and comes under BSD2CLAUSE license. > > Also, it matured over many years and runs just fine. > > > > For the reference: https://github.com/johnmehr/gitup > <https://github.com/johnmehr/gitup> > > > > > > > > Got is better supported and wouldn't be an instant burden. > > > > Warner > > > > > > fuz@ and I discussed this a little bit yesterday, too. I think > it'd be fine to introduce got if we have > a simple wrapper to checkout (and maybe update) a repository in a > git-compatible way so that one could > easily migrate between the two. Something like: clone the > repository to /usr/{src,ports}.git, checkout a > worktree to /usr/{src,ports}, then add a git-style .git symlink to > point back to the appropriate .git dir > so that git recognizes it as a worktree. > > git itself can create an identical layout with `git clone > --separate-git-dir=/usr/src.git ...` > > > Yea. It's the perfect lightweight thing that can "upgrade" to native > git if need be.. plus upstream is more active, imho... these wrappers > would ease the transition. > > Warner > > Thanks, > > Kyle Evans > Got was really slow last time I tested it (a while back), is that fixed now? https://projects.pyret.net/files/public/freebsd/git-tools.htm Best regards, Daniel [-- Attachment #2 --] <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <div class="moz-cite-prefix">On 2025-09-06 20:52, Warner Losh wrote:<br> </div> <blockquote type="cite" cite="mid:CANCZdfq3cG1OKDxem2kz-AGb5VcseDUi39-4O5O-BND-LvMYuw@mail.gmail.com"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <div dir="auto"> <div><br> <br> <div class="gmail_quote gmail_quote_container"> <div dir="ltr" class="gmail_attr">On Sat, Sep 6, 2025, 12:37 PM Kyle Evans <<a href="mailto:kevans@freebsd.org" moz-do-not-send="true" class="moz-txt-link-freetext">kevans@freebsd.org</a>> wrote:<br> </div> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 9/6/25 08:47, Warner Losh wrote:<br> > <br> > <br> > On Sat, Sep 6, 2025, 7:39 AM Eugene Grosbein <<a href="mailto:eugen@grosbein.net" target="_blank" rel="noreferrer" moz-do-not-send="true" class="moz-txt-link-freetext">eugen@grosbein.net</a> <mailto:<a href="mailto:eugen@grosbein.net" target="_blank" rel="noreferrer" moz-do-not-send="true" class="moz-txt-link-freetext">eugen@grosbein.net</a>>> wrote:<br> > <br> > 06.09.2025 20:17, Matthias Andree wrote:<br> > <br> > > Am 05.09.25 um 18:42 schrieb Michael Osipov:<br> > >> Folks,<br> > >><br> > >> you might want to enjoy or discuss: <a href="https://lore.kernel.org/" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://lore.kernel.org/</a> <<a href="https://lore.kernel.org/" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://lore.kernel.org/</a>> git/<a href="http://20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/T/#t" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true">20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/T/#t</a> <<a href="http://20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/T/#t" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">http://20250904-b4-pks-rust-breaking-change-v1-0-3af1d25e0be9@pks.im/T/#t</a>><br> > >><br> > >> Michael<br> > ><br> > > This poses a bootstrapping problem, (if we need Git to get the Rust build for ports... there's a chicken-and-egg problem)<br> > <br> > Maybe it is time for us to bring net/gitup into base system.<br> > It's written in pure C and comes under BSD2CLAUSE license.<br> > Also, it matured over many years and runs just fine.<br> > <br> > For the reference: <a href="https://github.com/johnmehr/gitup" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/johnmehr/gitup</a> <<a href="https://github.com/johnmehr/gitup" rel="noreferrer noreferrer" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/johnmehr/gitup</a>><br> > <br> > <br> > <br> > Got is better supported and wouldn't be an instant burden.<br> > <br> > Warner<br> > <br> > <br> <br> fuz@ and I discussed this a little bit yesterday, too. I think it'd be fine to introduce got if we have<br> a simple wrapper to checkout (and maybe update) a repository in a git-compatible way so that one could<br> easily migrate between the two. Something like: clone the repository to /usr/{src,ports}.git, checkout a<br> worktree to /usr/{src,ports}, then add a git-style .git symlink to point back to the appropriate .git dir<br> so that git recognizes it as a worktree.<br> <br> git itself can create an identical layout with `git clone --separate-git-dir=/usr/src.git ...`<br> </blockquote> </div> </div> <div dir="auto"><br> </div> <div dir="auto">Yea. It's the perfect lightweight thing that can "upgrade" to native git if need be.. plus upstream is more active, imho... these wrappers would ease the transition. </div> <div dir="auto"><br> </div> <div dir="auto">Warner </div> <div dir="auto"><br> </div> <div dir="auto"> <div class="gmail_quote gmail_quote_container"> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Thanks,<br> <br> Kyle Evans<br> <br> </blockquote> </div> </div> </div> </blockquote> <p>Got was really slow last time I tested it (a while back), is that fixed now?<br> <a class="moz-txt-link-freetext" href="https://projects.pyret.net/files/public/freebsd/git-tools.htm">https://projects.pyret.net/files/public/freebsd/git-tools.htm</a></p> <p>Best regards,<br> Daniel<br> </p> </body> </html>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ebf88675-31db-4213-9584-e5f4e9fc0c22>
