From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cHjsERNF5mPxEgEAbAwnHQ (envelope-from ) for ; Fri, 10 Feb 2023 14:22:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gOLMERNF5mOzWAAAauVa8A (envelope-from ) for ; Fri, 10 Feb 2023 14:22:27 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F1FD325A89 for ; Fri, 10 Feb 2023 14:22:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQTLH-00048Y-QH; Fri, 10 Feb 2023 08:21:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQTLA-00048C-SQ for emacs-orgmode@gnu.org; Fri, 10 Feb 2023 08:21:25 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQTL5-0004Xk-PQ for emacs-orgmode@gnu.org; Fri, 10 Feb 2023 08:21:22 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E932D24067C for ; Fri, 10 Feb 2023 14:21:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676035277; bh=aV9Qj1BCoenH4Qrp4/YvIH7ZGSY+VWW4KvvoJEKGrxo=; h=From:To:Cc:Subject:Date:From; b=hP3VASxerPNRkV4cfFqZd4donRt5VXhINaiidrNnlazOb0XfbfiZBWoTJNNTPRqpi G/l2LmOXhrUVCMSNiEMu6XX6crt1VVFrftjJYa2uPQxEn+M6qzaCZEk+0gTuh4yWJO 1sdrPfliOZSXlZyrLO4gYEwQIN2T4fMuKoHXoSpbx4ZMoECVJtauwbOUAbu3iyKMJb qT8w++B6s1T+EJutsy2On+AfYjmcyw2TbVIab4W+4PnlH5fHqciSM652N+/pF4EFDh sV8mTRdk6pOU8zm9/YBA6XrTc6ncoF/lMFEqVh9TEKEtU65ghqnV4LJWP3L6DXYd5v h1A5L8xeMIvcQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PCvWb09Nsz9rxL; Fri, 10 Feb 2023 14:21:14 +0100 (CET) From: Ihor Radchenko To: Max Nikulin Cc: No Wayman , emacs-orgmode@gnu.org Subject: Re: [PATCH] Support building Org from shallow clone [9.6.1 (release_9.6.1-137-gecb62e @ /home/n/.emacs.d/elpaca/builds/org/)] In-Reply-To: <236849a2-144c-8f9e-a735-3af87582d4ec@gmail.com> References: <87r0vvr2ai.fsf@gmail.com> <87358alhux.fsf@localhost> <87tu0q5m2t.fsf@gmail.com> <877cxligy6.fsf@localhost> <87fsc7e8ub.fsf@gmail.com> <87bkmve8qv.fsf@gmail.com> <87bkmu4vqg.fsf@localhost> <87wn5it214.fsf@gmail.com> <877cxhs7dh.fsf@localhost> <236849a2-144c-8f9e-a735-3af87582d4ec@gmail.com> Date: Fri, 10 Feb 2023 13:21:21 +0000 Message-ID: <87k00pd5bi.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676035347; a=rsa-sha256; cv=none; b=Xkw0OS1IBozyOiSNM7LR7dZgayeSgQVc0W9n+7sBY+GEJODrkxoiMgTnIal5f/Oca7ns1g rWuhTS680aKool3hpsR1GKQHp5WjTT3scbabzG11gfjXa9i3sxf2CrSpPip55egPGD63pK a5xqUOygZuXtQEnsCOLBtu7XQza5Q1ZvFs6AwBPlV2NkLxlIBD9hxKSnjL9PKUsF1qK1HO cgigRi7C68MXU1lmoGm2BGtEs+RG2m2kwl9IMsFmm+QbbyZdxejkMs1xryeIDby/807X1t sGSbnVn6alUb8VgjSMc/2sCQuZww1VxF25ttqM8W9+d2DBKiaK85zBQ8Z+AAVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hP3VASxe; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676035347; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tHMMi2azHROZgZkRWXGbNHc4iBDj61d2CRKWy4Ic/bY=; b=FHCLsfkiruJ8yG36H+7Fo2VUVlPXV7UKOOiavpts5rMMgPpPYReOvhTv+3A15C9D9FJAUm ljVAf02H7ZgQ1OFZBtPkyTElPYWo9az16CVSzRS8htNkqcHsazKGFMs1Uj7nLmuOWgQFvz +o75AxJwIggLBAdNw62lJFUW38juQ94D3rhJTtOTdj1PcZSXDAszYiIClP0+XreFW9GJ4S MR3PJLD5uRQQKksm4k++LOxEb7cUe+6WgK6aa/PkE2tF1GP+RmEFBYcW6uOSG87H0UqUON h7xtxUlPunh8OwkvyKC0V53SKPZ+L0silmyq8f9T7lQ09VZ9l1DLPPpQUEuWLw== X-Migadu-Scanner: scn0.migadu.com X-Spam-Score: -11.07 X-Migadu-Queue-Id: F1FD325A89 X-Migadu-Spam-Score: -11.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hP3VASxe; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net X-TUID: KP0Ei1pjddf4 Max Nikulin writes: > another option is to use --always > > git describe --match release\* --abbrev=6 --always HEAD > 52f29d This is indeed more reliable. Applied, onto main. With your version instead of git log. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6d37d2a8e > and some make code that prepends it with release_$(ORGVERSION)- if it > has not release prefix. This is not needed. ORGVERSION as defined in Org .el files will be available. The patch only deals the git tags, when they are missing. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at