From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qNU0ArE/wmESYQEAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 21:57:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UI99ObA/wmG8ZwAA1q6Kng (envelope-from ) for ; Tue, 21 Dec 2021 20:57:20 +0000 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 9C7297831 for ; Tue, 21 Dec 2021 21:57:20 +0100 (CET) Received: from localhost ([::1]:55164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzmCF-0005Ax-IW for larch@yhetil.org; Tue, 21 Dec 2021 15:57:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzmBy-00058V-Ra for guix-patches@gnu.org; Tue, 21 Dec 2021 15:57:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzmBy-00061U-Hl for guix-patches@gnu.org; Tue, 21 Dec 2021 15:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzmBy-0002yJ-EE for guix-patches@gnu.org; Tue, 21 Dec 2021 15:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52716] [PATCH] channels: Add 'branch' to 'channel->code' output. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Dec 2021 20:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52716 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52716@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164012017811372 (code B ref -1); Tue, 21 Dec 2021 20:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Dec 2021 20:56:18 +0000 Received: from localhost ([127.0.0.1]:55841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzmBF-0002xL-VD for submit@debbugs.gnu.org; Tue, 21 Dec 2021 15:56:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:55786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzmBE-0002xE-8F for submit@debbugs.gnu.org; Tue, 21 Dec 2021 15:56:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzmBD-0004Rl-H1 for guix-patches@gnu.org; Tue, 21 Dec 2021 15:56:15 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:53541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzmB8-0005sz-LX for guix-patches@gnu.org; Tue, 21 Dec 2021 15:56:15 -0500 Received: (Authenticated sender: brice@waegenei.re) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 49A86FF80C for ; Tue, 21 Dec 2021 20:56:05 +0000 (UTC) From: Brice Waegeneire Date: Tue, 21 Dec 2021 21:56:01 +0100 Message-Id: <20211221205601.4985-1-brice@waegenei.re> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.199; envelope-from=brice@waegenei.re; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640120240; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=fraRrB08P5hf9vdkROlyd6tBiiepvR3VEnPoBMWIgHc=; b=Gc4AshHGvBThJfCveLazUn7ZXs7R4I6vhrSHUL66iKmUOzhhd3LosMW0uAPbtZFmb42hft zhrZuJ2+Yfk4Pi7CBOM5aElqRjoSsg3+c7NK8f3SkxP+OIjzDvWrG1mShu83FCnBfBWJ/5 GPf9/FAHP6xRaEm1ardd4sAexKNbLhwDrfxt2gICeADEzMkTHUvqEmB7lO7l8XYL3Z5qdY NSWS7eEz6fmuXTn3xGtWj2g/9VBSeQ4qEHcsUHmZuOT0QqwFDwpZqIizHFXtfQqxoFsNxX NfbAAgNBG1K9vFvSQG0aIh6JSFfvLhs2dDNAwhd7Z5BYDPk6e4bvOkspMqbwzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640120240; a=rsa-sha256; cv=none; b=d0f6JyfeBLjOqWCA9VBXbDC/J/P6B0gZH7BNBq35+VzZLEDBn9pIzrhVuiMxJdI91EVrjs 0Yl8QhRPIbnRTS4qKAlKZEkMFNVcMAIfaobP6e+yNIYeDOXKoP+nP/gz2ajUvZJlJNZbQn fWtwcfMyT8c6mJqRZ607Q+g+YmGr80TywSckAyN7y2HK0Qhuh38W0XPftVvfSI8879Ubnu /WcyEaarKZtpCuQeDycKkMqsYq8Z5ih6ViFhz9wxowQnUTqiCh0B8S8MPwZYEZLQWZtgTX V0h+zkemBZ+FZbD/M2QgsdyxbEimpE0tGKUXY7VOTzpRwdMlexnUxGICpFaXbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: 9C7297831 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: ouIezBNd7/Q+ * guix/channels.scm (channel->code): Add 'branch' to output. --- guix/channels.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/channels.scm b/guix/channels.scm index e4e0428eb5..5f47834c10 100644 --- a/guix/channels.scm +++ b/guix/channels.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès ;;; Copyright © 2018 Ricardo Wurmus ;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2021 Brice Waegeneire ;;; ;;; This file is part of GNU Guix. ;;; @@ -1009,7 +1010,8 @@ (define* (channel->code channel #:key (include-introduction? #t)) `(channel (name ',(channel-name channel)) (url ,(channel-url channel)) + (branch ,(channel-branch channel)) (commit ,(channel-commit channel)) ,@(if intro `((introduction (make-channel-introduction -- 2.34.0