Message ID | cover.1738408683.git.45mg.writes@gmail.com |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D2E0A27BBEA; Sat, 1 Feb 2025 11:45:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 877A427BBE2 for <patchwork@mira.cbaines.net>; Sat, 1 Feb 2025 11:45:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1teBvr-000754-Jy; Sat, 01 Feb 2025 06:45:03 -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 <Debian-debbugs@debbugs.gnu.org>) id 1teBvq-00074i-Fy for guix-patches@gnu.org; Sat, 01 Feb 2025 06:45:02 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1teBvq-0005Nv-2X; Sat, 01 Feb 2025 06:45:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=Dkq+9XbMCNfPJ8VkbEDQzJcCxNbcT3nuTI14kRoenNc=; b=mEqNwVfWdqtTKxF594y7/n5KUGz3rXytQYxYwl3KRFYq/4e1iesk36IVNqxlvHO2FM5JL+QbqX28o7tYGsbqEfJuStMwpckxzLs4TUSwLvfE0lum8w9EsoE4buiEFL3Cpd6Hk/TaefEaATPHXYC67TIyWj/yI5cwTOVa8nvA5qUZZXCnIW+vF1WF3Qs6Cyi3CgaHskhn2/R1o47u02ZFu0xNEF6X2X9Az9mUIPbuAJmypRr0XX0FIVlZNHCbSokqF9/QkRf/6eCKcz2/jS3J/mrBeRc09KvMRC1/nNVSq5opbDjOTA0pcRadxnT4Tacb7VUsxDfmXDm5Ki9QQHruCg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1teBvp-0004yX-U9; Sat, 01 Feb 2025 06:45:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75981] [PATCH (WIP) v1.5 0/4] Add 'guix fork'. References: <cover.1738357415.git.45mg.writes@gmail.com> In-Reply-To: <cover.1738357415.git.45mg.writes@gmail.com> Resent-From: 45mg <45mg.writes@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 01 Feb 2025 11:45:01 +0000 Resent-Message-ID: <handler.75981.B75981.173841024419025@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75981 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75981@debbugs.gnu.org Cc: Nicolas Graves <ngraves@ngraves.fr>, Tomas Volf <~@wolfsden.cz>, 45mg <45mg.writes@gmail.com>, Liliana Marie Prikler <liliana.prikler@gmail.com>, Ricardo Wurmus <rekado@elephly.net>, Attila Lendvai <attila@lendvai.name>, Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> X-Debbugs-Original-Xcc: Ludovic =?utf-8?q?Court=C3=A8s?= <ludo@gnu.org>, Maxim Cournoyer <maxim.cournoyer@gmail.com> Received: via spool by 75981-submit@debbugs.gnu.org id=B75981.173841024419025 (code B ref 75981); Sat, 01 Feb 2025 11:45:01 +0000 Received: (at 75981) by debbugs.gnu.org; 1 Feb 2025 11:44:04 +0000 Received: from localhost ([127.0.0.1]:56704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1teBut-0004wm-Lo for submit@debbugs.gnu.org; Sat, 01 Feb 2025 06:44:03 -0500 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]:55385) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <45mg.writes@gmail.com>) id 1teBuq-0004w2-Le for 75981@debbugs.gnu.org; Sat, 01 Feb 2025 06:44:01 -0500 Received: by mail-pj1-x1043.google.com with SMTP id 98e67ed59e1d1-2ee397a82f6so4941550a91.2 for <75981@debbugs.gnu.org>; Sat, 01 Feb 2025 03:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738410234; x=1739015034; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Dkq+9XbMCNfPJ8VkbEDQzJcCxNbcT3nuTI14kRoenNc=; b=iiMl8IOPl9cvCuKPneDJ2owg6/2mm5HboV2fdcRl7D53q0PJpYs7PlrRY423fD3l8n thfzPlLeqdeG8EwH/oJXK2Qtuy+08SsZ3pz5PKCDMzD9MPAULBu0EcJ4eVcJn6zM4y6w 12TeASd/MlQhnxRfn/Fi9jrMLeCkSdecyNqginXB1On1/GZKKNrjp/qLFFtW833ADwZV 5nF8pfLgN2b0CLxlm2ukDufx/pC/60ZlL7JGiqQgJSMEsCStFWqun+Azv1lWHiYqHnzE Gp8QRzYFAMbuzX7/SLlpx0LzcfTWLkV9sbd33FdnKQ7og2S2ht31DQ/wjImcJL2xO37T PpgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738410234; x=1739015034; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Dkq+9XbMCNfPJ8VkbEDQzJcCxNbcT3nuTI14kRoenNc=; b=l7eud5D3kGaJmwCXBwci/cnnGPGhVDPFzu8rdWiGY1jGQ9fpxIjpLrMV4Ij23n1l/D ddnA6x3QPI3JtvPbzreSJLZYnPQjEtil+MnkvKCkCTFju6p280yz95NwUT5C77tZfv/e mcW/kJm2loTj11Yj1CkSAaLMMw/V/N1wSExFlSi4ExLxwSSiRG5gsYKCqwLBtZItRmI5 gvegMe0zvQP8kbBaGA+CSfziibhZUpWHjkZY1fLHDunR97Me7m0wQjZA/nC2xaOaChgm rTgEOB6rSSjeNREUwkC9Arj94Q5kcb9WtFGlYqbroDsDm9rGKUHPQj2MXpnmPdAulG8q BdXw== X-Gm-Message-State: AOJu0Yzf5K5QMi/E07+WFREOXztzKSMzDwZddLXdxnsjedSkxxL0NnyY VBbkOuyKri6bV/34tW6SOlQcIr62tYq3j0uDUEWyHwpNnuqoAGDEabSqBmfa X-Gm-Gg: ASbGnctYTuy33PBDHpZS4xUMI6MV4ByGMTjAlxXtGVNkY+tZztxopaGl6CxKuCNsZUJ zy4znxD/6ogX0oAFKcA/Z5KPCnLEcggQmR2rKsD6FCDMv4wkx/C2r+BiJRU/jjqBG4i0EpA4aiF O3w6nUCY+x+DBRb78KMRJ0T/tU6mrKXMxqv3zlW7WpV0MKc6nc42tnQJxURiew0eDvtHYYL6Hq+ 4R9sNyaX807NG3AU0U6QNdqLJJfEsbhVLzz3DBfv5uO0ykPvGu6VRHXrIrWeZ4Zu0SfQ8aySATi XPbWV+eqLethH9Ducb9POHwOwJj0mJHaYyVVgQ== X-Google-Smtp-Source: AGHT+IEkp0o7pcqa5eJT7MDuZLsDqQRMu+YS0Moairy5K0DgyebpoQ/42SPW1BY1qGykQkMBuAVsAA== X-Received: by 2002:a17:90b:258c:b0:2ee:f687:6acb with SMTP id 98e67ed59e1d1-2f83abd9998mr21373356a91.13.1738410233958; Sat, 01 Feb 2025 03:43:53 -0800 (PST) Received: from localhost.localdomain (utm3.nitt.edu. [14.139.162.2]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21de331f8d4sm43844805ad.224.2025.02.01.03.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Feb 2025 03:43:53 -0800 (PST) From: 45mg <45mg.writes@gmail.com> Date: Sat, 1 Feb 2025 17:13:21 +0530 Message-ID: <cover.1738408683.git.45mg.writes@gmail.com> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 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: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series | Add 'guix fork'. | |
Message
45mg
Feb. 1, 2025, 11:43 a.m. UTC
Hi Guix, This revision is the same as v1, with one difference - the procedure 'invoke/stdout' was moved from (guix build utils) to (guix utils). While it probably belongs in the former file, the fact is that nearly every gexp starts with `(with-imported-modules ((guix build utils)) #~(begin ...))` or something similar, so changing that file will cause most derivations to change, which will result in a world rebuild (I think that's what it's called? That term is not in the manual...). So I moved it, added some TODO comments pointing out where it should go, and didn't update the commit message changelogs. This revision only exists so that I can apply it to my fork, `guix pull`, and thereby have access to these commands in my CLI. So if anyone else wants to use this patch - as opposed to just test it via pre-inst-env - then this is what you should apply. 45mg (4): Add 'guix fork create'. Add 'guix fork authenticate'. Add 'guix fork update'. Document 'guix fork'. Makefile.am | 4 + doc/contributing.texi | 50 +++++ doc/guix.texi | 150 +++++++++++++ guix/channels.scm | 13 ++ guix/git-authenticate.scm | 17 ++ guix/git.scm | 10 + guix/scripts/fork.scm | 71 +++++++ guix/scripts/fork/authenticate.scm | 331 +++++++++++++++++++++++++++++ guix/scripts/fork/create.scm | 258 ++++++++++++++++++++++ guix/scripts/fork/update.scm | 182 ++++++++++++++++ guix/scripts/git/authenticate.scm | 45 +--- guix/utils.scm | 61 ++++++ 12 files changed, 1151 insertions(+), 41 deletions(-) create mode 100644 guix/scripts/fork.scm create mode 100644 guix/scripts/fork/authenticate.scm create mode 100644 guix/scripts/fork/create.scm create mode 100644 guix/scripts/fork/update.scm base-commit: b85d20e853192a92093cd8d6a5756ec80e94c658