X-Loop: help-debbugs@HIDDEN Subject: bug#67685: =?UTF-8?Q?=E2=80=98guix?= shell =?UTF-8?Q?--export-manifest=E2=80=99?= ignores transformations for =?UTF-8?Q?=E2=80=98-D=E2=80=99?= packages Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: gilles.marait@HIDDEN, bug-guix@HIDDEN Resent-Date: Thu, 07 Dec 2023 10:18:01 +0000 Resent-Message-ID: <handler.67685.B.170194426520564 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 67685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67685 <at> debbugs.gnu.org Cc: Gilles Marait <gilles.marait@HIDDEN> X-Debbugs-Original-To: bug-guix@HIDDEN X-Debbugs-Original-Xcc: Gilles Marait <gilles.marait@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.170194426520564 (code B ref -1); Thu, 07 Dec 2023 10:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Dec 2023 10:17:45 +0000 Received: from localhost ([127.0.0.1]:41111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rBBRw-0005Lc-RZ for submit <at> debbugs.gnu.org; Thu, 07 Dec 2023 05:17:45 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludovic.courtes@HIDDEN>) id 1rBBRt-0005LM-2Q for submit <at> debbugs.gnu.org; Thu, 07 Dec 2023 05:17:43 -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 <ludovic.courtes@HIDDEN>) id 1rBBRa-0002TS-D9 for bug-guix@HIDDEN; Thu, 07 Dec 2023 05:17:22 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>) id 1rBBRW-00088m-Qn for bug-guix@HIDDEN; Thu, 07 Dec 2023 05:17:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=BojmgJegdUaXtMxs5MqXnwXrEpgeKGTemu+K3gqfA4Q=; b=MQmvAb6MQeOoxJFj8rKs7M+l71TA3MOZ30SUTylqP031DGfZID3Jf4w0 fUieu25oZ7d4QcXlcdaqoHxwXXw17UDBhjG753jDMN4765R9vRNK+eMbK aqwYcPz1K2C+8G/OxjvXo9+JJMFLwgiNv9zX0ikh8QfslgCjRA576Y/Ce 4=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.04,256,1695679200"; d="scan'208";a="140804316" Received: from unknown (HELO ribbon) ([193.50.110.69]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 11:17:06 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 17 Frimaire an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour du =?UTF-8?Q?Cypr=C3=A8s?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 07 Dec 2023 11:17:06 +0100 Message-ID: <874jgufhb1.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@HIDDEN; helo=mail2-relais-roc.national.inria.fr 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Hello! =E2=80=98--export-manifest=E2=80=99 does not apply transformations to packa= ges preceded by =E2=80=98-D=E2=80=99 (development environment): --8<---------------cut here---------------start------------->8--- $ guix shell -D guile-git --with-branch=3Dlibgit2=3Dmain --export-manifest ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (package->development-manifest (specification->package "guile-git")) $ guix shell guile-git --with-branch=3Dlibgit2=3Dmain --export-manifest ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (use-modules (guix transformations)) (define transform1 (options->transformation '((with-branch . "libgit2=3Dmain")))) (packages->manifest (list (transform1 (specification->package "guile-git")))) $ guix describe Generation 283 Dec 04 2023 00:32:23 (current) guix 6e2dd51 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 6e2dd51df5f3f51e9056dd4f2e1b036195ab3caa --8<---------------cut here---------------end--------------->8--- Ludo=E2=80=99.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludovic.courtes@HIDDEN> Subject: bug#67685: Acknowledgement (=?UTF-8?Q?=E2=80=98guix?= shell =?UTF-8?Q?--export-manifest=E2=80=99?= ignores transformations for =?UTF-8?Q?=E2=80=98-D=E2=80=99?= packages) Message-ID: <handler.67685.B.170194426520564.ack <at> debbugs.gnu.org> References: <874jgufhb1.fsf@HIDDEN> X-Gnu-PR-Message: ack 67685 X-Gnu-PR-Package: guix Reply-To: 67685 <at> debbugs.gnu.org Date: Thu, 07 Dec 2023 10:18:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to Gilles Marait <gilles.marait@HIDDEN> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 67685 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 67685: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67685 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#67685: =?UTF-8?Q?=E2=80=98guix?= shell =?UTF-8?Q?--export-manifest=E2=80=99?= ignores transformations for =?UTF-8?Q?=E2=80=98-D=E2=80=99?= packages References: <874jgufhb1.fsf@HIDDEN> Resent-From: Evgenii Klimov <eugene.dev@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 04 Sep 2024 22:58:01 +0000 Resent-Message-ID: <handler.67685.B67685.172549066219932 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 67685 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 67685 <at> debbugs.gnu.org Cc: ludovic.courtes@HIDDEN Received: via spool by 67685-submit <at> debbugs.gnu.org id=B67685.172549066219932 (code B ref 67685); Wed, 04 Sep 2024 22:58:01 +0000 Received: (at 67685) by debbugs.gnu.org; 4 Sep 2024 22:57:42 +0000 Received: from localhost ([127.0.0.1]:35740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1slywX-0005BP-V6 for submit <at> debbugs.gnu.org; Wed, 04 Sep 2024 18:57:42 -0400 Received: from out-178.mta0.migadu.com ([91.218.175.178]:52866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eugene.dev@HIDDEN>) id 1slywV-0005B7-Sf for 67685 <at> debbugs.gnu.org; Wed, 04 Sep 2024 18:57:40 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lipklim.org; s=key1; t=1725490558; h=from:from: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; bh=w0yj7A6WvWTbuEXm7gJubSVUuYnYzmPb7IMf5oHf6Co=; b=KCIFVUDg5ntMggny9i3TduwuDgQSQBL5EEIKJurhbBVzAGqlibLFHoDVolATDJValtPwcy YM2ZQHLfbDOd3Cdf4g4GhwRrNPqHQ4e8ErSwjaluLtoSTvq5Omv7b6y0AxTsSZUufNxvKL oxOXz7v47B89U00ue4OL8GKfczpDNfw= From: Evgenii Klimov <eugene.dev@HIDDEN> In-Reply-To: 874jgufhb1.fsf@HIDDEN Date: Wed, 04 Sep 2024 23:55:56 +0100 Message-ID: <87v7zbm3k3.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) I think that transformations should be applied to `-D --file' combination as well (probably to `-D --manifest' too). It would support the following use case (this is the reason I fould this very bug). When we have a project under development which is controlled by guix.scm file and we want to try out the dependency from another fork or branch, it would be useful for transformations to be propagated to inputs/propagated-inputs/etc. inside guix.scm file. Currently it doesn't apply transformations: --8<---------------cut here---------------start------------->8--- guix shell -D -f guix.scm \ --with-git-url=python-pytelegrambotapi=https://github.com/coder2020official/pyTelegramBotAPI \ --with-branch=python-pytelegrambotapi=polling-improvements --8<---------------cut here---------------end--------------->8--- However it does propagate: --8<---------------cut here---------------start------------->8--- guix shell -f guix.scm \ --with-git-url=python-pytelegrambotapi=https://github.com/coder2020official/pyTelegramBotAPI \ --with-branch=python-pytelegrambotapi=polling-improvements --8<---------------cut here---------------end--------------->8--- and this, when dependency is mentioned explicitly: --8<---------------cut here---------------start------------->8--- guix shell -D -f guix.scm python-pytelegrambotapi \ --with-git-url=python-pytelegrambotapi=https://github.com/coder2020official/pyTelegramBotAPI \ --with-branch=python-pytelegrambotapi=polling-improvements --8<---------------cut here---------------end--------------->8---
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.