Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2025 23:55:13 +0100
From:      Steffen Nurpmeso <steffen@sdaoden.eu>
To:        freebsd-current@freebsd.org
Subject:   Re: /usr/src and /usr/ports not git directories ?
Message-ID:  <20250123225513.ioRMw6A5@steffen%sdaoden.eu>
In-Reply-To: <Z5JKUxhYER-5mNBU@mail.gmail.com>
References:  <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> <Z5JKUxhYER-5mNBU@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Tameling wrote in
 <Z5JKUxhYER-5mNBU@mail.gmail.com>:
 |On Thu, Jan 23, 2025 at 06:37:21AM +0100, Steffen Nurpmeso wrote:
 |> What i mean seems to be that these guys already have the knowledge
 |> how to access the object database without any fancy and featureful
 |> and fat environment, so if FreeBSD would do that then possibly
 |> a simple from scratch checkout -- and nothing else -- would be
 |> possible with only shell tools and a small binary that fetches the
 |> blobs?  Maybe even only possible with a very specific tree, you
 |> know?  As in a readily prepared recipe (could be compressed and
 |> reside in the .git directory) that can be walked by the shell
 |> script(s) and accessed by the super minimal blob fetcher?
 |
 |The format is well documented: https://git-scm.com/book/en/v2/Git-Intern\
 |als-Git-Objects

I usually look into the Documentation/ of the source tree, there
it was in the past.

 |You basically have three types of objects: commits, trees and blobs.
 |Everything has a hash and is compressed with zlib. If you really
 |wanted to, it is not too difficult to write something that does a
 |checkout. But there are already enough git alternatives out there that
 |offer the necessary functionality that have more suitable licenses.

The complications usually arise as you go is my experience.
And someone would have to go to make this happen.
Why not ask the Plan9 aka 9front people and dance with Glenda?

--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?20250123225513.ioRMw6A5>