From owner-svn-ports-all@freebsd.org Tue Feb 16 09:03:39 2021 Return-Path: Delivered-To: svn-ports-all@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 7F95152F266; Tue, 16 Feb 2021 09:03:39 +0000 (UTC) (envelope-from bapt@nours.eu) Received: from aniel.nours.eu (ns393929.ip-176-31-115.eu [176.31.115.77]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dfw4W2hJDz3HgN; Tue, 16 Feb 2021 09:03:38 +0000 (UTC) (envelope-from bapt@nours.eu) Received: by aniel.nours.eu (Postfix, from userid 1001) id 6B18F759EE; Tue, 16 Feb 2021 10:03:37 +0100 (CET) Date: Tue, 16 Feb 2021 10:03:37 +0100 From: Baptiste Daroussin To: Mathieu Arnold Cc: Alexey Dokuchaev , "Tobias C. Berner" , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r565221 - in head: . misc/hwdata misc/pnpids Message-ID: <20210216090337.e5zehk5xadmubwga@aniel.nours.eu> References: <202102141234.11ECYrx3027630@repo.freebsd.org> <20210214132857.GA89961@FreeBSD.org> <20210215090549.zad3k3xkahbtiyy3@aching.in.mat.cc> <20210216085705.zt2qcm6rrpcypnfk@aching.in.mat.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210216085705.zt2qcm6rrpcypnfk@aching.in.mat.cc> X-Rspamd-Queue-Id: 4Dfw4W2hJDz3HgN X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 09:03:39 -0000 On Tue, Feb 16, 2021 at 09:57:05AM +0100, Mathieu Arnold wrote: > On Mon, Feb 15, 2021 at 10:48:30PM +0000, Baptiste Daroussin wrote: > > > > 15 févr. 2021 10:06:03 Mathieu Arnold : > > > > > On Sun, Feb 14, 2021 at 01:28:57PM +0000, Alexey Dokuchaev wrote: > > >> On Sun, Feb 14, 2021 at 12:34:53PM +0000, Tobias C. Berner wrote: > > >>> New Revision: 565221 > > >>> URL: https://svnweb.freebsd.org/changeset/ports/565221 > > >>> > > >>> Log: > > >>>   Move misc/pnpids to misc/hwdata > > >>>   > > >>> @@ -1,26 +1,24 @@ > > >>> # Created by: Ting-Wei Lan > > >>> # $FreeBSD$ > > >>> > > >>> -PORTNAME=  pnpids > > >>> +PORTNAME=  hwdata > > >>> DISTVERSIONPREFIX= v > > >>> DISTVERSION= 0.344 > > >>> -PORTREVISION=  1 > > >>> +PORTREVISION=  2 > > >>> PORTEPOCH= 1 > > >> > > >> You could've reset PORTEPOCH and PORTREVISION since this is a new package. > > > > > > Well, technically, no, it is the same package, only it has a new name. > > > Preserving the version allows for a seamless upgrade. > > > > > How so? The port has a new name, a new origin, etc, it is a totally different package now > > Yes, but when we introduce the PKGMOVED file to handle package renames, > like we talked about, it will be required. > Yes and in that case pkg will just reinstall the new package because it has been renamed and ignore the version schema, so we can reset portepoch except if one explains me it is a bad idea :D Bapt