From patchwork Sat Oct 30 11:03:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 34161 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 EABFC27BBE3; Sat, 30 Oct 2021 12:04:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 644EA27BBE1 for ; Sat, 30 Oct 2021 12:04:32 +0100 (BST) Received: from localhost ([::1]:57814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgmA3-0006cX-Eu for patchwork@mira.cbaines.net; Sat, 30 Oct 2021 07:04:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgm9b-0006c9-2u for guix-patches@gnu.org; Sat, 30 Oct 2021 07:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgm9a-00008N-RD for guix-patches@gnu.org; Sat, 30 Oct 2021 07:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgm9a-0003IP-6U; Sat, 30 Oct 2021 07:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51509] [PATCH] doc: Mention Hg support for 'guix import cran' and some caveats. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: rekado@elephly.net, guix-patches@gnu.org Resent-Date: Sat, 30 Oct 2021 11:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51509 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51509@debbugs.gnu.org Cc: Ricardo Wurmus X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Ricardo Wurmus Received: via spool by submit@debbugs.gnu.org id=B.163559181812631 (code B ref -1); Sat, 30 Oct 2021 11:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Oct 2021 11:03:38 +0000 Received: from localhost ([127.0.0.1]:56768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgm9C-0003Hd-DX for submit@debbugs.gnu.org; Sat, 30 Oct 2021 07:03:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:60806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgm9B-0003HW-2g for submit@debbugs.gnu.org; Sat, 30 Oct 2021 07:03:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgm9A-0006Ja-Sv for guix-patches@gnu.org; Sat, 30 Oct 2021 07:03:36 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:54498 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgm98-000058-Sw for guix-patches@gnu.org; Sat, 30 Oct 2021 07:03:36 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1635591810; bh=/T7nr+OgvVqLoMN6zZoAWulN47CFyKPbmTiVxyR0loE=; h=From:To:Subject:Date; b=VGvVoEDfw+6JBP0z5zzuIncrTVU5Asz/+URP4z06THRa8Jl7cVSoPEaMjYBi7eeN4 gzTWB/cy2BSATWm1LF2QgEcPpKDxMkuVSUxL52dSsgBCCrFPfG7ZQiuWzH1k6emmqh 61q6iFHeEG/eMOwkM9o1LtL2cfM7SKvEPFASy5/Y= Message-Id: <0ef4d3530562037b77f17ef5a672d2baee7b5970.1635591629.git.public@yoctocell.xyz> Date: Sat, 30 Oct 2021 13:03:29 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=0.076, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_DYNIP=1.191 autolearn=no 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * guix.texi (Invoking guix import): Mention support for Mercurial repositories for the CRAN importer, and some caveats with the Git and Mercurial backends. --- Prompted by Ricardo’s comments on the “Accuracy of importers” thread: doc/guix.texi | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) base-commit: cd188b9c6f28bd907b625a5cd6c616d1d2529671 diff --git a/doc/guix.texi b/doc/guix.texi index 22215214e0..661e29e69c 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -11852,14 +11852,20 @@ guix import cran --archive=bioconductor GenomicRanges @end example -Finally, you can also import R packages that have not yet been published on -CRAN or Bioconductor as long as they are in a git repository. Use -@option{--archive=git} followed by the URL of the git repository: +Finally, you can also import R packages that have not yet been published +on CRAN or Bioconductor as long as they are in a Git or Mercurial +repository. Use @option{--archive=git} or @option{--archive=hg} +followed by the URL of the repository: @example guix import cran --archive=git https://github.com/immunogenomics/harmony @end example +One limitation of this is that dependencies that are also hosted on Git +or Mercurial repositories cannot be imported. Also, note that the +@command{hg} executable has to be in the users's @env{PATH} for the +Mercurial backend to work. + @item texlive @cindex TeX Live @cindex CTAN