From unknown Sun Jun 22 04:03:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73454: mix-build-system does not support git-version output Resent-From: paul Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 24 Sep 2024 16:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73454 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73454@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172719601223334 (code B ref -1); Tue, 24 Sep 2024 16:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Sep 2024 16:40:12 +0000 Received: from localhost ([127.0.0.1]:54489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st8aB-00064D-Th for submit@debbugs.gnu.org; Tue, 24 Sep 2024 12:40:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:59652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st8CJ-0004Bt-RC for submit@debbugs.gnu.org; Tue, 24 Sep 2024 12:15:32 -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 1st8Bu-0001VA-Pg for bug-guix@gnu.org; Tue, 24 Sep 2024 12:15:07 -0400 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1st8Bs-0001eK-HW for bug-guix@gnu.org; Tue, 24 Sep 2024 12:15:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1727194493; bh=vcf7aiPcFRkKWUQ8DUsGQzAsR+6u9yQdzuJ0nZZk/qk=; h=Date:To:From:Subject:From; b=aDMzv+GF3nuRwhnkIv74jSvOvxf69lxPi+jo45d/DR0C2LtbyNZB6I8jovDgGXIu5 fh3gNg9Bkci/A6s5dhPA8jkd/HNo3GGxaAkq4iFvsgDa5KWxIA6i8HQSdKG2ZkDX2C 9xcnos1v1Ghl7pc45zXaug6f4+Z7bekcUnDcfCCU= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XClLj0qFkz115x for ; Tue, 24 Sep 2024 16:14:53 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XClLj0S83z115m for ; Tue, 24 Sep 2024 16:14:53 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------HDoDeFy7v0dRKcxAWStIQajw" Message-ID: Date: Tue, 24 Sep 2024 18:14:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US From: paul Received-SPF: pass client-ip=93.190.126.19; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) This is a multi-part message in MIME format. --------------HDoDeFy7v0dRKcxAWStIQajw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Dear Guix, consider the following procedure invokation: scheme@(guile-user)> (package-name->elixir-name "elixir-a-pkg-1.2.3") $1 = "a_pkg" This is the behaviour manifested when the procedure is called with a version created with the git-version procedure from (guix git-download): scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e") $1 = "a_pkg_0.0.0 while the expected behaviour would be: scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e") $1 = "a_pkg" I'm sending a patch addressing this, thank you for your work! --------------HDoDeFy7v0dRKcxAWStIQajw Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Dear Guix,

consider the following procedure invokation:

scheme@(guile-user)> (package-name->elixir-name "elixir-a-pkg-1.2.3")
$1 = "a_pkg"

This is the behaviour manifested when the procedure is called with a version created with the git-version procedure from (guix git-download):

scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e")
$1 = "a_pkg_0.0.0

while the expected behaviour would be:

scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e")
$1 = "a_pkg"

I'm sending a patch addressing this, thank you for your work!

--------------HDoDeFy7v0dRKcxAWStIQajw-- From unknown Sun Jun 22 04:03:46 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: paul Subject: bug#73454: closed (Close) Message-ID: References: <145b64dd-6717-4009-bd08-f679766fdfbe@autistici.org> X-Gnu-PR-Message: they-closed 73454 X-Gnu-PR-Package: guix Reply-To: 73454@debbugs.gnu.org Date: Sun, 13 Oct 2024 22:20:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1728858002-8093-1" This is a multi-part message in MIME format... ------------=_1728858002-8093-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #73454: mix-build-system does not support git-version output 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 73454@debbugs.gnu.org. --=20 73454: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73454 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1728858002-8093-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 73454-done) by debbugs.gnu.org; 13 Oct 2024 22:19:59 +0000 Received: from localhost ([127.0.0.1]:59191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t06wR-000265-6m for submit@debbugs.gnu.org; Sun, 13 Oct 2024 18:19:59 -0400 Received: from confino.investici.org ([93.190.126.19]:65257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t06wO-00025m-QK for 73454-done@debbugs.gnu.org; Sun, 13 Oct 2024 18:19:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1728857379; bh=uVu4qbU3GS3AsCINWPPRaotiHvpEOWcuDO6BgB6zUYU=; h=Date:To:From:Subject:From; b=Soz1GfIroBpWmNj47MRkcK0jHU/ZWU9+RoUNuNselJEWiyKzX7+8+w6/FTwB402IG UMhLjgi3GLxZQ1Jit7rrLxYz8BvDXrThL0c5/FDMh2hVjrbga8+OBes4/FaI+rQSba ujg++B9NfEi9Tph0heeRzrzG/KX8jXSsR1ioA8i8= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XRZKH4Qh4z1198 for <73454-done@debbugs.gnu.org>; Sun, 13 Oct 2024 22:09:39 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XRZKH41F7z10qx for <73454-done@debbugs.gnu.org>; Sun, 13 Oct 2024 22:09:39 +0000 (UTC) Message-ID: <145b64dd-6717-4009-bd08-f679766fdfbe@autistici.org> Date: Mon, 14 Oct 2024 00:09:39 +0200 MIME-Version: 1.0 User-Agent: Icedove Daily To: 73454-done@debbugs.gnu.org Content-Language: en-US From: paul Subject: Close Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 73454-done 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.7 (-) Fixed by 9a966bace1ce6a038ab580fe9103afa588101449 ------------=_1728858002-8093-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Sep 2024 16:40:12 +0000 Received: from localhost ([127.0.0.1]:54489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st8aB-00064D-Th for submit@debbugs.gnu.org; Tue, 24 Sep 2024 12:40:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:59652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1st8CJ-0004Bt-RC for submit@debbugs.gnu.org; Tue, 24 Sep 2024 12:15:32 -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 1st8Bu-0001VA-Pg for bug-guix@gnu.org; Tue, 24 Sep 2024 12:15:07 -0400 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1st8Bs-0001eK-HW for bug-guix@gnu.org; Tue, 24 Sep 2024 12:15:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1727194493; bh=vcf7aiPcFRkKWUQ8DUsGQzAsR+6u9yQdzuJ0nZZk/qk=; h=Date:To:From:Subject:From; b=aDMzv+GF3nuRwhnkIv74jSvOvxf69lxPi+jo45d/DR0C2LtbyNZB6I8jovDgGXIu5 fh3gNg9Bkci/A6s5dhPA8jkd/HNo3GGxaAkq4iFvsgDa5KWxIA6i8HQSdKG2ZkDX2C 9xcnos1v1Ghl7pc45zXaug6f4+Z7bekcUnDcfCCU= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XClLj0qFkz115x for ; Tue, 24 Sep 2024 16:14:53 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XClLj0S83z115m for ; Tue, 24 Sep 2024 16:14:53 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------HDoDeFy7v0dRKcxAWStIQajw" Message-ID: Date: Tue, 24 Sep 2024 18:14:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Content-Language: en-US To: bug-guix@gnu.org From: paul Subject: mix-build-system does not support git-version output Received-SPF: pass client-ip=93.190.126.19; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) This is a multi-part message in MIME format. --------------HDoDeFy7v0dRKcxAWStIQajw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Dear Guix, consider the following procedure invokation: scheme@(guile-user)> (package-name->elixir-name "elixir-a-pkg-1.2.3") $1 = "a_pkg" This is the behaviour manifested when the procedure is called with a version created with the git-version procedure from (guix git-download): scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e") $1 = "a_pkg_0.0.0 while the expected behaviour would be: scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e") $1 = "a_pkg" I'm sending a patch addressing this, thank you for your work! --------------HDoDeFy7v0dRKcxAWStIQajw Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Dear Guix,

consider the following procedure invokation:

scheme@(guile-user)> (package-name->elixir-name "elixir-a-pkg-1.2.3")
$1 = "a_pkg"

This is the behaviour manifested when the procedure is called with a version created with the git-version procedure from (guix git-download):

scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e")
$1 = "a_pkg_0.0.0

while the expected behaviour would be:

scheme@(guile-user)> (package-name->elixir-name "a_pkg-0.0.0-0.e51e36e")
$1 = "a_pkg"

I'm sending a patch addressing this, thank you for your work!

--------------HDoDeFy7v0dRKcxAWStIQajw-- ------------=_1728858002-8093-1--