From owner-freebsd-ports@FreeBSD.ORG Tue May 15 18:18:57 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DFCB1065673; Tue, 15 May 2012 18:18:57 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.15]) by mx1.freebsd.org (Postfix) with ESMTP id E1BC78FC0C; Tue, 15 May 2012 18:18:56 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1SUMKl-0007ZE-82; Tue, 15 May 2012 22:18:55 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 08197B84E; Tue, 15 May 2012 22:18:55 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id F167753E; Tue, 15 May 2012 22:18:54 +0400 (MSK) Date: Tue, 15 May 2012 22:18:54 +0400 From: Dmitry Marakasov To: Chris Rees Message-ID: <20120515181854.GB15922@hades.panopticon> References: <20120515150903.GA15922@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-ports@freebsd.org, portmgr@freebsd.org Subject: Re: `No strings in PORTVERSION' (non-)limitation X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2012 18:18:57 -0000 * Chris Rees (utisoft@gmail.com) wrote: > Thanks for following this up; since we discussed this I've been thinking > though- why put the git bit in anyway? Does it have anything special > apart from a date marker, and if not, won't a date suffice? Date doesn't itself indicate that this is a VCS snapshot, it may be upstream versioning scheme as well. `git' otoh is unambigous indication that this is a snapshot, and even tells which VCS it is. This is not limited to VCS snapshots - also alphas/betas/release candidates. Finally, letter-specific version comparison scheme is often needed, so 1.1 < 1.2.git123 or 1.2.beta2 or 1.2.rc2 < 1.2. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru