From owner-svn-ports-all@freebsd.org Thu Mar 2 18:13:15 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 96EE6CF4D79 for ; Thu, 2 Mar 2017 18:13:15 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-ot0-x22c.google.com (mail-ot0-x22c.google.com [IPv6:2607:f8b0:4003:c0f::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5EBE9A7D for ; Thu, 2 Mar 2017 18:13:14 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by mail-ot0-x22c.google.com with SMTP id k4so57823899otc.0 for ; Thu, 02 Mar 2017 10:13:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sunpoet-net.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=MXoDOp9AqQ+4Z1NsjCX3AQJXtwkYgKRDLgBCzTTZYzM=; b=LAznrOzAiF9j4o9zPqnzaPt5VOVkZulzQiPIJFXSlE34nflILk6ggAP97As+kseB50 M9odn/nB1jpGzQAyGBMQT9/nf6wMZLW7gBxyOw2eb5C5cL2q6jROMSC7YvQhjC/Jo5ce m13mtvm6A0Po0Bar1J0TP0mzdS7wG4IAcR/z8b2dTN/ezUSBwmVJORwEukRVIcs3h+X+ cpbPqG9q1gfBQj42yzS2T4IkBY0MYcBJkOQRgGye+ByqnZq3MxBODw0ryvVT4amIPHhg yhzf8/AQV7NDQjy/fWT7dIO1UmuCsxidjwNBoQKLvlNXUVn/seLb60I6HmTtB41NT/1j rrhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=MXoDOp9AqQ+4Z1NsjCX3AQJXtwkYgKRDLgBCzTTZYzM=; b=qWZH+3xjwPautz6lo48Rm8lKEaVlPcs2Ssvv9Ov9JlwZ1AZ1hGC8NV7v3NYZapqBHd YdtukQu446VZjyw5YplhQmGjYbNx3jP/Eg0yVdDzCFhlXCFPw4FOPguWC0IuXOdO/rUm o+dUOLy0eN+1IcPyMvIdmc3FGE8qofJVWAAi9tAHSU1autA9uT5u+OsZR0ssqeycwnwf YI3CrI/FDR1croGL+sXPibHYfnQ/D90u9AmYUr85AvTrWBvVnc3R7EBAS1rRoWAqGxtG wzL2dJ5bEaTwfZmYQGYf/5b3w14OBf7v0MDgaTTr+aJgHyplGYwUYzOypZhDHJZQ31xp kQWg== X-Gm-Message-State: AMke39lmK2txHt92Fk1Gcr/jISFqgi8edARk4NL7LGHlMSKsigS5C8qh8MaUNzb16ifNRaStRaKAMjCdUEenCQ== X-Received: by 10.157.27.12 with SMTP id l12mr7091034otl.199.1488478393991; Thu, 02 Mar 2017 10:13:13 -0800 (PST) MIME-Version: 1.0 Sender: sunpoet@sunpoet.net Received: by 10.157.14.38 with HTTP; Thu, 2 Mar 2017 10:12:33 -0800 (PST) In-Reply-To: References: <201702280945.v1S9jF0K067267@repo.freebsd.org> <20170228152911.GA85667@hades.panopticon> From: Sunpoet Po-Chuan Hsieh Date: Fri, 3 Mar 2017 02:12:33 +0800 X-Google-Sender-Auth: 4nnE0DYC5vX36XeeKqUeGZGoC4w Message-ID: Subject: Re: svn commit: r435017 - head/devel/p5-Contextual-Return To: Mathieu Arnold Cc: Dmitry Marakasov , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 02 Mar 2017 18:13:15 -0000 On Wed, Mar 1, 2017 at 4:16 PM, Mathieu Arnold wrote: > Le 28/02/2017 =C3=A0 16:29, Dmitry Marakasov a =C3=A9crit : > > * Sunpoet Po-Chuan Hsieh (sunpoet@FreeBSD.org) wrote: > > > >> Date: Tue Feb 28 09:45:15 2017 > >> New Revision: 435017 > >> URL: https://svnweb.freebsd.org/changeset/ports/435017 > >> > >> Log: > >> Update to 0.004010 > >> > >> - Use real PORTVERSION > > Thank you for these! > > I am not sure these version changes are a good idea. > Perl versions do not behave the same as Port versions, in some very > radical ways, for example, in Perl land, 1.1 > 1.1.1 (because 1.1.1 > really means 1.001001) > All the ports that have been converted to use the real version numbers > will see their PORTEPOCH bumped a lot as number go ahead. > > # for i in 1.1,1.1.1 1.052012,1.053; do echo ${i/,/ }; perl > -MCPAN::Version -e 'print CPAN::Version->vcmp("'${i%,*}'", "'${i#*,}'"), > "\n"'; pkg version -t ${i%,*} ${i#*,}; done > 1.1 1.1.1 > 1 > < > 1.052012 1.053 > -1 > > > > -- > Mathieu Arnold > > > I'm not going to replace all PORTVERSION-hacking cases with the real ones. I only do it when the upstream already released several versions in current format of version number. Take this one for example, there are only 4 versions on CPAN. They are 0.004007, 0.004008, 0.004009 and 0.004010.