From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cAmLBUaF9GbUdAEAqHPOHw:P1 (envelope-from ) for ; Wed, 25 Sep 2024 21:48:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cAmLBUaF9GbUdAEAqHPOHw (envelope-from ) for ; Wed, 25 Sep 2024 23:48:54 +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=qmtYF+mC; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=o5P+6e88; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-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=1727300933; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Nqx6PA0Jf9wKaE1Eb1Ju2rh5Mn8uQS2Ys6feEwdHaDk=; b=WS3HC8NVo1mfYaoyBBggu9Z6EFLSnJZFXRcT37ng3FDNgIS4EEe7BKhIixP0EartxdW39a UoKmxGu8UQi2YvaMfrYdhWnnoBo/PWkbRl0LU/tl9mbQSUg9u4udGm2E+6rLuxVuS8pGxl xdHFBbDsfetU8qSfYnKF0UTjhYWVw5Wgtd1sHuRnLUddfDt1frOlODErAIogrHLLFCllGx wk3mF4qhj4YYGEx3Ik0FPLSWXjtY7zVG3cCJJ3qbIEeqhpF1K4F/v5EA9U4IeTQqTizRpp +EMmpmYizS2/Fko9v86hRAh8FZLLn0MDDnI6qe1krTgGNtGtVFKBR/khNUtaBA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727300933; a=rsa-sha256; cv=none; b=RUp88KNTziEpPuP31+2H0gA4KHN+JoRTWC3FH68+l0XHcpCuCO7JZBoCAzD7HPFwK9wyMp F58bQoQt6IVFDjZD/VFR58RkXuzaESA/RRr62ttdhMFSgqXvsQ+unCjTCL/OLznIAPG+6Z v2lHmCRvFnQNJmEtl200EnVVUTgItkyu02jDiijv80dVWEUVz15BdacHLHTfRPOWRiXmjU zmfY6AHjOdof+3FU5D1tSo7YA+wjKIrIcMaKXtRbs3RGs+fgyb5hv7onJMb9Op4HRwteAb GNmK2EQu/xnMZEhfCO/lnKpmImcDCdbX1ESvTMkw5aUftoCSpn7VaZoKx/kt/Q== 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=qmtYF+mC; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=o5P+6e88; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 CD6941D02F for ; Wed, 25 Sep 2024 23:48:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stZsH-0001GD-Jn; Wed, 25 Sep 2024 17:48:41 -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 1stZsC-0001Fb-Sc for guix-patches@gnu.org; Wed, 25 Sep 2024 17:48:38 -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 1stZsC-0004gc-FN for guix-patches@gnu.org; Wed, 25 Sep 2024 17:48:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=Nqx6PA0Jf9wKaE1Eb1Ju2rh5Mn8uQS2Ys6feEwdHaDk=; b=qmtYF+mCeLy+Ozf0gNPFNuzpT0Y/J2xU9ZI3oKuZcXXgHVI/nhfDUMeUSFd0oRMQaE+qEUBq2beqk0xo+iNzKPgerkBW2rsRMg+SVK7+bXw/ZPovskswEKGMkeaZ4lq0Yh+/J6aR7YXhNRIUVd6oiuEnn5lw3dtyx4f0LAQYb9d4z1SB5xgx+j+XT0f3OOTs54lbme8KNWg6H4WJjHuwgLCVZXpyKBOYVQhdSkuHUE9Bsy/xylz1wlqE3R3SzeMDsSSlfi4DFjPyDf/5lg3H8pcRQK/ojIGC163sBbis+27BVhnCZuUt86Q3hwYZj3wS0Byv6EDhxQSE0AQhNp9j/w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stZsc-0004pt-Bk for guix-patches@gnu.org; Wed, 25 Sep 2024 17:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73458] [PATCH 2/2] build-system: mix: Fix decoding of package names with git versions. Resent-From: paul Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Sep 2024 21:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73458 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Liliana Marie Prikler , 73458@debbugs.gnu.org Received: via spool by 73458-submit@debbugs.gnu.org id=B73458.172730091818503 (code B ref 73458); Wed, 25 Sep 2024 21:49:02 +0000 Received: (at 73458) by debbugs.gnu.org; 25 Sep 2024 21:48:38 +0000 Received: from localhost ([127.0.0.1]:57980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stZsE-0004oJ-Cu for submit@debbugs.gnu.org; Wed, 25 Sep 2024 17:48:38 -0400 Received: from confino.investici.org ([93.190.126.19]:40725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stZsC-0004o1-1C for 73458@debbugs.gnu.org; Wed, 25 Sep 2024 17:48:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1727299802; bh=Nqx6PA0Jf9wKaE1Eb1Ju2rh5Mn8uQS2Ys6feEwdHaDk=; h=Date:Subject:To:References:From:In-Reply-To:From; b=o5P+6e88lsPmU7piOe3KER12mDdT8QDWCPCv/V0QTqyYwIaABD2JZLjbqjy5/4Pnx MoRqxawNA06hG0iom5bXxcmdPO5Xh3gM6fuLocdtLbTZorr0bRPJcNhVolq5kLYdCm 4Dq1cHmrq9xu0g3MAOdxg2uCGVtVlnv5kDxeq/7Y= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XDVHt4yryz1139; Wed, 25 Sep 2024 21:30:02 +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 4XDVHt4Jg1z112b; Wed, 25 Sep 2024 21:30:02 +0000 (UTC) Message-ID: <17618f3c-2e80-f45a-b655-838420bce576@autistici.org> Date: Wed, 25 Sep 2024 23:30:02 +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 References: <58afb3593e28f5f670b2be516a165b59e2665276.1727252673.git.goodoldpaul@autistici.org> <573318832af8089d4b974598cc284d1a2b5b3cd9.1727252673.git.goodoldpaul@autistici.org> <8264dde7b19aa96fb004f0aeb7908c43db6ad926.camel@gmail.com> In-Reply-To: <8264dde7b19aa96fb004f0aeb7908c43db6ad926.camel@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: paul X-ACL-Warn: , paul via Guix-patches From: paul via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.12 X-Migadu-Queue-Id: CD6941D02F X-Spam-Score: -7.12 X-TUID: QnL9WVnVKxgf Hi Liliana, Thank you for your help! I'm sendingĀ  v2 addressing your comments. I dropped the elixir-relative-libdir procedure all together because after some experimentation over at [0] it doesn't seem to be actually required. About splitting at dots it would complicate the logic imho as you would need to discriminate dots between version numbers and the dot before the commit. If you don't consider this as a blocking issue I think the regexp should be enough for the cases I tried. Thank you for your work, giacomo [0]: https://github.com/fishinthecalculator/bonfire-guix