From owner-freebsd-ports@freebsd.org Wed Aug 5 16:31:37 2020 Return-Path: Delivered-To: freebsd-ports@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 F333337B344 for ; Wed, 5 Aug 2020 16:31:37 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BMHFP3zHVz3Y7B for ; Wed, 5 Aug 2020 16:31:37 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 886E637AE36; Wed, 5 Aug 2020 16:31:37 +0000 (UTC) Delivered-To: ports@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 8837E37B343 for ; Wed, 5 Aug 2020 16:31:37 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMHFP1dqnz3Y2v; Wed, 5 Aug 2020 16:31:37 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qk1-x741.google.com with SMTP id l6so42216841qkc.6; Wed, 05 Aug 2020 09:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=Ix7/ppRDJ4ke/EwgSwUwMvwTRBGZmTuzmRY7AcfUo/s=; b=gLPs4BJh/ICvnUp4FCoRIbK6YZz+XYk4ePS03gq2xYy7PxhFG0VUVwmsAoNLCsH2Vk vJ1rVsHqJ8ncqZw7KtvYipbNtE6LFFn7eOHYEElI+tcWVoWZvBEMhFZ3PjGzaskfH7le iF9pLRhD97gxMZn9oQ89Sw0D9Gd7AxRdudsVNazKsJm5XNdsuo8vNvwJJ4TlTUWAIpbV d1xj0tj9t1GNuVA+oJHOUwJrZCrM+WWk/Opk4vRQnrvlzXm1XHEuHxlnvNlC5PH/1Cj1 LAu0k1cWzFUkLGkC0ZFS7qSm33nPowcZp6vTwIPblzvELtc5gFIrFYcaVkdiLCSrhoaT kxOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=Ix7/ppRDJ4ke/EwgSwUwMvwTRBGZmTuzmRY7AcfUo/s=; b=m5PRSBWSRXxrqOhUUX9kktHji3pRUTbqk5FawuFNNzcL64eFQRuXfmCfOOJBDyu8UL F4beBdUDkEo8yBL0pp9yZxTdqDzaJ0fV1WMM16efHLI82KRmP4HHkP4QTFbAd7muxdGw koNiCsy4e5UN8p8Yq1b2iju4eh8qLas6S+vpQKNUy07ifviMXdiUdr47Z/hats++JCMj HTaAObxQeReQ4owIHn58lGhD7+JGz8LtLlmByAuYBK6voyctdOj8DEIcYH7XkKGZSOrW PJtM0zycjLhQkZGGeQh6et3vnCOGbC0tmoOpY63j02n7s7+G64jz9Xmzv/wZQANPPbkU LB6w== X-Gm-Message-State: AOAM5308i2GI+aoq9BpRl4ytqMat2L0UIXPaLvyrXDA29DPcMIbVTxZu LRg/zm2hitDZEju+5SEUXg8cUpoV X-Google-Smtp-Source: ABdhPJz8pSpPTL9b6698Bixppqc2fi6qIFKERpBrHnRxCNGYhrT+5Bp76c/E1VLG9u32NXuwYKl2Pw== X-Received: by 2002:a05:620a:1429:: with SMTP id k9mr4104788qkj.273.1596645095938; Wed, 05 Aug 2020 09:31:35 -0700 (PDT) Received: from [10.0.10.8] (cpe-65-25-51-0.neo.res.rr.com. [65.25.51.0]) by smtp.googlemail.com with ESMTPSA id c33sm2536360qtk.40.2020.08.05.09.31.34 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Aug 2020 09:31:35 -0700 (PDT) Message-ID: <5F2ADEE6.8020009@gmail.com> Date: Wed, 05 Aug 2020 12:31:34 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Steve Wills CC: "ports@FreeBSD.org" Subject: Re: [HEADS UP] Planned deprecation of portsnap References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BMHFP1dqnz3Y2v X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2020 16:31:38 -0000 Steve Wills wrote: > > We are planning to deprecate use of portsnap in ports. > > The reasons are as follows (in no particular order): > > * Portsnap doesn't support quarterly branches, even years after > quarterly branches were created and changed to the default for non-HEAD > packages. > > * Portsnap doesn't seem to save disk space compared to svn or git, if > you count the metadata (stored in /var/db/portsnap by default) and you > do an apples-to-apples comparison of svn or git without history and > ignoring possible ZFS compression. That is, you use "svn export" or git > "clone --depth 1", you see this disk usage: > > 342M svnexport > 426M git > 477M portsnap > > * Portsnap also doesn't work offline which git does. With git, you can > also easily add the history by running "git pull --unshallow" > > * This migration away from portsnap fits well with the planned migration > to git. > > * Also based on the patches we've seen in Bugzilla for some time, usage > of portsnap causes folks to too easily accidentally submit patches to > Bugzilla which don't apply easily. > > * Since portsnap doesn't support quarterly branches, it often causes > users to build on the wrong branch or end up with mismatched packages. > That is, they install packages from quarterly via pkg, then want to > customize so run portsnap and build from head, which can cause problems, > as we often see. Even when this doesn't happen, it adds to > troubleshooting to verify that it didn't. > > We are aware people have gotten used to portsnap, but believe: > > * People should be able to easily use svnlite in base or git from pkgs. > (Very few people seem to actually use WITHOUT_SVNLITE). > > * There is also the possibility of falling back to fetching a tar or zip > from https://cgit-beta.freebsd.org/ports/ although this does make > updating harder. > > How it will be done, in order: > > * Update poudriere to use svn by default. This is already done: > > https://github.com/freebsd/poudriere/pull/764 > > https://github.com/freebsd/poudriere/commit/bd68f30654e2a8e965fbdc09aad238c8bf5cdc10 > > > * Update docs not to mention portsnap. This is already in progress: > > https://reviews.freebsd.org/D25800 > https://reviews.freebsd.org/D25801 > https://reviews.freebsd.org/D25803 > https://reviews.freebsd.org/D25805 > https://reviews.freebsd.org/D25808 > https://svnweb.freebsd.org/changeset/base/363798 > > Many thanks to the folks who have worked and are working on this! > > * Make WITHOUT_PORTSNAP default in base. Currently not certain when this > will happen. May not happen before 13.0, but hopefully it will. > > * Eventually, portsnap servers will see low enough usage they can be > disabled. > > We welcome any constructive feedback. All input would be heard, and if > the plans need to be amended, we will come back to you with the amended > plan in a couple of weeks. This process will take some time and > hopefully won't be too disruptive to anyone's usual workflow. > > Steve (with portmgr@ hat) I seems this is a done deal as changes are already being done now. So the real question is, when is the portsnap utility going to be removed from the base system? Will it happen in 12.2 or 13.0? I maintain ports that use the portsnap utility. One is currently going through a maintenance cycle right now. Should the use of portsnap be removed from the port now?