From owner-freebsd-current@freebsd.org Thu Dec 17 21:25:52 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F39D4C5078 for ; Thu, 17 Dec 2020 21:25:52 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a05:fc87:1:5::15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.spoerlein.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CxlR405b4z4q2t; Thu, 17 Dec 2020 21:25:51 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from localhost (acme.spoerlein.net [IPv6:2a05:fc87:1:5:0:0:0:15]) by acme.spoerlein.net (8.16.1/8.15.2) with ESMTPS id 0BHLPgBU035499 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 17 Dec 2020 22:25:42 +0100 (CET) (envelope-from uqs@freebsd.org) Date: Thu, 17 Dec 2020 22:25:42 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Shawn Webb Cc: Baptiste Daroussin , Warner Losh , FreeBSD Current Subject: Re: git tools for building in base? Message-ID: Mail-Followup-To: Shawn Webb , Baptiste Daroussin , Warner Losh , FreeBSD Current References: <20201125150050.bz62hatil6sbhdwn@ivaldir.net> <20201125150548.vkqgtlqnawgwujbn@mutt-hbsd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20201125150548.vkqgtlqnawgwujbn@mutt-hbsd> User-Agent: Mutt/2.0.1 (2020-11-14) X-Rspamd-Queue-Id: 4CxlR405b4z4q2t X-Spamd-Bar: / X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:39540, ipnet:2a05:fc87::/32, country:CH] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2020 21:25:52 -0000 On Wed, 2020-11-25 at 10:05:48 -0500, Shawn Webb wrote: >On Wed, Nov 25, 2020 at 04:00:50PM +0100, Baptiste Daroussin wrote: >> On Tue, Nov 24, 2020 at 09:59:15PM -0700, Warner Losh wrote: >> > On Tue, Nov 24, 2020 at 2:19 PM tech-lists wrote: >> > >> > > As subject - what will there be in base to interact with the new git repo? >> > > I mean, right now, for svn there is svnlite. What for git? >> > > >> > >> > 'pkg add git' is your choice now. >> >> pkg install not pkg add > >There's also fetch for a one-time download of the ports tree >(bootstrapping ports, for example). A HardenedBSD user would do this: > >fetch -o ports.tar.gz \ > https://git-01.md.hardenedbsd.org/HardenedBSD/hardenedbsd-ports/archive/master.tar.gz > >mkdir -p /usr/ports > >tar -xf ports.tar.gz --strip-components 1 -C /usr/ports > >Something similar could be done in FreeBSDlandia. > cgit supports this of course, so the troglodytes can download src/ports/doc from cgit, using only FreeBSD-provided tools like so: fetch -o- https://cgit.freebsd.org/doc/snapshot/doc-main.tar.gz | tar -C /usr/doc -xf - hth Uli