From owner-freebsd-git@freebsd.org Fri Aug 7 20:13:35 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 B56B6373924 for ; Fri, 7 Aug 2020 20:13:35 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 4BNc4Z5lJ2z3cyk for ; Fri, 7 Aug 2020 20:13:34 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82b.google.com with SMTP id 6so2265173qtt.0 for ; Fri, 07 Aug 2020 13:13:34 -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=gtncQD/nGLuLJrT9RRfZith3dmXyZJaKRoh4xw82xMw=; b=1xncoYh9tjDokWyOtNqXsdc9gxfofLeHqs91E3GI6Uv8ZMstn6ntJ7Y2Kq3PEMcNNX crEmeUBo3ei1DxFclmCMu6alp4pHixkkfziKlWfpNRpFBIt5RmdKUE3+q5WwLMf+OTnS 4v2MyD0MlsB+jUm+igttpHfsVb0OG1p65r5gvTqOxSdlbllxaPWEc35VQ9DD9qfkbm0E sevGu0ypilwCHrpEGU8DAek9tG4Zkjl5E18E4StmBPtsuIl8F0mU0R5AA1eJbaL1jeIn oJiwFTmuXscsWya+Rbw+ujDr+XIti/YR5MBEBk5pCtsN4NZZfC40PAFOPhtSa2kuKZ99 E9Og== 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=gtncQD/nGLuLJrT9RRfZith3dmXyZJaKRoh4xw82xMw=; b=g3KGIFvY5YzCkbIrQGEEpNYZRpyLvggxIVdz3mrOcq+cozbDBB1OLCqPN316r2vYTM PFwsSbra6vbPObGjYNvTE2AVgQNyps0wvpmUa6Qky0gL1cczMgQsHoI9RrUEchqxI8hb B3LigEgs4uoJ0PYfttJZUnRmUvwk4VKD9INoTeJbY6tvnybvIATU+qRz2G2IJ2Q2pGaj oivBbguBqIJYbFe2KMMSgSPFoRJ9bY8MQ8ZCCUj0aXP58F8pRmqBCdfcazZp5ngBNHC8 bNQPRRnbsgyliUoOyU13Jmf9AMpb8JQnjS2dC72lqSygziIh+YoNp96DVyjobvL68Zng 9FGQ== X-Gm-Message-State: AOAM53049NobgaqHCZ2XiMdIYZ8f9NSM1LpYJZ7clWF6bgJBqH2mE7y0 rGpgO5AJsCrCUVUo3HLJ6UHl1CfU0KCIVfLhVA/Lfooo X-Google-Smtp-Source: ABdhPJyYjvYmoJfM8ZcAuKKO+Vx88A/ERZ5/Ct7xjkQTsB0OTyge9FShuxjruv8Ugkrdc8Vq4e3KXb25PZ/1k+ycOUs= X-Received: by 2002:ac8:4719:: with SMTP id f25mr16169553qtp.291.1596831213304; Fri, 07 Aug 2020 13:13:33 -0700 (PDT) MIME-Version: 1.0 References: <013F16E7-DDBB-4C2F-829D-D08B53CC7585@netapp.com> <1c82b615-6685-ec20-c6da-6e76035b3ef4@FreeBSD.org> In-Reply-To: <1c82b615-6685-ec20-c6da-6e76035b3ef4@FreeBSD.org> From: Warner Losh Date: Fri, 7 Aug 2020 14:13:22 -0600 Message-ID: Subject: Re: SVN Revision-Like IDs in Git To: Steve Wills Cc: "Sideropoulos, Alexander" , "freebsd-git@freebsd.org" , "Maxwell, Larus" X-Rspamd-Queue-Id: 4BNc4Z5lJ2z3cyk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=1xncoYh9; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::82b) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.32 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.89)[-0.888]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.977]; 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.45)[-0.450]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82b: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:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 20:13:35 -0000 On Fri, Aug 7, 2020 at 7:28 AM Steve Wills wrote: > 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. > Be advised that this svn view may have a different set of r values than the current repo. Still working out those kinks.... Warner