From owner-freebsd-git@freebsd.org Fri Aug 7 13:28:13 2020 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 000E43BACA1 for ; Fri, 7 Aug 2020 13:28:12 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BNR4r6Cfpz4QqJ for ; Fri, 7 Aug 2020 13:28:12 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from lrrr.mouf.net (cpe-76-182-16-135.nc.res.rr.com [76.182.16.135]) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id 077DRxNB051227 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 7 Aug 2020 13:28:07 GMT (envelope-from swills@FreeBSD.org) Subject: Re: SVN Revision-Like IDs in Git To: "Sideropoulos, Alexander" , "freebsd-git@freebsd.org" Cc: "Maxwell, Larus" References: <013F16E7-DDBB-4C2F-829D-D08B53CC7585@netapp.com> From: Steve Wills Message-ID: <1c82b615-6685-ec20-c6da-6e76035b3ef4@FreeBSD.org> Date: Fri, 7 Aug 2020 09:27:56 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <013F16E7-DDBB-4C2F-829D-D08B53CC7585@netapp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Fri, 07 Aug 2020 13:28:08 +0000 (UTC) X-Spam-Status: No, score=-0.7 required=4.5 tests=KHOP_HELO_FCRDNS, NICE_REPLY_A, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99.2 at mouf.net X-Virus-Status: Clean X-Rspamd-Queue-Id: 4BNR4r6Cfpz4QqJ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:36236, ipnet:2607:fc50::/36, country:US]; local_wl_from(0.00)[FreeBSD.org] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2020 13:28:13 -0000 Hi, On 8/6/20 6:01 PM, Sideropoulos, Alexander wrote: > Hey folks, > > According to this page... > https://hackmd.io/_lvyl1CfTsayB3L0v4fmLA#What%E2%80%99s-with-the-funny-revision-hashes-I-want-revision-numbers > > ...there are no plans to provide an SVN-revision-like ID for Git commits once the switch-over happens. > > At NetApp, we rely on the SVN revision number to uniquely identify our FreeBSD baseline and every cherry-picked patch we apply on top of it. We could update all our tooling to accept Git hashes, but this is not a small task. And I imagine we are not the only downstream project reliant upon SVN revision numbers. > > Since the SVN revision ID is really just an arbitrary number, has there been any thought in simply continuing to manufacture these numbers for Git commits going forward? It could even be a post-commit operation where the Git notes are updated with a unique (increasing) ID, just as is done today. > > Thoughts? I believe there will be git to svn replication for a while, so you could possibly continue to use svn until the tooling is updated. Steve