From owner-freebsd-ports@FreeBSD.ORG Tue Feb 24 03:18:02 2009 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 E6FB41065670 for ; Tue, 24 Feb 2009 03:18:02 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44]) by mx1.freebsd.org (Postfix) with ESMTP id B68E98FC0A for ; Tue, 24 Feb 2009 03:18:02 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (c-75-64-197-185.hsd1.ms.comcast.net [75.64.197.185]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id 5EB5737B572; Mon, 23 Feb 2009 21:18:01 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 1172D61C44; Mon, 23 Feb 2009 21:18:00 -0600 (CST) Date: Mon, 23 Feb 2009 21:18:00 -0600 From: "Matthew D. Fuller" To: Ion-Mihai Tetcu Message-ID: <20090224031800.GB19899@over-yonder.net> References: <86bpsw2tbf.fsf@gmail.com> <20090221104501.06e778f1@it.buh.tecnik93.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090221104501.06e778f1@it.buh.tecnik93.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.18-fullermd.4 (2008-05-17) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on thyme.infocus-llc.com X-Virus-Status: Clean Cc: Anonymous , freebsd-ports@freebsd.org Subject: Re: git snapshots, PORTVERSION, PORTEPOCH 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, 24 Feb 2009 03:18:03 -0000 On Sat, Feb 21, 2009 at 10:45:01AM +0200 I heard the voice of Ion-Mihai Tetcu, and lo! it spake thus: > > Since you have the date, you can easily get the git magic string. Not necessarily true at all, in VCS's that don't limit to single-line history. Consider the case where I'm working on a feature in a private branch since 2000-01-01. You take a snapshot of the trunk branch on 2000-02-01. My branch is merged on 2000-03-01. Now on 2000-04-01, somebody wants to look back and figure out which revision corresponds to your timestamp. There are at least 2 paths through the history that could have a commit at [to any arbitrary granularity] the exact same date/time; there could well be more, on an active project. Depending on the particular system and workflow, it may not even be theoretically possible to figure out which is referred to, short of doing full source comparisons; it can certainly be non-trivial in many cases. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.