From nobody Sun Apr 23 15:20:24 2023 X-Original-To: dev-commits-src-main@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 4Q4Bm42K1tz464D4; Sun, 23 Apr 2023 15:20:36 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q4Bm3720Zz3s92; Sun, 23 Apr 2023 15:20:35 +0000 (UTC) (envelope-from kevans@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682263236; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2/QpuzNWeMVFab63GPx0QOCPeDriduMsdOZl0RNhzkw=; b=LIq8TTwb5Mn2W83UnrcFOs4Czy/x1HdmIKNsBUoDc8jCBQtnZ7C+XYnu1SZp3zRym560cE EswBcDQ51MnfCaWkpHzoBXdm+nrm4/Q7mLyH37mhtK2pPe8QARoChDMHjgywzozQzhL0AS C3AuVwd8Owo7hs4gEA5xvkSNxCxwZoZ0GeRrCZPd7zYmK3Fweb3+9poI7iyaMbE3MwM0Uf hggKMUUACcaxdiDlG4jADe7fb530/zu2ts45XK3PPSyolSScmHV8pVct9ZK+QKMpvMc5V/ UTj7FGBK2HfLirgKN5Pwtp/uiVLsHkDCIn6m47w0v+gsdlGLvyKe8DIkUW0oxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682263236; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2/QpuzNWeMVFab63GPx0QOCPeDriduMsdOZl0RNhzkw=; b=vRi6aHpnAvudxLPYM/bpn5wxTc6+hIYz3L2j0fo4TGAXzP1o8Mf+hDLwDOC1gZwo/KpyGO +YPmkmtAAh8YC6kRFRYjFm3lUMxhVZcw8K2fCqR+sgniumHH0iD9CWOi/wgTSFYZH8wO+b ZKLEd9xU1MacXntLZRnZbcwDaMjUtWBHJFnxXpmkVHj7hNkgNAvMam9se2MY87/t+m10Pj KL4tazWIWHM/BRMjoYa3XXwQsaf1lG+zn55t6XWBUIW5dgeN7ZuL05mUSsjfRcbV+hzPum HVQG++LcWDVczbiPGfX/yZHTPxxOFt+sHL6X35ODt2lnPQ+2Mqn8QZbSlZ3JWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682263236; a=rsa-sha256; cv=none; b=DudeXJCAOvwqUeAWP/PknPUhuyCDtsFphOCXsYqFpH6O2A9M1Ajsnt8EEyAIT/Dcae484h 4h/HZRurZncAxNRZqqm0mjS5Uqr1tFOH0/iS7wubzxobM937cwuT8bzgFLMVZEeQVXTOoY OtD8iqlWVrZjqHyeBFUyM44eYxwmQdOHPunMf2Oh7L1LzXMTBsYvF57R92JA6f+jedjk1X Z2mq3NFoqNbdyTEXcx+jGV/Xrcoo9zZaltX6lzIUxnCrzvm5i/Il9QpZsybiO45tjC4vs6 WSp1yVf9E/pDw6Dw3vuX8QZsziZrUJt4b4PDBiikwVr2046gNCX/afds0XQiPg== Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Q4Bm35zfyz1CsM; Sun, 23 Apr 2023 15:20:35 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-74ac861476dso175486185a.3; Sun, 23 Apr 2023 08:20:35 -0700 (PDT) X-Gm-Message-State: AAQBX9eFf7rUyATxDcDw/uhJSxxBjLJW4EjDfdg5JZSGHyUOukiXdmyW Ztd7EZS6BIJ+sCfGLK+QqaByNZm02aEbfXgxMKo= X-Google-Smtp-Source: AKy350YYUmeFrZHED6bvsYdS6UHQGwpkVdVKgx+mpz7LNldv6UoTpEolXeEvA7x6O+D+g/FTqPBiHYMD5W99JODURXw= X-Received: by 2002:a05:6214:234d:b0:537:6416:fc2b with SMTP id hu13-20020a056214234d00b005376416fc2bmr21461062qvb.52.1682263235365; Sun, 23 Apr 2023 08:20:35 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 References: <202304230112.33N1ChPx076100@gitrepo.freebsd.org> In-Reply-To: From: Kyle Evans Date: Sun, 23 Apr 2023 10:20:24 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: git: df53ae0fdd98 - main - Remove portsnap(8) To: Alexey Dokuchaev Cc: "Piotr P. Stefaniak" , Colin Percival , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, Cluster Administrators Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-ThisMailContainsUnwantedMimeParts: N On Sun, Apr 23, 2023 at 10:01=E2=80=AFAM Alexey Dokuchaev wrote: > > On Sun, Apr 23, 2023 at 06:12:18AM +0000, Piotr P. Stefaniak wrote: > > On 2023-04-23 01:12:43, Colin Percival wrote: > > > Remove portsnap(8) > > > > > > Rather than having a tool in the FreeBSD base system for obtaining > > > the FreeBSD ports tree, users are encouraged to `pkg install git` > > > and then `git clone https://git.FreeBSD.org/ports.git /usr/ports`. > > > > With my 64 KB/s downlink a shallow copy of just the main branch takes > > almost 4 hours. What's worse, git has no way of resuming an interrupted > > download. > > My internet connection is roughly the same, and full "git clone" always > fails. However, repeated "git fetch --depth=3Dn ; n++" allowed me to get > the ports tree in a few days, eventually. I have to use this trick for > any large repo, it migth seem annoying, but it does work. > I've mentioned it a couple times on lists, but this seems like a good time to bring it up again: I maintain repo bundles of all of our repositories, at least, on freefall: https://people.freebsd.org/~kevans/bundles/ -- fetch this with whatever hip thing you have that does resumable downloads and clone a repository from it, then adjust the remote to point to the upstream repo and incremental fetch to the current version. One could imagine that clusteradm@ could take this over and make it fetchable via, say, anongit@git.f.o so one can rsync it. I call the script that I use freebsd-bundler, but it largely goes away if they just create the bundles out of the --bare source of truth repos. Thanks, Kyle Evans