From patchwork Sat Sep 3 16:43:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 42193 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4A62527BBEA; Sat, 3 Sep 2022 17:58:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 18BB827BBE9 for ; Sat, 3 Sep 2022 17:58:47 +0100 (BST) Received: from localhost ([::1]:33730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUWTm-0001WB-9Z for patchwork@mira.cbaines.net; Sat, 03 Sep 2022 12:58:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUWRG-00069f-0C for guix-patches@gnu.org; Sat, 03 Sep 2022 12:56:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUWRF-0004lk-Lt for guix-patches@gnu.org; Sat, 03 Sep 2022 12:56:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUWRF-0004gO-Hz for guix-patches@gnu.org; Sat, 03 Sep 2022 12:56:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54539] [PATCH v2 21/30] gnu: version-control: Autoload unless used by Guix. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Sep 2022 16:56:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54539@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 54539-submit@debbugs.gnu.org id=B54539.166222412117782 (code B ref 54539); Sat, 03 Sep 2022 16:56:09 +0000 Received: (at 54539) by debbugs.gnu.org; 3 Sep 2022 16:55:21 +0000 Received: from localhost ([127.0.0.1]:42874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUWQT-0004cd-3Q for submit@debbugs.gnu.org; Sat, 03 Sep 2022 12:55:21 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:40224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUWF8-0004B6-Dd for 54539@debbugs.gnu.org; Sat, 03 Sep 2022 12:43:44 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by xavier.telenet-ops.be with bizsmtp id FUjb2800820ykKC01UjeAx; Sat, 03 Sep 2022 18:43:38 +0200 From: Maxime Devos Date: Sat, 3 Sep 2022 18:43:23 +0200 Message-Id: <20220903164332.6848-21-maximedevos@telenet.be> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220903164332.6848-1-maximedevos@telenet.be> References: <20220903164332.6848-1-maximedevos@telenet.be> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1662223418; bh=PcjxSTrd2MBOsJtJJxFA53qe4oc23K9129TDbFNlcA0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=abtOMnCXkBQe+4HT12r4NgQrDCQOrc0hPzfWxE7A8qmjM0/eIHK1fHN3rNtLWJKsB lTytH0Aa/wjZwePDN7iJF/JlRrqRZ4ppfxgTacKb/h6YPQfyb2dsruj+8Wj3DsfNNW HtMmbkVBdBon7MC60+ifjGRCS3QjLUinC782MGNzsZm72am5nSJ98PtOYRLsrjiMIu khaGf/PVL51hMI6rsC+cLP8mn0MBconA1ncypAiKUHpWc+TBV74yOt/Ts3GeIQJDy+ PR12YueTnfJ7z2bgG6OksxIydPP0wY3Q0Opo8u560zQaym/C17H/9OeVnWgVDSmDk4 hGnI3eWevOulQ== 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches See first commit in the series for the procedure. This helps with, but is not sufficient for, avoiding loading the Go-related modules when only the guix package is required. --- gnu/packages/version-control.scm | 133 +++++++++++++++++-------------- 1 file changed, 75 insertions(+), 58 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 277ea2835b..2681929715 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -77,64 +77,81 @@ (define-module (gnu packages version-control) #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module (guix build-system trivial) - #:use-module (gnu packages apr) - #:use-module (gnu packages autotools) - #:use-module (gnu packages documentation) - #:use-module (gnu packages base) - #:use-module (gnu packages bash) - #:use-module (gnu packages bison) - #:use-module (gnu packages boost) - #:use-module (gnu packages check) - #:use-module (gnu packages cook) - #:use-module (gnu packages curl) - #:use-module (gnu packages docbook) - #:use-module (gnu packages ed) - #:use-module (gnu packages file) - #:use-module (gnu packages flex) - #:use-module (gnu packages freedesktop) - #:use-module (gnu packages gettext) - #:use-module (gnu packages gl) - #:use-module (gnu packages glib) - #:use-module (gnu packages gnome) - #:use-module (gnu packages gnupg) - #:use-module (gnu packages golang) - #:use-module (gnu packages groff) - #:use-module (gnu packages guile) - #:use-module (gnu packages guile-xyz) - #:use-module (gnu packages image) - #:use-module (gnu packages linux) - #:use-module (gnu packages mail) - #:use-module (gnu packages maths) - #:use-module (gnu packages nano) - #:use-module (gnu packages ncurses) - #:use-module (gnu packages ssh) - #:use-module (gnu packages web) - #:use-module (gnu packages openstack) - #:use-module (gnu packages pcre) - #:use-module (gnu packages perl) - #:use-module (gnu packages perl-check) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages python) - #:use-module (gnu packages python-build) - #:use-module (gnu packages python-check) - #:use-module (gnu packages python-crypto) - #:use-module (gnu packages python-web) - #:use-module (gnu packages python-xyz) - #:use-module (gnu packages readline) - #:use-module (gnu packages rsync) - #:use-module (gnu packages sqlite) - #:use-module (gnu packages texinfo) - #:use-module (gnu packages admin) - #:use-module (gnu packages xml) - #:use-module (gnu packages emacs) - #:use-module (gnu packages compression) - #:use-module (gnu packages sdl) - #:use-module (gnu packages swig) - #:use-module (gnu packages sync) - #:use-module (gnu packages tcl) - #:use-module (gnu packages textutils) - #:use-module (gnu packages time) - #:use-module (gnu packages tls) + #:use-module (gnu packages apr) ; required by "guix build -d guix" + #:autoload (gnu packages autotools) (autoconf automake) + #:autoload (gnu packages documentation) (asciidoc) + #:autoload (gnu packages base) (coreutils findutils tzdata which) + #:use-module (gnu packages bash) ; required by "guix build -d guix" + #:autoload (gnu packages bison) (bison) + #:autoload (gnu packages boost) (boost) + #:autoload (gnu packages check) + (python-coverage python-nose python-pytest python-subunit python-testrepository) + #:autoload (gnu packages cook) (cook) + #:use-module (gnu packages curl) ; required by "guix build -d guix" + #:use-module (gnu packages docbook) ; required by "guix build -d guix" + #:autoload (gnu packages ed) (ed) + #:autoload (gnu packages file) (file) + #:autoload (gnu packages flex) (flex) + #:autoload (gnu packages freedesktop) (xdg-utils) + #:use-module (gnu packages gettext) ; required by "guix build -d guix" + #:autoload (gnu packages gl) (ftgl glew glu mesa) + #:use-module (gnu packages glib) ; required by "guix build -d guix" + #:use-module (gnu packages gnome) ; required by "guix build -d guix" + #:autoload (gnu packages gnupg) (gnupg guile-gcrypt python-pygpgme) + #:autoload (gnu packages golang) + (go-github-com-alcortesm-tgz + go-github-com-emirpasic-gods go-github-com-go-git-gcfg + go-github-com-go-git-go-billy go-github-com-go-git-go-git-fixtures + go-github-com-imdario-mergo go-github-com-jbenet-go-context + go-github-com-kevinburke-ssh-config go-github-com-mattn-go-isatty + go-github-com-mitchellh-go-homedir go-github-com-motemen-go-colorine + go-github-com-saracen-walker go-github-com-sergi-go-diff + go-github-com-songmu-gitconfig go-github-com-urfave-cli-v2 + go-github-com-xanzy-ssh-agent go-golang-org-x-crypto go-golang-org-x-net + go-golang-org-x-net-html go-golang-org-x-text go-golang.org-x-sync-errgroup + go-gopkg-in-check-v1 go-gopkg-in-warnings) + #:autoload (gnu packages groff) (groff ronn-ng) + #:autoload (gnu packages guile) (guile-3.0 guile-git) + #:autoload (gnu packages guile-xyz) + (guile-commonmark guile-fibers guile-syntax-highlight-for-gitile) + #:autoload (gnu packages image) (libpng) + #:autoload (gnu packages linux) (e2fsprogs) + #:autoload (gnu packages mail) (python-dkimpy sendmail) + #:autoload (gnu packages maths) (glm) + #:autoload (gnu packages nano) (nano) + #:autoload (gnu packages ncurses) (ncurses) + #:use-module (gnu packages ssh) ; required by "guix build -d guix" + #:use-module (gnu packages web) ; required by "guix build -d guix" + #:use-module (gnu packages pcre) ; required by "guix build -d guix" + #:use-module (gnu packages perl) ; required by "guix build -d guix" + #:autoload (gnu packages perl-check) (perl-test-harness perl-test-most) + #:use-module (gnu packages pkg-config) ; required by "guix build -d guix" + #:use-module (gnu packages python) ; requiredby "guix build -d guix" + #:autoload (gnu packages python-build) (python-toml) + #:autoload (gnu packages python-check) (python-covdefaults python-pytest-env python-re-assert) + #:autoload (gnu packages python-crypto) (python-paramiko python-pynacl python-pycryptodome) + #:autoload (gnu packages python-web) (python-launchpadlib python-requests) + #:autoload (gnu packages python-xyz) + (python-cfgv + python-click python-clint python-configobj python-cython python-ddt + python-distlib python-dnspython python-docutils python-dulwich + python-fastbencode python-fastimport python-identify python-markdown + python-nodeenv python-packaging python-patiencediff python-pygit2 + python-pygments python-pyyaml python-sh python-smmap python-typing-extensions + python-virtualenv) + #:autoload (gnu packages readline) (readline) + #:use-module (gnu packages sqlite) ; required by "guix build -d guix" + #:autoload (gnu packages admin) (inetutils) + #:use-module (gnu packages xml) ; required by "guix build -d guix" + #:autoload (gnu packages emacs) (emacs-minimal) + #:use-module (gnu packages compression) ; required by "guix build -d guix" + #:autoload (gnu packages sdl) (sdl-union sdl2 sdl2-image) + #:use-module (gnu packages swig) ; required by "guix build -d guix" + #:autoload (gnu packages sync) (rclone) + #:use-module (gnu packages tcl) ; required by "guix build -d guix" + #:use-module (gnu packages textutils) ; required by "guix build -d guix" + #:autoload (gnu packages time) (python-arrow python-dateutil) + #:use-module (gnu packages tls) ; required by "guix build -d guix" #:use-module (gnu packages) #:use-module (ice-9 match) #:use-module (srfi srfi-1))