GNU bug report logs - #51509
[PATCH] doc: Mention Hg support for 'guix import cran' and some caveats.

Previous Next

Package: guix-patches;

Reported by: Xinglu Chen <public <at> yoctocell.xyz>

Date: Sat, 30 Oct 2021 11:04:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 51509 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to rekado <at> elephly.net, guix-patches <at> gnu.org:
bug#51509; Package guix-patches. (Sat, 30 Oct 2021 11:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xinglu Chen <public <at> yoctocell.xyz>:
New bug report received and forwarded. Copy sent to rekado <at> elephly.net, guix-patches <at> gnu.org. (Sat, 30 Oct 2021 11:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH] doc: Mention Hg support for 'guix import cran' and some
 caveats.
Date: Sat, 30 Oct 2021 13:03:29 +0200
* 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:

<https://yhetil.org/guix-devel/87mtmq7pes.fsf <at> disroot.org/T/#mabff98d436895c18f177c4016792ec215f645bbf>

 doc/guix.texi | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

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

base-commit: cd188b9c6f28bd907b625a5cd6c616d1d2529671
-- 
2.33.0







Information forwarded to guix-patches <at> gnu.org:
bug#51509; Package guix-patches. (Sat, 27 Nov 2021 09:19:01 GMT) Full text and rfc822 format available.

Message #8 received at 51509 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 51509 <at> debbugs.gnu.org
Subject: Re: [bug#51509] [PATCH] doc: Mention Hg support for 'guix import
 cran' and some caveats.
Date: Sat, 27 Nov 2021 10:17:28 +0100
Hi,

> * 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:
>
> <https://yhetil.org/guix-devel/87mtmq7pes.fsf <at> disroot.org/T/#mabff98d436895c18f177c4016792ec215f645bbf>

I’d prefer not to mention the limitation (as it’s an 
rstudio-specific modification to DESCRIPTION files) and instead 
work on supporting this extension to the DESCRIPTION file.  I 
already have some WIP to address this.

-- 
Ricardo




Information forwarded to guix-patches <at> gnu.org:
bug#51509; Package guix-patches. (Sun, 19 Dec 2021 09:05:01 GMT) Full text and rfc822 format available.

Message #11 received at 51509 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 51509 <at> debbugs.gnu.org
Subject: Re: [bug#51509] [PATCH] doc: Mention Hg support for 'guix import
 cran' and some caveats.
Date: Sun, 19 Dec 2021 10:04:42 +0100
[Message part 1 (text/plain, inline)]
Hi,

On Sat, Nov 27 2021, Ricardo Wurmus wrote:

> Hi,
>
>> * 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:
>>
>> <https://yhetil.org/guix-devel/87mtmq7pes.fsf <at> disroot.org/T/#mabff98d436895c18f177c4016792ec215f645bbf>
>
> I’d prefer not to mention the limitation (as it’s an 
> rstudio-specific modification to DESCRIPTION files) and instead 
> work on supporting this extension to the DESCRIPTION file.  I 
> already have some WIP to address this.

Just to clarify, you are referring to the fact that the ‘--recursive’
option won’t work, not the fact that the ‘hg’ binary needs to be in
$PATH, right?  In that case I will send a new reroll removing the
following sentence:

--8<---------------cut here---------------start------------->8---
+One limitation of this is that dependencies that are also hosted on Git
+or Mercurial repositories cannot be imported.
--8<---------------cut here---------------end--------------->8---

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.