From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 05 10:39:07 2022 Received: (at 59836) by debbugs.gnu.org; 5 Dec 2022 15:39:07 +0000 Received: from localhost ([127.0.0.1]:36787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2DYg-0004Xn-Mm for submit@debbugs.gnu.org; Mon, 05 Dec 2022 10:39:06 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:34492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2DYe-0004X6-So for 59836@debbugs.gnu.org; Mon, 05 Dec 2022 10:39:05 -0500 Received: by mail-wr1-f50.google.com with SMTP id o5so19208535wrm.1 for <59836@debbugs.gnu.org>; Mon, 05 Dec 2022 07:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lo5nPB94Rwr1QWmQwE3Zgdw/Wp/LRws25b3AiX6BvDE=; b=HOjycNM+FAvyEyKCkkSAHg9JwlZOYMLUDNzMm0O6B1TMlu1u9u++9f+9T9DmRVW72j 9uwu/NDg7CqIaK1+Q5do3y9ijliIeVllp+AZlLK98ic+gtoNatA3r9QhlPlWL+6g4e7p NFK3vgoYPCzpp0NAkJN5ubEJfW2trXXPpVOWamIqAD+XiaL50YI8Pt7/nwIXjtoGQvuS ATHynHbkbEnplmYjfyHL1CSZlslg23iszF9jUiDYJRAHoIpdLZZHQIzCu/nNowf2MaJ9 SA7GUz2mTMbJkRr6aTVzBGXhQ1bSSG+daZbG8ArvED7/DE93JswLXp6pfIXrU/OM1gB1 +k/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=lo5nPB94Rwr1QWmQwE3Zgdw/Wp/LRws25b3AiX6BvDE=; b=cdChT+VBr1L6WuVibBAgk5lRV8gDHHHE4YILZLIoQ7Evpn7gHbJLWY8oYWUuHOIND8 brk5fuuoJNPbSETaw7NW7fk6B6J2Cj709C55bHelDur7hwwoBvr4BfE6Qq37lyzlCWE0 AtrzqnEdJM/+9EeKvYsWaHiQhspW8DrHx9ye5s81m0/VRTBc2ILkivjojk+HNLfj+UMB L2qUMZMNn+27aDGgyic1lOQiXTtpwIA7N9qy1t8aXda2bUPdrVm5Lj2/QFY4yODHAivt 0QwO08eWpMLbQRt3oVWI0+uvp3qe1bWJf3Nsn8p+o2qI1e5NXdk6iBclkoLzuQmz+c63 Ludw== X-Gm-Message-State: ANoB5pndkMhbf4mW3BlQOYCLudZhMBJvKMmY3A8jmZGWerqs36/WJ91R tUE+QZHktpt+4MxptFJuEI5xXdA0GrU= X-Google-Smtp-Source: AA0mqf6osJvaJDproTPiebBpW3Jj3tVI2kQkHJ4jXo790AGN3LmK1yoia+LFsMLjlrAjloYGvYYmPQ== X-Received: by 2002:a5d:6dd1:0:b0:236:75a8:58d with SMTP id d17-20020a5d6dd1000000b0023675a8058dmr52037936wrz.295.1670254739019; Mon, 05 Dec 2022 07:38:59 -0800 (PST) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id l41-20020a05600c1d2900b003d1e4f3ac8esm188922wms.33.2022.12.05.07.38.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 07:38:58 -0800 (PST) From: zimoun To: 59836@debbugs.gnu.org Subject: [PATCH 1/1] gnu: julia-documenter: Fix test suite regression. Date: Mon, 5 Dec 2022 16:38:51 +0100 Message-Id: <20221205153851.11268-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59836 Cc: zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/julia-xyz.scm (julia-documenter)[arguments]<#:phases>: Substitute a work around to fix the change of 'git submodule' default behaviour introduced by Git v2.38.1. --- gnu/packages/julia-xyz.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 28c759a5c0..ac6584825b 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1472,6 +1472,15 @@ (define-public julia-documenter (("pip install") (string-append (search-input-file inputs "bin/pip") " install"))))) + (add-after 'link-depot 'fix-test-git-submodule + ;; Git v2.38.1 fixes security issues and changes the default + ;; behaviour of `git submodule`. This substitution is a backport + ;; of the upstream patch, not yet released, fixing the test suite. + ;; https://github.com/JuliaDocs/Documenter.jl/commit/b5a5c65d02d136743e7c18ffebf8baba900484fc + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "test/utilities.jl" + (("submodule add") + "-c protocol.file.allow=always submodule add")))) (add-after 'link-depot 'remove-javascript-downloads (lambda _ (substitute* "src/Writers/HTMLWriter.jl" -- 2.38.1