From nobody Thu Jan 23 22:55:13 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YfGVs21PFz5lb0G for ; Thu, 23 Jan 2025 22:55:17 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4YfGVr34llz3dmr for ; Thu, 23 Jan 2025 22:55:16 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sdaoden.eu header.s=citron header.b=jv9sa97l; spf=pass (mx1.freebsd.org: domain of steffen@sdaoden.eu designates 217.144.132.164 as permitted sender) smtp.mailfrom=steffen@sdaoden.eu; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sdaoden.eu; s=citron; t=1737672915; x=1738339581; h=date:author:from:to:subject: message-id:in-reply-to:references:mail-followup-to:openpgp:blahblahblah: author:from:subject:date:to:cc:resent-author:resent-date:resent-from: resent-sender:resent-to:resent-cc:resent-reply-to:resent-message-id: in-reply-to:references:mime-version:content-type: content-transfer-encoding:content-disposition:content-id: content-description:message-id:mail-followup-to:openpgp:blahblahblah; bh=358EtqdeOs5NFWqt17oF42gO22jRnWy+ZW/TQByUW4M=; b=jv9sa97lGiYaLThOaQjzzN+saIIP8P+2z1H5Ka11xyIYdPchDX2tM+J9tRlU1g0WU5BjhHsk dIxRQLWSoK/6ca7oL2k8whvBgPjtFJL83d52MXdzBQoqLfF+Eej6HSw1RaR2T7m2xXEGjvMlDl vDsWKNuVdllRYY9QJ0hncPKbouEprw4BjrjsLGgNiIu5QjUXuqRWFG8QPXE+4zDa0MKGHZWrhs +y6+YfbCcQ8E5Ej5+CIc8R29a6otCluaBtExPN0vKoJo0QAFU+IO/ldiDWLDZtZDHKQZYfVqLU 7H9KLlwS82+/HCKUqBUKT0+49DZ/ujdQkGv63MWwlC5oOXKw== DKIM-Signature: v=1; a=adaed25519-sha256; c=relaxed/relaxed; d=sdaoden.eu; s=orange; t=1737672915; x=1738339581; h=date:author:from:to:subject: message-id:in-reply-to:references:mail-followup-to:openpgp:blahblahblah: author:from:subject:date:to:cc:resent-author:resent-date:resent-from: resent-sender:resent-to:resent-cc:resent-reply-to:resent-message-id: in-reply-to:references:mime-version:content-type: content-transfer-encoding:content-disposition:content-id: content-description:message-id:mail-followup-to:openpgp:blahblahblah; bh=358EtqdeOs5NFWqt17oF42gO22jRnWy+ZW/TQByUW4M=; b=msQrSZD5qcvcRNElo8+LpNdknOStYWlDpjgoGFWyUsBn8sMQm2tajDCrCCbYRQKJk1yTf9Ps uBWug7ffNlj1Cg== Date: Thu, 23 Jan 2025 23:55:13 +0100 Author: Steffen Nurpmeso From: Steffen Nurpmeso 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: References: <3782b90b-850f-4435-8b6d-bdb83753daea@app.fastmail.com> <20250123074050.d9e331172e6b2f9dbc8b8dfd@dec.sakura.ne.jp> <20250123074932.170b7959bca443a934599a9c@dec.sakura.ne.jp> <20250123053721.KDVDBu1z@steffen%sdaoden.eu> Mail-Followup-To: freebsd-current@freebsd.org User-Agent: s-nail v14.9.25-637-gb6804e05e6-dirty OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Spamd-Result: default: False [-3.38 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[217.144.132.164:from]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.976]; R_SPF_ALLOW(-0.20)[+a:c]; R_DKIM_ALLOW(-0.20)[sdaoden.eu:s=citron]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:15987, ipnet:217.144.128.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DMARC_NA(0.00)[sdaoden.eu]; RCPT_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[sdaoden.eu:+] X-Spamd-Bar: --- X-Rspamd-Queue-Id: 4YfGVr34llz3dmr List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Daniel Tameling wrote in : |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