From unknown Wed Jun 25 05:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63775: git describe on current master says: v1.3.0-38775-g6192acf8b7 Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 28 May 2023 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63775@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168528697719031 (code B ref -1); Sun, 28 May 2023 15:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 May 2023 15:16:17 +0000 Received: from localhost ([127.0.0.1]:54466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3I80-0004wt-W4 for submit@debbugs.gnu.org; Sun, 28 May 2023 11:16:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:33630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3I7y-0004wl-Jr for submit@debbugs.gnu.org; Sun, 28 May 2023 11:16:15 -0400 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 1q3I7y-0001C6-9B for bug-guix@gnu.org; Sun, 28 May 2023 11:16:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3I7x-0004dW-4Y; Sun, 28 May 2023 11:16:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=xBY81UWnEgIhIuK7IsAaNYKn9+Ad8vabPPM036PhDQQ=; b=Y72dwwd6xgKRVf DgAF61gq/XZD18uR44u0Q2HeoXaGnBPajCS2ivp81AzgTOkvzAqeBR8rzvw1NxGzygeSrI+PdHLuY xOJ+He4J9cdsAn9SEx2P0lQC+9iKxR+v0qCo/3eEH6jnSLytz56Owyt7BUBgNm9e+k0B8k7srh8Yp vDpQ3oua5L6vEfEfEhnkOAP4P1yoa+lxsrm7zz+mhXot+ctWCvM39jiLNb3qp9tJ9CcNTl7oM/WyT /Hpqk8B89tmkmaLzKM6vdy/ewM9tBXSpWxMjEtP8Oa8v1q+jOfm2+f3/vvRNj6JQJJri0q0ni0Fd3 pGr3XhZBI9YaDrt4mJYw==; Received: from 2a02-a462-da03-1-2701-7f81-a736-4607.fixed6.kpn.net ([2a02:a462:da03:1:2701:7f81:a736:4607] helo=drakenpad.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3I7w-00041J-MH; Sun, 28 May 2023 11:16:12 -0400 From: Janneke Nieuwenhuizen Organization: AvatarAcademy.nl X-Url: http://AvatarAcademy.nl Date: Sun, 28 May 2023 17:16:08 +0200 Message-ID: <87pm6k5vwn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Subject says it all: --8<---------------cut here---------------start------------->8--- 17:12:25 janneke@drakenpad:~/src/guix/master [env] $ git fetch origin 17:12:56 janneke@drakenpad:~/src/guix/master [env] $ git fetch origin --tags 17:13:04 janneke@drakenpad:~/src/guix/master [env] $ git reset --hard origin/master HEAD is now at 6192acf8b7 gnu: telegram-desktop: Update to 4.8.1 17:13:09 janneke@drakenpad:~/src/guix/master [env] $ git describe v1.3.0-38775-g6192acf8b7 --8<---------------cut here---------------end--------------->8--- (There was a question on IRC by cassio: "How do I upgrade to 1.4", but I don't see it in the channel logs yet). Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com From unknown Wed Jun 25 05:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63775: git describe on current master says: v1.3.0-38775-g6192acf8b7 Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 May 2023 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Janneke Nieuwenhuizen , 63775@debbugs.gnu.org Received: via spool by 63775-submit@debbugs.gnu.org id=B63775.168546374113176 (code B ref 63775); Tue, 30 May 2023 16:23:02 +0000 Received: (at 63775) by debbugs.gnu.org; 30 May 2023 16:22:21 +0000 Received: from localhost ([127.0.0.1]:34011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4272-0003QQ-LZ for submit@debbugs.gnu.org; Tue, 30 May 2023 12:22:21 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]:40342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q4270-0003Q6-4g for 63775@debbugs.gnu.org; Tue, 30 May 2023 12:22:19 -0400 Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-3f604176322so7093095e9.1 for <63775@debbugs.gnu.org>; Tue, 30 May 2023 09:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685463732; x=1688055732; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=nkHTVsmWIGebt78cL/Y4ixD/g8d/XweK3GZgQC9elAY=; b=SDSFKUkO8OiT0CAVj8LCeJGbLeXquKDD0MVJELFUdwcDPy8/pMLH9w/sr/QW+0e2Lb z8vjFeRFusaslb3B4ERelScyiCJ1HvZYQzeeacSnGsfkJ4ogZU4eHiG3XHF4I+Fo1g/A yMQvM+UCf+xAyToGiINcz3dpVTIwHPYn+Oxh9WpW+FVR5AHrZ+4NID/DDwKAQRcHxBmE sLEUyL49l1UMD6pCRyM+4ivddBsrO0RfNI6RkLWR5DBQt0S+p0ldMNWUnDYltkcJdPJK R15MEJNDZd0fj1VEQFdZqo7VUGOI9+knhKPC2CBdR2hU20/NpUeB9dCiXitmbN2Ny2c4 5dog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685463732; x=1688055732; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=nkHTVsmWIGebt78cL/Y4ixD/g8d/XweK3GZgQC9elAY=; b=LWuw933GvNtnWxsD/ZGh/bR5MzlS8RVrhgL1KltNVqs9LaMw4ZmCjUmM/mOd28Tcby CXX56Hwci8OnGHJf7P6iooAXzpkp/cwm1j1+ozuBAXsh4vGf0v5SuuGnVwRl0PI+1NlQ 3lqLM/iQA5ivH3PIxnfI1/EBBFeDWTNSrxfIa1sLG79F7HXOJuYg5uxEylTVqS7IMDNI JeACXhPMi83v7m3UIMtFm8wcz8XQZ9DbaxGBh4olv9ZubtalOgutl8Q8Y4Vp98QX/w/Q pStz5S1Nc5UFRB05TTt+gYV9R52ikZEygrxuo10n7lBf8ZbG1Em1mQCZFo0n99c0Kdhl 5/0Q== X-Gm-Message-State: AC+VfDxXfrsnhEACCrwXgEaRw7ansCGrhmLvkvhVUnxwPdeOqh4iH4ur ThZjFXogr/6bovnNs9aAudzHXA3XPps= X-Google-Smtp-Source: ACHHUZ4DnKj+sJ4szplZeMTzs7DAlejOQjxYVpngBK56jdXcVZ+2s7C3HMn0WpTbbNxZxY6mVd+Ecg== X-Received: by 2002:a05:600c:1c98:b0:3f4:f204:4968 with SMTP id k24-20020a05600c1c9800b003f4f2044968mr2454562wms.1.1685463732217; Tue, 30 May 2023 09:22:12 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id n4-20020a05600c294400b003f3157988f8sm17557696wmd.26.2023.05.30.09.22.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 May 2023 09:22:11 -0700 (PDT) From: Simon Tournier In-Reply-To: <87pm6k5vwn.fsf@gnu.org> References: <87pm6k5vwn.fsf@gnu.org> Date: Tue, 30 May 2023 17:25:01 +0200 Message-ID: <87jzwpsuya.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On dim., 28 mai 2023 at 17:16, Janneke Nieuwenhuizen wrot= e: > --8<---------------cut here---------------start------------->8--- > 17:12:25 janneke@drakenpad:~/src/guix/master [env] > $ git fetch origin > 17:12:56 janneke@drakenpad:~/src/guix/master [env] > $ git fetch origin --tags > 17:13:04 janneke@drakenpad:~/src/guix/master [env] > $ git reset --hard origin/master > HEAD is now at 6192acf8b7 gnu: telegram-desktop: Update to 4.8.1 > 17:13:09 janneke@drakenpad:~/src/guix/master [env] > $ git describe > v1.3.0-38775-g6192acf8b7 > --8<---------------cut here---------------end--------------->8--- Oh, that=E2=80=99s weird! --8<---------------cut here---------------start------------->8--- $ git describe --debug describe HEAD No exact match on refs or tags, searching to describe annotated 38817 v1.3.0 annotated 38831 v1.3.0rc2 annotated 38870 v1.3.0rc1 annotated 55660 base-for-issue-62196 annotated 55806 v1.2.0 annotated 55814 v1.2.0rc2 annotated 55837 v1.2.0rc1 annotated 55985 v1.4.0 annotated 55998 v1.4.0rc2 annotated 56031 v1.4.0rc1 traversed 56356 commits more than 10 tags found; listed 10 most recent gave up search at d62c9b2671be55ae0305bebfda17b595f33797f2 v1.3.0-38817-g76b7bc5392 $ git rev-list --count v1.3.0..HEAD 38817 --8<---------------cut here---------------end--------------->8--- The manual reads, SEARCH STRATEGY [...] If an exact match was not found, git describe will walk back through the commit history to locate an ancestor commit which has been tagged. The ancestor=E2=80=99s tag will be outp= ut along with an abbreviation of the input commit-ish=E2=80=99s SHA-1. If --first-parent was specified then the walk will only consider the first parent of each commit. If multiple tags were found during the walk then the tag which has the fewest commits different from the input commit-ish will be selected and output. Here fewest commits different is defined as the number of commits which would be shown by git log tag..input will be the smallest number of commits possible. And then, --8<---------------cut here---------------start------------->8--- $ git rev-list --count v1.4.0..HEAD 9980 --8<---------------cut here---------------end--------------->8--- Hum, why does =E2=80=9Cgit describe=E2=80=9D count 55985? Well, it=E2=80= =99s weird, for instance, using my repository, the DAG looks like: --8<---------------cut here---------------start------------->8--- $ git --no-pager log --all --graph --simplify-by-decoration --format=3D"%h = %d" * 76b7bc5392 (HEAD -> master) * 2b1b0a580d (origin/master, origin/HEAD) | * ecb19e3353 (origin/tex-team-next) | * bb07562a89 (origin/tex-team) |/=20=20 [...] * 45fd01ac5d (tag: base-for-issue-62196) [...] | * d8abcffda5 (origin/wip-guile-ssh-0.16) |/=20=20 | * e81a75a7b2 (origin/wip-r) |/=20=20 * 989a3916dc (origin/version-1.4.0) * 8e2f32cee9 (tag: v1.4.0)=20=20 * 7866294e32 (tag: v1.4.0rc2) * 020184fd39 (tag: v1.4.0rc1) | * 7966084069 (origin/wip-aarch64-bootstrap) [...] | * 8d84a9ee71 (origin/version-1.2.0) | | * aa34d4d28d (origin/version-1.3.0) | |/=20=20 |/|=20=20=20 | | * 592101268f (origin/wip-ppc) | |/=20=20 |/|=20=20=20 * | a0178d34f5 (tag: v1.3.0) * | 7a65beff0f (tag: v1.3.0rc2) * | 0d353b06ec (tag: v1.3.0rc1) |/=20=20 | * fafad6b17c (origin/wip-node-importer) --8<---------------cut here---------------end--------------->8--- Therefore, I would be expecting that the tag =E2=80=99base-for-issue-62196= =E2=80=99 would be the output of =E2=80=9Cgit describe=E2=80=9D. > (There was a question on IRC by cassio: "How do I upgrade to 1.4", > but I don't see it in the channel logs yet). Well, about upgrading to 1.4, it depends from which Guix revision. :-) Something like, guix pull --commit=3D8e2f32cee982d42a79e53fc1e9aa7b8ff0514714 should do the job. And if not, the answer will depend on the current Guix revision which requires an update. Cheers, simon From unknown Wed Jun 25 05:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63775: git describe on current master says: v1.3.0-38775-g6192acf8b7 Resent-From: Giovanni Biscuolo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Jun 2023 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier , Janneke Nieuwenhuizen , 63775@debbugs.gnu.org Received: via spool by 63775-submit@debbugs.gnu.org id=B63775.16862327522468 (code B ref 63775); Thu, 08 Jun 2023 14:00:02 +0000 Received: (at 63775) by debbugs.gnu.org; 8 Jun 2023 13:59:12 +0000 Received: from localhost ([127.0.0.1]:57142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7GAS-0000dk-1P for submit@debbugs.gnu.org; Thu, 08 Jun 2023 09:59:12 -0400 Received: from ns13.heimat.it ([46.4.214.66]:39792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7GAO-0000dV-VL for 63775@debbugs.gnu.org; Thu, 08 Jun 2023 09:59:10 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id F06273007E0; Thu, 8 Jun 2023 13:59:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id InxXoLhOZDmX; Thu, 8 Jun 2023 13:58:53 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.217]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id E22E430022E; Thu, 8 Jun 2023 13:58:51 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 6B7BB26C4889; Thu, 8 Jun 2023 15:58:51 +0200 (CEST) Received: (nullmailer pid 7155 invoked by uid 1000); Thu, 08 Jun 2023 13:58:51 -0000 From: Giovanni Biscuolo In-Reply-To: <87jzwpsuya.fsf@gmail.com> Organization: Xelera.eu References: <87pm6k5vwn.fsf@gnu.org> <87jzwpsuya.fsf@gmail.com> Date: Thu, 08 Jun 2023 15:58:50 +0200 Message-ID: <878rcujbs5.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, thank you Janneke for this report, I thought I had some problem with my working dir magit tells me I'm on "Tag: v1.3.0 (39040)" Simon Tournier writes: [...] > Oh, that=E2=80=99s weird! > > --8<---------------cut here---------------start------------->8--- > $ git describe --debug > describe HEAD > No exact match on refs or tags, searching to describe > annotated 38817 v1.3.0 > annotated 38831 v1.3.0rc2 > annotated 38870 v1.3.0rc1 > annotated 55660 base-for-issue-62196 > annotated 55806 v1.2.0 > annotated 55814 v1.2.0rc2 > annotated 55837 v1.2.0rc1 > annotated 55985 v1.4.0 > annotated 55998 v1.4.0rc2 > annotated 56031 v1.4.0rc1 > traversed 56356 commits > more than 10 tags found; listed 10 most recent > gave up search at d62c9b2671be55ae0305bebfda17b595f33797f2 > v1.3.0-38817-g76b7bc5392 > > $ git rev-list --count v1.3.0..HEAD > 38817 > --8<---------------cut here---------------end--------------->8--- I have the very same (updated) results: [...] =2D-8<---------------cut here---------------start------------->8--- 0 LC_ALL=3DC git describe --debug describe HEAD No exact match on refs or tags, searching to describe annotated 39040 v1.3.0 annotated 39054 v1.3.0rc2 annotated 39093 v1.3.0rc1 annotated 55883 base-for-issue-62196 annotated 56029 v1.2.0 annotated 56037 v1.2.0rc2 annotated 56060 v1.2.0rc1 annotated 56208 v1.4.0 annotated 56221 v1.4.0rc2 annotated 56254 v1.4.0rc1 traversed 56579 commits more than 10 tags found; listed 10 most recent gave up search at d62c9b2671be55ae0305bebfda17b595f33797f2 v1.3.0-39040-g76b7c50645 =2D-8<---------------cut here---------------end--------------->8--- (output from magit-process) [...] I'm not so expert in git, still trying to understand how to debug this strange behaviuor Happy hacking! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmSB3poMHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkS41kP+gPW1zZ6/OtsEafiNls2zdK7Qtk2Lbykvre/6GPv oGnRKkd1GhUJzuVxTI4nkS5a6w7BEMiRQuB2XwefiqEQVeFslDV+F/MlSQjUDkir aRPSWaCp9hBh5T423P8MjE14KBAryVLc8gcHlTByxiXal5As+czh0Wccr6dk7cjt gPDgBhIoYScJHc7dxM601mxWhJdaHn3o1vZ+klMRdiKIqFuuma0VbenMT3OH6wNE JciDTCSHx6PM/pOqQGXILjmQNwAu+T1cRN+yUgTQBhq4oG/R6YZeVEUpDm6S2S99 nE4RmlJ9+38TBNrJbW1ST/SvxwW8DiNWVGU5T14eOXUO0CYvGpYQMdS0GvXiZNXP XKkEn0L83HrAahsPVcimDypwKgkzpjYtgFl51AsnjXzjJ+6maCl+Nqw6OhBbacj+ D7vUjYnQKW94TvzoHZGLHgIIOcW/T/KjKALgE5hcCFfGH7C4PvQr/T+0PVWAeV9X vReSO6BsHRFhY06TcyeHLDqCeXtjQBTbl8aRccEOY2mwi14vAYzDyxVziTKW5svD xHdMXtoGPdDwlgO9xLraMTQ0jHfGKhXfN6ae+t0cZrPel2+ghVWHJOLOascWvE5t 7hgw9W4EBrN/+tQM9DvPlx2Ug/3nkyNZnUNU7QdkpipJbKbWerQTto2gSxoakHy0 YtuF =9yZl -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Jun 25 05:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63775: git describe on current master says: v1.3.0-38775-g6192acf8b7 References: <87pm6k5vwn.fsf@gnu.org> In-Reply-To: <87pm6k5vwn.fsf@gnu.org> Resent-From: Jonathan Brielmaier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 31 Jan 2024 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63775@debbugs.gnu.org Received: via spool by 63775-submit@debbugs.gnu.org id=B63775.17067317478657 (code B ref 63775); Wed, 31 Jan 2024 20:10:02 +0000 Received: (at 63775) by debbugs.gnu.org; 31 Jan 2024 20:09:07 +0000 Received: from localhost ([127.0.0.1]:39104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVGtO-0002FZ-QG for submit@debbugs.gnu.org; Wed, 31 Jan 2024 15:09:07 -0500 Received: from mout.web.de ([212.227.15.4]:40791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rVGtL-0002F4-J4 for 63775@debbugs.gnu.org; Wed, 31 Jan 2024 15:09:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1706731727; x=1707336527; i=jonathan.brielmaier@web.de; bh=pyII4MzCM9kZXHNWjLzj5psWW1nA8YP2AuQCfl9KjiA=; h=X-UI-Sender-Class:Date:To:Subject:From; b=AxSP12LGEmnUNlGoaduMTycgBYRfGRxXei/IJlI0fwlwM/t1U3Ufgk8VYfdTXfVq 6TEHZgrGHPV2A5ggfA3+z1kbD0eZisWpFa8phxEYTewMvOnkU3cvvlYENNIxXaK+H n/r+xpPiyjeKOqzrCiCg1gzmCmVzp4mvwmOW6L2TY54kbh7kAKRiP3yVmit9y6Srg yvmVpwrmBiOlmZqLIKo/VvAFzoFf81mwBa4dClca31bJUS3dN7PLK/q/ptuY9Tww2 oWvJE1K3vxjLNVu4N5hVx1fxkQrnqSG8zkDcBQp/iLkBxxwwbjtPnJodNwOQ7rJ3K aYPB/zgcx5EMZkheZQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [172.18.165.84] ([185.104.138.31]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MaHWj-1rb6RG2N8v-00W1B7 for <63775@debbugs.gnu.org>; Wed, 31 Jan 2024 21:08:47 +0100 Message-ID: Date: Wed, 31 Jan 2024 21:08:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Jonathan Brielmaier Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:GVCDY7AqIo/rabD3Q0Ynu6/Nj1AJV5nIZeh4M8ni7E+BybGC/av gJMe165H/m2AMr0ZOzgvFgaL8o8WWllNhtGCEtMhEb0yyyDSQgjmlx5/JswmSfzMVim/Jh7 wWca/nTL70G5vo3MnKGHrQU8iuWT6M4ejv1DWZz3XVs3cmxac9R2QmruiWO8rFbZS8qQC1d VdfO4Sr79HyrP5UtcVj8w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:yOklcvpgwB4=;JybtoxS5MpyVrqbNmBJhXzvNU7P LqqJesCNao+fJ4iv4TllJ+uzJ88py04tKN0M8yKQt2xLycFYxJdj9t1wHhlXcWVDUF0ESpWIi V509PLVF8Su3Lm8J0h1mddGyp41KXPg/NN6bCxCjWq0Iv9RTudACp87fGkCH+M29h6GSdEOZ0 CvRRGGAeeVG72f8ei/1ZKF0MhEW1mGpURG0iqUbBqPAVADUhX/PyfFIhx12da8CERRPXta6rY tVjPOw6TnOwI4ZAcSspQ2Lpv0+DuVxkHwh6N99ow8DnmGu3cYMdU6foLOnJgInckffRypJ4NR Tt+pSVii6CjtC7Lcv+ogBJpoad9Op3FzcYgzwlMtARAZScra2lUg//45opEYMWBdGIKyMDDrA r03KnjyJjYtEGAxUUEpdXlMkLQqEDZcLDkSvUCBuaRwkM9UsBx6kQzRa0lVzalEtdUU0n6iuE 7XuDfBKKOyeJnxdpCGzuzeGwUPW3NA4M+/TqWG8CyYSd70G9ok4wsVqrmXwT8RNXdlsw6S43T iD2rFKWbXVRg8Ss4swTWPMCakMLjmTuRMQxxWGxYfJP3nuPjd47F4MijjBhgM/ANet3BdASBK DCnCHmXuYH1Ch7Od7qmcSgGkPPqMsJDZMtJLrg86MUnM5NmqMUGXqA7I/x0Dpm8mJdwuxwH9a tB+2Jh2EaSHL39NHr9VuLfSZJh7I7RdBk7IO037klxYicH2O4iKfpnhZHL8hTpSJJ81b3dJyz 3uKGLAsnzbDeMD/uRHNAbzLJ3CViXja1HEmRveee3QLIvuNNjuJ5DueMEcFkcjLlZTGPoww51 VQZBbtXbtQ1U992wTyVbZoSLDtNiwZyDXe7aMC9X9qElyR8gZWLRnbUiEImX6SzRXO X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hm, I'm hitting this bug while trying to work on the openSUSE package. They offer a way to build RPM packages from the most recent master commit, but it's get the wrong version (1.3.0 instead of 1.4.0 [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.104.138.31 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.227.15.4 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jonathan.brielmaier[at]web.de) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.4 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.9 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hm, I'm hitting this bug while trying to work on the openSUSE package. They offer a way to build RPM packages from the most recent master commit, but it's get the wrong version (1.3.0 instead of 1.4.0 [...] Content analysis details: (1.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [185.104.138.31 listed in zen.spamhaus.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.227.15.4 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [212.227.15.4 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jonathan.brielmaier[at]web.de) 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hm, I'm hitting this bug while trying to work on the openSUSE package. They offer a way to build RPM packages from the most recent master commit, but it's get the wrong version (1.3.0 instead of 1.4.0) due to this `git describe` result. So in the end the package looks like `guix-1.3.0+git*.rpm` which is a problem, because the normal Guix package is already `guix-1.4.0*.rpm`. RPM then thinks the package is older... ~Jonathan From unknown Wed Jun 25 05:43:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Janneke Nieuwenhuizen Subject: bug#63775: closed (Re: bug#63775: git describe on current master says: v1.3.0-38775-g6192acf8b7) Message-ID: References: <87le81bd8d.fsf@xelera.eu> <87pm6k5vwn.fsf@gnu.org> X-Gnu-PR-Message: they-closed 63775 X-Gnu-PR-Package: guix Reply-To: 63775@debbugs.gnu.org Date: Sat, 03 Feb 2024 18:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1706985842-9853-1" This is a multi-part message in MIME format... ------------=_1706985842-9853-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #63775: git describe on current master says: v1.3.0-38775-g6192acf8b7 which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 63775@debbugs.gnu.org. --=20 63775: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D63775 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1706985842-9853-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 63775-close) by debbugs.gnu.org; 3 Feb 2024 18:43:47 +0000 Received: from localhost ([127.0.0.1]:47066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWKzT-0002YH-9V for submit@debbugs.gnu.org; Sat, 03 Feb 2024 13:43:47 -0500 Received: from ns13.heimat.it ([46.4.214.66]:56064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWKzR-0002Y1-7n for 63775-close@debbugs.gnu.org; Sat, 03 Feb 2024 13:43:46 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id DD59B30081A; Sat, 3 Feb 2024 18:43:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vCAi5B3hVh0T; Sat, 3 Feb 2024 18:43:25 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.217]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 189F53007E0; Sat, 3 Feb 2024 18:43:25 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id AAAD92E27450; Sat, 3 Feb 2024 19:43:24 +0100 (CET) Received: (nullmailer pid 18874 invoked by uid 1000); Sat, 03 Feb 2024 18:43:24 -0000 From: Giovanni Biscuolo To: Jonathan Brielmaier , 63775-close@debbugs.gnu.org Subject: Re: bug#63775: git describe on current master says: v1.3.0-38775-g6192acf8b7 In-Reply-To: Organization: Xelera.eu References: <87pm6k5vwn.fsf@gnu.org> Date: Sat, 03 Feb 2024 19:43:14 +0100 Message-ID: <87le81bd8d.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63775-close Cc: guix-devel@gnu.org, Simon Tournier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Jonathan, I'm CC'ing guix-devel because I suspect many users who cloned/updated the Guix repo are having the same results... and concerns. This is a git bug, not an issue with our repo, and for this reason (I hope) I'm closing this bug; please see below. Jonathan Brielmaier via Bug reports for GNU Guix writes: > Hm, I'm hitting this bug while trying to work on the openSUSE package. > They offer a way to build RPM packages from the most recent master > commit, but it's get the wrong version (1.3.0 instead of 1.4.0) due to > this `git describe` result. As pointed out by Simon last June the result of "git describe" is not what users should get given the "Search strategy" documented in the command manual: https://git-scm.com/docs/git-describe#_search_strategy: =2D-8<---------------cut here---------------start------------->8--- If multiple tags were found during the walk then the tag which has the fewest commits different from the input commit-ish will be selected and output. Here fewest commits different is defined as the number of commits which would be shown by git log tag..input will be the smallest number of commits possible. =2D-8<---------------cut here---------------end--------------->8--- The upstream bug report (and a reproducer) is this one: =C2=ABSubject: [BUG] `git describe` doesn't traverse the graph in topologic= al order=C2=BB https://lore.kernel.org/git/ZNffWAgldUZdpQcr@farprobe/ Another user also reported the issue and a reproducer: https://public-inbox.org/git/PH0PR08MB773203CE3206B8DEFB172B2F94839@PH0PR08= MB7732.namprd08.prod.outlook.com/ The "executive summary" is that "git describe" gets the count of "fewest commits different from the input commit-ish" wrong (see anso previous messages in this thread for details). Anyway, even if this bug was solved, I'd warmly suggest NOT to base the check for the latest stable Guix commit (usually tagged as v[0-9]*) on the result of "git describe". Today, if "guix describe" had no bugs, the correct result would be: "base-for-issue-62196"... AFAIU :-) This is a reproducer: =2D-8<---------------cut here---------------start------------->8--- $ git describe $(git rev-list --tags --max-count=3D1) base-for-issue-62196 =2D-8<---------------cut here---------------end--------------->8--- To get the value corresponding to the latest tagged version, we should testrict the list of tags to the ones matching the "v[0-9]*" regexp: =2D-8<---------------cut here---------------start------------->8--- $ git describe $(git rev-list --tags=3D"v[0-9]*" --max-count=3D1) v1.4.0 =2D-8<---------------cut here---------------end--------------->8--- To browse all the tags there is the "git tag" command, for example to have the list and description of every Guix released version: =2D-8<---------------cut here---------------start------------->8--- $ git tag -l "v[0-9]*" --sort=3D-creatordate -n v1.4.0 GNU Guix 1.4.0. v1.4.0rc2 GNU Guix 1.4.0rc2. v1.4.0rc1 GNU Guix 1.4.0rc1. v1.3.0 GNU Guix 1.3.0. v1.3.0rc2 GNU Guix 1.3.0rc2. v1.3.0rc1 GNU Guix 1.3.0rc1. v1.2.0 GNU Guix 1.2.0. v1.2.0rc2 GNU Guix 1.2.0rc2. v1.2.0rc1 GNU Guix 1.2.0rc1. v1.1.0 GNU Guix 1.1.0. v1.1.0rc2 GNU Guix 1.1.0rc2. v1.1.0rc1 GNU Guix 1.1.0rc1. v1.0.1 GNU Guix 1.0.1. v1.0.0 GNU Guix 1.0.0. v0.16.0 GNU Guix 0.16.0. v0.15.0 GNU Guix 0.15.0. v0.14.0 GNU Guix 0.14.0. v0.13.0 GNU Guix 0.13.0. v0.12.0 GNU Guix 0.12.0 v0.11.0 GNU Guix 0.11.0. v0.10.0 GNU Guix 0.10.0. v0.9.0 GNU Guix 0.9.0. v0.8.3 GNU Guix 0.8.3. v0.8.2 GNU Guix 0.8.2. v0.8.1 GNU Guix 0.8.1. v0.8 GNU Guix 0.8. v0.7 GNU Guix 0.7. v0.6 GNU Guix 0.6. v0.5 GNU Guix 0.5. v0.4 GNU Guix 0.4. v0.3 GNU Guix 0.3. v0.2 GNU Guix 0.2. v0.1 GNU Guix 0.1. v0.0 Guix 0.0, initial announcement. =2D-8<---------------cut here---------------end--------------->8--- HTH! Happy hacking, Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmW+iUMMHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSFaQP/iYotAPeTDFBu+TZLh0vcE0SpIACEL5XFQj3tgDr eYx5b7ODJaESeqSLcJqbaQbe2/E95XicfCyC5tV5yDqpKqJ0qqBcG8EHqTU+Wp9x GwE8QjNsfgZKHSeFxS23Y1tGyYEU/uv8tr2o9KMLEI2jEcTDWBtPmjzhknKODhxl Cx9EfJ83Twz4h70NurG5iHAYUkYIyIRMrwHwx5EVv91WnRN5mkIyC0WJfyQxhbXo KNeZlH64YKELeWkjVsTnKDVapBQsgHJE2UBqZyiDXZDFoxhJo+BTRXHXWsRO4xao JbGpe/p77p2FxuuOjxk+1jhmwAKWASXkRTXIRdqx7odpx6tjz72KJqdIeSLxtNrR GOWhNXy2no6vmFkqK5diybGIR4Al9pbgNiS3SfNdXLFUodqhbFbO+4YtfFznhmQW 1vOOzofv2xGfXt0rnu9+0GaSgd0NfjJpbE/BsWYX9ILAQdXwBPkYLFVVBalKdrLk ontodcUcnbfii0kra+Ey2oygCE0aqJyReO0jEcl4DlYAEM5uW67Jfn9RN7A/ajE6 I5IDapq5RZkl4TYv0jAGrKnQrdqHRtjpZfC0YQJqORTZbqlvMx52JwVtifEPoFpJ JKEyrkSXdsoKg4OKTXfStGkZ+jP9Ol8USHgSXNxBgXgL5dymQsXlClvLCrcK/r5w YSsD =tnb7 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1706985842-9853-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 May 2023 15:16:17 +0000 Received: from localhost ([127.0.0.1]:54466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3I80-0004wt-W4 for submit@debbugs.gnu.org; Sun, 28 May 2023 11:16:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:33630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3I7y-0004wl-Jr for submit@debbugs.gnu.org; Sun, 28 May 2023 11:16:15 -0400 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 1q3I7y-0001C6-9B for bug-guix@gnu.org; Sun, 28 May 2023 11:16:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3I7x-0004dW-4Y; Sun, 28 May 2023 11:16:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=xBY81UWnEgIhIuK7IsAaNYKn9+Ad8vabPPM036PhDQQ=; b=Y72dwwd6xgKRVf DgAF61gq/XZD18uR44u0Q2HeoXaGnBPajCS2ivp81AzgTOkvzAqeBR8rzvw1NxGzygeSrI+PdHLuY xOJ+He4J9cdsAn9SEx2P0lQC+9iKxR+v0qCo/3eEH6jnSLytz56Owyt7BUBgNm9e+k0B8k7srh8Yp vDpQ3oua5L6vEfEfEhnkOAP4P1yoa+lxsrm7zz+mhXot+ctWCvM39jiLNb3qp9tJ9CcNTl7oM/WyT /Hpqk8B89tmkmaLzKM6vdy/ewM9tBXSpWxMjEtP8Oa8v1q+jOfm2+f3/vvRNj6JQJJri0q0ni0Fd3 pGr3XhZBI9YaDrt4mJYw==; Received: from 2a02-a462-da03-1-2701-7f81-a736-4607.fixed6.kpn.net ([2a02:a462:da03:1:2701:7f81:a736:4607] helo=drakenpad.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q3I7w-00041J-MH; Sun, 28 May 2023 11:16:12 -0400 From: Janneke Nieuwenhuizen To: bug-guix@gnu.org Subject: git describe on current master says: v1.3.0-38775-g6192acf8b7 Organization: AvatarAcademy.nl X-Url: http://AvatarAcademy.nl Date: Sun, 28 May 2023 17:16:08 +0200 Message-ID: <87pm6k5vwn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Subject says it all: --8<---------------cut here---------------start------------->8--- 17:12:25 janneke@drakenpad:~/src/guix/master [env] $ git fetch origin 17:12:56 janneke@drakenpad:~/src/guix/master [env] $ git fetch origin --tags 17:13:04 janneke@drakenpad:~/src/guix/master [env] $ git reset --hard origin/master HEAD is now at 6192acf8b7 gnu: telegram-desktop: Update to 4.8.1 17:13:09 janneke@drakenpad:~/src/guix/master [env] $ git describe v1.3.0-38775-g6192acf8b7 --8<---------------cut here---------------end--------------->8--- (There was a question on IRC by cassio: "How do I upgrade to 1.4", but I don't see it in the channel logs yet). Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com ------------=_1706985842-9853-1-- From unknown Wed Jun 25 05:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63775: git describe on current master says: v1.3.0-38775-g6192acf8b7 Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Feb 2024 13:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Giovanni Biscuolo , Jonathan Brielmaier , 63775-close@debbugs.gnu.org Cc: guix-devel@gnu.org Received: via spool by 63775-done@debbugs.gnu.org id=D63775.170774280012088 (code D ref 63775); Mon, 12 Feb 2024 13:00:03 +0000 Received: (at 63775-close) by debbugs.gnu.org; 12 Feb 2024 13:00:00 +0000 Received: from localhost ([127.0.0.1]:55199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZVuh-00038t-RY for submit@debbugs.gnu.org; Mon, 12 Feb 2024 08:00:00 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:38383) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZVuf-00038M-R3 for 63775-close@debbugs.gnu.org; Mon, 12 Feb 2024 07:59:58 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-410826218a7so1682655e9.1 for <63775-close@debbugs.gnu.org>; Mon, 12 Feb 2024 04:59:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707742775; x=1708347575; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=wiq8kbhixEpsUF0lsynGcfdKbYOEFGORvior8clWWfY=; b=bKDuKGZmcXGQHJAY6/zPZUpONTctBQwD/5ohuBcb1mQfAcP7BYp+zZCbpWEcnGsT30 YsZP++DotzILKGeb6HbJ07s65OAbymBQ0zqFEH8pqFWRmKh020XmRYEJbnZ2SF/og1FB hbsIthqyy0vWQ1ihG7/R4Zt+oNgMVjlHwzRsKIhI7hyDf6oXoOPhumMXmSYXECjX/BWg UuI6bjR3bHouKQ91SrVuWSHvq1QB6KNsXetDNJv8J0cGA6tz3FA4549ssTGZLcyNVUdX CVmybV681V3IMnQYB5nTM34aq07zkKLwFC7zxsr2pEToOyVEQOSDaxnW5RaxoMGpjOdb ARLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707742775; x=1708347575; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wiq8kbhixEpsUF0lsynGcfdKbYOEFGORvior8clWWfY=; b=YGXxHuYscr0zvZIu0JVa63vrrjdrBbXmADNDsqC1WpSzbt/G5YU9Ri57XBKrnL2g4f /oNN1CZ9AEb8oz/IN/+JdAKCROZ5hfR6FUIKmVXKnHeoJAP8/A3CAOYkpkxvo72ZPehS 5IlxVi7YzMI/wA7laYKrlg5Nka57Yvrexa2Wdg9iyA8WvbkuA+NeXEdyM8iqTJUk9aRS uwOQiPiETW1gcA1mEHg7EPNOOCXCytzph+zaaL/b8YFzLLoOUb4prW5Ed4AC6zfLFoQC WclacqnSbLmFL2FDA+W3O5v9tgFErd04mDFUEoZKEbMccjIowPgeaD7TiKQhjK8N9Dmj +ncA== X-Forwarded-Encrypted: i=1; AJvYcCWXxtlNb6fpWiIlJ2hW5yABYV+s1w1j8JOLXPO6G84T5Wroz0MuC4pQcNmnM3p8Tc9YAu/T8sb72oj5YKoxN52unmYpqX2wsUltVD0= X-Gm-Message-State: AOJu0YyiHt809D9nu+m6YrXPGeMWz7rb7Qn7gy2VNwE2pqXltx1KagHI 6VUbt/LRMtI2FQ14ottylpvBOFeWlgjgjdXe8ngqOo4Hogn8rQlT X-Google-Smtp-Source: AGHT+IH3dhUl9BEU4JT69ibs7VtQaYxQjqZ+a6oh2yP+BhAL7tEJ753t5uJdK8fSHnk2dnIs7SJX+w== X-Received: by 2002:a05:600c:1553:b0:410:ca22:8f98 with SMTP id f19-20020a05600c155300b00410ca228f98mr2592371wmg.4.1707742774793; Mon, 12 Feb 2024 04:59:34 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUKU0P/op8JB9GXX8ZyOx5CBR5puDv3eXz2R96OpjgAqDNor+epji9Hepb0vx10Qm1yrAMWpTzMcdkG9/KHs/keE1Amo2UHtIw0G4dCT/+Pm86NAn/1zEZ0J7oLJ9aEhw1UzbTo1Dfm Received: from lili (roam-nat-fw-prg-194-254-61-40.net.univ-paris-diderot.fr. [194.254.61.40]) by smtp.gmail.com with ESMTPSA id y26-20020a7bcd9a000000b00410c449f25asm3835734wmj.6.2024.02.12.04.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 04:59:34 -0800 (PST) From: Simon Tournier In-Reply-To: <87le81bd8d.fsf@xelera.eu> References: <87pm6k5vwn.fsf@gnu.org> <87le81bd8d.fsf@xelera.eu> Date: Mon, 12 Feb 2024 10:17:17 +0100 Message-ID: <871q9i2g9u.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, On sam., 03 =?UTF-8?Q?f=C3=A9vr.?= 2024 at 19:43, Giovanni Biscuolo wrote: > This is a git bug, not an issue with our repo, and for this reason (I > hope) I'm closing this bug; please see below. Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:330 listed in] [list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) Hi, On sam., 03 f=C3=A9vr. 2024 at 19:43, Giovanni Biscuolo wrote: > This is a git bug, not an issue with our repo, and for this reason (I > hope) I'm closing this bug; please see below. Here the explanation of the bug of =E2=80=9Cgit describe=E2=80=9D: https://lore.kernel.org/git/20191008123156.GG11529@szeder.dev/ =20=20=20=20 $ git describe d1a251a1fa v2.23.0-135-gd1a251a1fa $ git log --oneline v2.23.0..d1a251a1fa | wc -l 59 Uh-oh, 59 !=3D 135. This is happening because: - Git is too fast ;) and the committer date has a one second granularity, so scripts can easily create subsequent commits with the same committer date. Case in point are the two subsequent merge commits f3c19f85c5 and 4a3ed2bec6 at the bottom of this simplified history snippet (kind of a hand-edited 'git log --graph --format=3D"%h %cd %s"'): * d1a251a1fa 2019-09-09 12:26:36 -0700 Merge branch 'en/checkout-= mismerge-fix' |\ * | ... a big chunk of history simplified away ... | * acb7da05ac 2019-08-16 09:58:00 -0700 checkout: remove duplicate= code * | a5e4be2f68 2019-04-25 16:41:15 +0900 Merge branch 'ab/commit-gr= aph-fixes' * | f3c19f85c5 2019-04-25 16:41:14 +0900 Merge branch 'ab/gc-reflog' |/ * 4a3ed2bec6 2019-04-25 16:41:14 +0900 Merge branch 'nd/checkout-= m' - 'git describe' implements its own history traversal: it iterates over all parents of a commit, adds any yet unseen parents to a commit list ordered by date, and then continues with the first, i.e. most recent commit from that list. While doing so it uses several bits in 'commit->object.flags' to track reachability information from several candidate tags at once, and copies these flags from each commit to its parents; this is important to compute the correct number of additional commits. Another important thing is the implementation detail that commit_list_insert_by_date() inserts a new commit after all other commits with the same date that are already in the list. Thanks Giovanni for pointing this out. Cheers, simon