From owner-freebsd-ports@FreeBSD.ORG Thu Nov 13 10:10:07 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEFA698C; Thu, 13 Nov 2014 10:10:07 +0000 (UTC) Received: from mail-qa0-x22f.google.com (mail-qa0-x22f.google.com [IPv6:2607:f8b0:400d:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 77B90D4; Thu, 13 Nov 2014 10:10:07 +0000 (UTC) Received: by mail-qa0-f47.google.com with SMTP id dc16so9836451qab.6 for ; Thu, 13 Nov 2014 02:10:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ENcSXFz7UnhsS7JVAcIqJFY5XkxCevs7Ss+xXueVnBk=; b=yy9odjWkR5kfvWGkirynJ3+bQ/BMbHXdhtR3B0jSMFwszaWMWAlLorp9QvdSY86PWJ YXbu6PLKtxZMbfmjcYg5vi6NvOLgs/lrQp3YW/5a1Kbp2zZb88GPWzL71rAGGygeYjS3 Zg9uJg/fNFUz003p3Yc1BNKCKtxEWlX5X8ZdLIfMMuRarJt5LEctzNeVt5CtGXuvY4Fv s3IaAD1Ljh9b3hnA19X0m73E68F2+yUhBqUauiw4hlNJXeFWo/aJ4+GaYpZr3Ygj6xRF RyaI+37UNyVUyIaI6sJvCvllhnZxxQ6gTK7WiLp9vzILjhJZl3/wGlMKjivK1T3Ivn3t 0VfQ== MIME-Version: 1.0 X-Received: by 10.224.127.133 with SMTP id g5mr2051675qas.24.1415873406650; Thu, 13 Nov 2014 02:10:06 -0800 (PST) Sender: spankthespam@gmail.com Received: by 10.229.177.202 with HTTP; Thu, 13 Nov 2014 02:10:06 -0800 (PST) In-Reply-To: <54641FD6.6050807@FreeBSD.org> References: <00000149a6efbad6-83c03324-44b9-4858-b787-e65a63cd590e-000000@us-west-2.amazonses.com> <54641FD6.6050807@FreeBSD.org> Date: Thu, 13 Nov 2014 11:10:06 +0100 X-Google-Sender-Auth: _S7ykQZe9WuANc1bcOIfsFTPUDQ Message-ID: Subject: Re: question about PORTVERSIONing From: Bartek Rutkowski To: Bryan Drewery Content-Type: text/plain; charset=UTF-8 Cc: "ports@FreeBSD.org Ports" , Koichiro IWAO X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2014 10:10:07 -0000 On Thu, Nov 13, 2014 at 4:04 AM, Bryan Drewery wrote: > On 11/12/2014 8:16 PM, Koichiro IWAO wrote: >> Hi, >> >> I have a question about determining PORTVERSION. >> >> I was told to correct PORTVERSION 0.0.yyyy.mm.dd style [1] by a committer. >> devel/ruby-build port now has yyyymmdd style PORTVERSION like 20141028 and >> yyyymmdd is the upstream's official versioning system. I'm not using date >> instead of version number since upstream has no version information but >> just using through upstream version to PORTVERSION. >> >> Do I have to use 0.0.yyyy.mm.dd in such case? >> >> [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194646 >> > > Use whatever you want as long as it is monotonically increasing. No > requirement for "0.0". You can use YYYYMMDD or YYYY.MM.DDDD if you wish. > If upstream tags their releases like this it is even better to follow it. > > The idea of using "0.0." in front is a "just in case" upstream follows a > new tag scheme, but we already have PORTEPOCH for those situations. Why > add an arbitrary 0.0 into the tag if upstream doesn't use that? > > -- > Regards, > Bryan Drewery > The idea of doing 0.0.date is more about being able to sort the package versions easily and in a way that makes sense at first glance, rather than to replace PORTEPOCH (which is in a way 'invisible' to package user) in case of upstream decides to implement any versioning scheme, and I've given that advice following Porter's Handbook here: https://www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html and I have to say, it makes sense to me, personally. If this is incorrect, then apologies, my intentions were to adhere to the documentation and provide the maintainer some guidance - in such case, the Handbook should be corrected about that. Kind regards, Bartek Rutkowski