From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CApkG6Xr8maYJwAAqHPOHw:P1 (envelope-from ) for ; Tue, 24 Sep 2024 16:41:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id CApkG6Xr8maYJwAAqHPOHw (envelope-from ) for ; Tue, 24 Sep 2024 18:41:09 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=przcdvJz; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=aDMzv+GF; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727196069; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=vcf7aiPcFRkKWUQ8DUsGQzAsR+6u9yQdzuJ0nZZk/qk=; b=ake7Ub0rrWFYl87EZySj3VzMWoU7EvtXj8tuT6IkUhhJqOEqHNlG+zhPAz5OTBfKAAcNvg lxrTUB7mOeeOfAfmNz5l1pQLwx2ploUbufbAjQNHuMBxWoiS6d9Tya1pfiHc5YTZ8JgT/G MxA9eQcqyWBCExc9etwQI1zFkISf1hNdi6J0jhEGp3bNFpvJDvTCLWDnJ3rAkFU2VuzN+P ZVJHTUri9uPL2hAYqV5wublLPNWa9yVhUBLFcpfqwu2c8+KJ33ZDwkJAo5F5X69sGhcAlk W5WIKjcQCgGan2fzFqXHAZM3ehaDHT4DE2L2zeyC4inQ6958umvMvbIeuCwezg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=przcdvJz; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=aDMzv+GF; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727196069; a=rsa-sha256; cv=none; b=G034g3g2WsIj2rmBGJ73W8pVOA2I62hPSQVuIU2w+QTc8py3fEeCiY9lDsO3T07h+bvAUd chTKH5+l7Md7m1dTT+bsBrRA56CaXGeXvOn1i91gl4t7kZEy7PsjuL5Vm6To34EuyW0BPI tPJHyHjbUDC9v+loZxUQGKTkmxW+ck0pa/Y3jqE88/aVemgUrfw5LQDcDYiZS3y6OgmQad 9WWr6cA5G+AcO8W/g8vOE7/4NWheNd3tXm0fuO1r+Lv53+N3tTVM5XY+Ar3JtBo/QIXM8C mCwryWgVxRNSYClcpMfMSs9yc/KLRTOV5mbrg/XK/Y2a2lkT10PkAXmEsglSQw== 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 4E8BF7F452 for ; Tue, 24 Sep 2024 18:41:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1st8an-0000cR-Cy; Tue, 24 Sep 2024 12:40:49 -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 1st8af-0000bq-Oe for bug-guix@gnu.org; Tue, 24 Sep 2024 12:40:43 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1st8ab-0005Dy-QR for bug-guix@gnu.org; Tue, 24 Sep 2024 12:40:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=vcf7aiPcFRkKWUQ8DUsGQzAsR+6u9yQdzuJ0nZZk/qk=; b=przcdvJzE2bd1t4n0Q4fq45S6PB7B8vGCIGocz6vdYwGwOWkQ/wsYhmNVRROW3qs0UbX8UeTDGFMnUxmq1JgCJs1gBRXTGDjV7UVuRKuoXfWnfqGuuJs0qsF7LcD5+RG398MJJHgIfygcyT14aVtbcX/8ZfDO3Bp0oPamD6/xg9xvsay28qgoNbTuhNPxBRVDdCOsQJxauyZ08Yu5IyangU00JrfuG4pJATBP4k5NnZLLWajZiPLzDiKRoPcRL16NpnMWpvT1JHB97gpxH/h/MjpTqYC2xzi56ySRYS/8HrP2kLa7SCtY5RG2fWLmmMnw+DdNuBs9y94Iz/F7v672Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1st8b0-0006FE-AG for bug-guix@gnu.org; Tue, 24 Sep 2024 12:41:02 -0400 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: paul From: paul via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 4E8BF7F452 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -5.02 X-Migadu-Spam-Score: -5.02 X-TUID: /bjFKhWSFLUw 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--