From owner-freebsd-questions@freebsd.org Mon Jan 11 10:37:20 2021 Return-Path: Delivered-To: freebsd-questions@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 0B8044D49C0 for ; Mon, 11 Jan 2021 10:37:20 +0000 (UTC) (envelope-from 4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDqsC0J85z3H97 for ; Mon, 11 Jan 2021 10:37:18 +0000 (UTC) (envelope-from 4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1610361439; x=1612953439; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=U+Kw4Nl8eMU9PA9lHx4lyQ12l9b3CnP3qDQwor0fENE=; b=CI3nhWoImojYpDHLa9QJ0d9CWQ2/zCHF9uvsx0bLllJBHOVs7yn4Xgz0hNZsiLgqz9M2T6F2dpfin/92SiZSvUj174vfGgE8RHmdzRAT4V0c6ViatJ/N0BoZC4nKja8QdKp8S3ez7dyeNxwlD0NHgia2Q6v7XqkaRJCoYcRnDj0= X-Thread-Info: NDI1MC45Mi4xZDRjNzAwMDNiMThjMTAuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.sg.in.socketlabs.com (r1.sg.in.socketlabs.com [142.0.179.11]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 11 Jan 2021 05:37:13 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 11 Jan 2021 05:37:13 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kyuZU-000Ckp-2r; Mon, 11 Jan 2021 10:37:12 +0000 Date: Mon, 11 Jan 2021 10:37:11 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: Eduardo =?UTF-8?B?TW9ycsOhcw==?= Subject: Re: github ports Message-Id: <20210111103711.cfc9272b2d1e3884a99a3f34@sohara.org> In-Reply-To: <20210111110038.35efd1a2820c47bb89b0552a@yahoo.es> References: <20210110133605.6538dfd5@dismail.de> <9cf7e6cd-7eb2-3e21-f11c-1470f53a0107@FreeBSD.org> <20210111092116.b7e9fc2b87ce745162849fd0@sohara.org> <20210111110038.35efd1a2820c47bb89b0552a@yahoo.es> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DDqsC0J85z3H97 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=CI3nhWoI; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com X-Spamd-Result: default: False [-2.70 / 15.00]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; FREEMAIL_CC(0.00)[yahoo.es]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 10:37:20 -0000 On Mon, 11 Jan 2021 11:00:38 +0100 Eduardo MorrĂ¡s via freebsd-questions wrote: > On Mon, 11 Jan 2021 09:21:16 +0000 > Steve O'Hara-Smith wrote: > > > On Mon, 11 Jan 2021 09:57:37 +0100 > > Erwan David wrote: > > > > > What is the solution for those who are not interessed/cannot handle > > > the whole history with all branches ? > > > > Add these to the git clone command. > > > > --depth 1 --single-branch > > So, can I change > > #portsnap fetch update > > with > > with this sh script? > > #!/bin/sh > git clone --depth 1 --single branch > git://github.com/freebsd/freebsd-ports ports > > Or will be it more complicated and prone to error? You want to do the clone once to set things up, after that you use git pull git://github.com/freebsd/freebsd-ports ports -- Steve O'Hara-Smith