From owner-freebsd-ports@freebsd.org Wed Aug 5 22:17:47 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 930243AA62B for ; Wed, 5 Aug 2020 22:17:47 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BMQwq251Kz4JL1 for ; Wed, 5 Aug 2020 22:17:47 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mailman.nyi.freebsd.org (Postfix) id 45B603AA62A; Wed, 5 Aug 2020 22:17:47 +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 446493AA6C8 for ; Wed, 5 Aug 2020 22:17:47 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BMQwn6F3sz4JRw; Wed, 5 Aug 2020 22:17:45 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 56041fdf; Wed, 5 Aug 2020 22:17:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=IAgYexP4FX2vJh e25FBm1OQPWCg=; b=mQz/Ct+crvUsAe36Ohq10cpSejf2/e2kbhndRtFRo037Xa 0CBuAl/NYzP82Dbo7JFAOxD8zaMw8hQBno2W9vAsyU1MyuO93bK3VYgTgXDGJjR3 Pt+RIZLD73GnNSKXMs1mlInagt8gqt5QO4uG22YLbWUFf5xgRM7DGjE30jyJa5Jy MD6grdW0FSmatL6gvEHgWJCtrXgyd8SH3vPDoGv771/U4uYb8bMt1hE0WCOXve7T SUzjAHUIlDLm68K/nosT1TE21HB/47Tx+/JxpvKjuOKV6gtOzy9VasZ1kB15ZJ1V IABgAwy6mS/+4IKe93mkAX3KhYixUL6OlxphWt8w== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=jarG+7H1 L2SX1ZXdYVIywBmgMtdk9CKMXjjfmgMLOpo33NsxBljTaAsub4lGUMU2ZvEgqF+8 5JnHQNUJzRd8D82FZVpNGHPj9hrpJY7B4oRqDb+BBJMcQ20TBWpygI5hAQyUsRij M0kOKHJW+oQADwenL3JzzCOteAlejSGGJxgviPT43LpCz2OZxxZE10TnGeJX/wd4 oAebNY9U8DexjAjr3Cw8p0n/g2TJm4Yw3xUnyiQQlSmKx3BgYERMtpGG/SGO7eRV Mw+vrQjuyuoAM7ZeW+tHz9EgmQG/iX5lACAQdnE6VV1hZo5TXglZVOc0+yel3LET sSVp+2+DzKRF/g== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 812e0b9c (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); Wed, 5 Aug 2020 22:17:38 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: [HEADS UP] Planned deprecation of portsnap From: Michael Gmelin In-Reply-To: Date: Thu, 6 Aug 2020 00:17:37 +0200 Cc: "ports@FreeBSD.org" Message-Id: References: To: Steve Wills X-Mailer: iPhone Mail (17F80) X-Rspamd-Queue-Id: 4BMQwn6F3sz4JRw X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=mQz/Ct+c; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-1.82 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; DMARC_NA(0.00)[grem.de]; NEURAL_SPAM_SHORT(0.18)[0.179]; NEURAL_HAM_LONG(-1.01)[-1.011]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; DKIM_TRACE(0.00)[grem.de:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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 22:17:47 -0000 > On 4. Aug 2020, at 20:43, Steve Wills wrote: >=20 > =EF=BB=BF > We are planning to deprecate use of portsnap in ports. >=20 > The reasons are as follows (in no particular order): >=20 > * Portsnap doesn't support quarterly branches, even years after quarterly b= ranches were created and changed to the default for non-HEAD packages. >=20 > * Portsnap doesn't seem to save disk space compared to svn or git, if you c= ount the metadata (stored in /var/db/portsnap by default) and you do an appl= es-to-apples comparison of svn or git without history and ignoring possible Z= FS compression. That is, you use "svn export" or git "clone --depth 1", you s= ee this disk usage: >=20 > 342M svnexport > 426M git > 477M portsnap >=20 > * Portsnap also doesn't work offline which git does. With git, you can als= o easily add the history by running "git pull --unshallow" >=20 > * This migration away from portsnap fits well with the planned migration t= o git. >=20 > * 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. >=20 > * 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, t= hey install packages from quarterly via pkg, then want to customize so run p= ortsnap 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. >=20 > We are aware people have gotten used to portsnap, but believe: >=20 > * People should be able to easily use svnlite in base or git from pkgs. (V= ery few people seem to actually use WITHOUT_SVNLITE). >=20 > * There is also the possibility of falling back to fetching a tar or zip f= rom https://cgit-beta.freebsd.org/ports/ although this does make updating ha= rder. >=20 > How it will be done, in order: >=20 > * Update poudriere to use svn by default. This is already done: >=20 > https://github.com/freebsd/poudriere/pull/764 > https://github.com/freebsd/poudriere/commit/bd68f30654e2a8e965fbdc09aad238= c8bf5cdc10 >=20 > * Update docs not to mention portsnap. This is already in progress: >=20 > 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 >=20 > Many thanks to the folks who have worked and are working on this! >=20 > * Make WITHOUT_PORTSNAP default in base. Currently not certain when this w= ill happen. May not happen before 13.0, but hopefully it will. >=20 > * Eventually, portsnap servers will see low enough usage they can be disab= led. >=20 > 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 t= oo disruptive to anyone's usual workflow. What will be the process to bootstrap git? Thanks >=20 > Steve (with portmgr@ hat) > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"