Date: Tue, 16 Feb 2021 10:03:37 +0100 From: Baptiste Daroussin <bapt@nours.eu> To: Mathieu Arnold <mat@freebsd.org> Cc: Alexey Dokuchaev <danfe@freebsd.org>, "Tobias C. Berner" <tcberner@freebsd.org>, 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> In-Reply-To: <20210216085705.zt2qcm6rrpcypnfk@aching.in.mat.cc> References: <202102141234.11ECYrx3027630@repo.freebsd.org> <20210214132857.GA89961@FreeBSD.org> <20210215090549.zad3k3xkahbtiyy3@aching.in.mat.cc> <eb473f35-b403-4ebe-9402-45e173594b95@nours.eu> <20210216085705.zt2qcm6rrpcypnfk@aching.in.mat.cc>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mat@freebsd.org>: > > > > > 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 <lantw44@gmail.com> > > >>> # $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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210216090337.e5zehk5xadmubwga>