Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Jan 2022 18:34:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 12 13:34:23 2022 Received: from localhost ([127.0.0.1]:59068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1n7iRy-0000B9-Qy for submit <at> debbugs.gnu.org; Wed, 12 Jan 2022 13:34:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:48380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jonas@HIDDEN>) id 1n7iRw-00009w-1P for submit <at> debbugs.gnu.org; Wed, 12 Jan 2022 13:34:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jonas@HIDDEN>) id 1n7iRs-0006cI-0h for bug-gnu-emacs@HIDDEN; Wed, 12 Jan 2022 13:34:19 -0500 Received: from mail.hostpark.net ([212.243.197.30]:38592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jonas@HIDDEN>) id 1n7iRp-0002XK-FJ for bug-gnu-emacs@HIDDEN; Wed, 12 Jan 2022 13:34:15 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 7836F160EE; Wed, 12 Jan 2022 19:34:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received; s=sel2011a; t= 1642012446; bh=J8D5H1yDDxsLqmzdtuXbNWiKM9tjNrh67Mh+lAj0rzo=; b=K CqvJtyxqu0cpxv/DZZB4SdFO7z8AQPDDTPuZ/q99brbOW2jT696/BmFU3gXuWl+z 7G1zFU25nF1Tj9EtT78N2tnalRW4f8my+6GHZ2yhn8iLokxPr7HaFV81L/RCxPh1 x9tO03u2FbXDRRORwj/Uf+mZbKSx/71JYOq4Tv+lnc= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id 7TRxgXh6iplH; Wed, 12 Jan 2022 19:34:06 +0100 (CET) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 4ACDB164A8; Wed, 12 Jan 2022 19:34:06 +0100 (CET) From: Jonas Bernoulli <jonas@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: Keeping Version header and tag in sync Date: Wed, 12 Jan 2022 19:34:06 +0100 Message-ID: <8735lspzvl.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@HIDDEN; helo=mail.hostpark.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Stefan Kangas <stefan@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hello, I have brought this up elsewhere and Stefan Kangas asked me to repeat it here so we don't forget about it. 1: https://github.com/magit/orgit/pull/45 [Non]GNU Elpa uses the [Package-]Version header to determine a package's version, while Melpa Stable uses the latest Git/Hg version tag. (Let's not talk about what Melpa "bleeding edge" does.) It is desirable that these package archives as well as other tools that use either one of these techniques agree which commit a version string refers too. To accomplish this we have to bump the version in both locations at the same time. At the exact same time! One should not bump the Version header in one commit, add a few more commits, and then tag the latest commit with the same version as was first used in the library header a few commits earlier. We are stuck with two sources for the same information and we should try hard to keep these two sources in agreement. This also means that when we invite new packages into [Non]GNU Elpa and instruct their maintainers to add the Version header, that we then also make them aware of this complication. IMO this is how it should be done given the current schism: 1. Update the `Version` header keyword. 2. Possibly make other release-related changes like updating the `NEWS` file or updating the version in manuals and such. 3. Create a commit with a message like "Release version VERSION", where VERSION is exactly the same version as used in the header. 4. Tag that commit using the same version as used in the header and commit message (optionally prefixed with `v` because that is the Git convention). Ideally the tag is signed and annotated. If it is annotated, then it should use a message like "Release version VERSION" or "PACKAGE-NAME VERSION". 5. When pushing the release commit, then don't forget to push the release tag as well. Obviously it would be nice to say the above with less words. ;) Jonas
Jonas Bernoulli <jonas@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#53221
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.