From owner-freebsd-git@freebsd.org Fri Aug 7 01:26:58 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 D64513B005C for ; Fri, 7 Aug 2020 01:26:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BN74f0RyFz3bX1 for ; Fri, 7 Aug 2020 01:26:57 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x835.google.com with SMTP id v22so208570qtq.8 for ; Thu, 06 Aug 2020 18:26:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JrQ1GbF715l38kSmRo+WR70BgXHIQT67Ybvc6rPK29g=; b=ETJDvz+qua5fyTrndu8boxq+Ju5vxNj51IRj2TccQoWB0nL7xJLdLfcWRJu4lQMphD yMRu8SDSEFxyQ1hp0VKH7k0mBRxhBOOc5P1inCkaBKg8IyAX+0/KuJYm2dzJrTZCrITW dH5SFsfKvF7gFl8A9AhT3svTFK7lUxi13JKKIEYcubnQXyjs3l29NNmrcr30WWJnmqEQ Bp2UShHW8nB0qsM/jq99+rOZ1zCRMBQXr5yNsBVq08QkR70A8WoAYZ8zFc3yOycgitum p5ozGR41gtX8tSVlfQfRNSNWAorhlS65x3pVwx7U/FYp0KaJd+330mc8bmERO6jTxsvg NJ6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JrQ1GbF715l38kSmRo+WR70BgXHIQT67Ybvc6rPK29g=; b=XGTwiR60VE/Pr6QrDXTATsA6YLqqIM6q06+8hcbD4LJXOLhAjEg6RpqKWVHMjU879S 3FCjQmA5W7XwwzAeJiEGGCP/1wuKDtFCqRdtmxPAa/GRUNlhFA+N4rPdfDuUqQZMsSgm keLQZKHglxvgCQX4gT81646ocUW02X24WWC4eTJ3o4EzQzNB9UEZBL8wkmH772CSyWCF ia2G8Im3QHK8+f9Zxo3W36KdLuk+80GFi/fBviSbqSwjASgC2d/4JdxQHHUSaTAUSqGb nc1ULUde6MIZhUrP+Fs5rCJe+gnh+6KTQIp1JTuwNuVcejtkULM2q8SSwK2eF2gd9vJM 46sw== X-Gm-Message-State: AOAM5330XQ61ikJHTxUEdXX3xUxYHgRmU/bTUeFpgxv41kQjLNE5EHm4 fvPCHAymujrP8boTBdPhNWkllq9jPLdb/EiK5V4riQ== X-Google-Smtp-Source: ABdhPJwBk32GhOFokUurjT+7DIPmuIqaNXosdKgDDHwGyU0hyNfH2bgaPBViDEUmI/8rtenM0gYk1o9BiLP9l4fwqoE= X-Received: by 2002:ac8:50a:: with SMTP id u10mr11784719qtg.175.1596763616801; Thu, 06 Aug 2020 18:26:56 -0700 (PDT) MIME-Version: 1.0 References: <013F16E7-DDBB-4C2F-829D-D08B53CC7585@netapp.com> In-Reply-To: <013F16E7-DDBB-4C2F-829D-D08B53CC7585@netapp.com> From: Warner Losh Date: Thu, 6 Aug 2020 19:26:44 -0600 Message-ID: Subject: Re: SVN Revision-Like IDs in Git To: "Sideropoulos, Alexander" Cc: freebsd-git@freebsd.org, "Maxwell, Larus" X-Rspamd-Queue-Id: 4BN74f0RyFz3bX1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=ETJDvz+q; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::835) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.48 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.98)[-0.983]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.92)[-0.924]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-git@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.57)[-0.569]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::835:from]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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 01:26:58 -0000 On Thu, Aug 6, 2020, 4:01 PM Sideropoulos, Alexander < Alexander.Sideropoulos@netapp.com> 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? > Git has the ability to generate a number of commits since the last tag (or maybe arbitrary tag). That is appropriately the same thing if you don't need temporal stability between branches... Warner > --ap > _______________________________________________ > freebsd-git@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-git > To unsubscribe, send any mail to "freebsd-git-unsubscribe@freebsd.org" >