[PATCH] doc: Mention Hg support for 'guix import cran' and some caveats.

  • Open
  • quality assurance status badge
Details
2 participants
  • Xinglu Chen
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Xinglu Chen
Severity
normal
X
X
Xinglu Chen wrote on 30 Oct 2021 13:03
(address . guix-patches@gnu.org)
0ef4d3530562037b77f17ef5a672d2baee7b5970.1635591629.git.public@yoctocell.xyz
* 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(-)

Toggle diff (32 lines)
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
R
R
Ricardo Wurmus wrote on 27 Nov 2021 10:17
(name . Xinglu Chen)(address . public@yoctocell.xyz)(address . 51509@debbugs.gnu.org)
87ilweot1x.fsf@elephly.net
Hi,

Toggle quote (10 lines)
> * 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@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
X
X
Xinglu Chen wrote on 19 Dec 2021 10:04
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 51509@debbugs.gnu.org)
875yrlothx.fsf@disroot.org
Hi,

On Sat, Nov 27 2021, Ricardo Wurmus wrote:

Toggle quote (17 lines)
> 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@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:

Toggle snippet (3 lines)
+One limitation of this is that dependencies that are also hosted on Git
+or Mercurial repositories cannot be imported.
-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmG+9aoVHHB1YmxpY0B5
b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5wEsP/iWxmYguuLxbw445e/xogpRA8GMy
KwTkCXZ4WUTBQiAqmpC+NiGJLZcfxhpjLeaXD7YwUHtor5iCfDWeMF61/YfNpq+x
4Yj79wYQ7MdiiKW/A2m51POptlt/TqI3zhnTPoEF08kN01mxNRsJw49DbvgRvZ+r
usRfgUXC/9duan3Ig96V63iSijU+lMwMi+c8gv2jz+e4QMP8Dal8MM/Gt+az5lr9
t4QMpAQBcsnUcn9wbWXBvlvfrluvVys6gOUOcPugRy4/E7iHXoXajxhyTV8lnPnv
xbWtTkqSF55xjESo7+pwlFes2eYHWoVzw57O9tI0U6dmLnOJsCxFU6VMt/6M9bjj
JZfa+nnjQ/i2WBUK4atrcHb2WmIs9mW/na7zP4acVvw0EZhweF3LqlEin7KQnKd4
xRl3lWWS99ukw0M1XpW4V+H/809++KV2f0JFZ8UUarOOlaBhA02ca4wAXWGKC4yR
vPWB4QH9VwfgFc9RKAoBUlYoyh9KVRG8pQ9ER9o8m6d2RelH/z2yFOD+U9i1400c
V7SsKVEZZX2c7I+fxQinAaY46HJHRaHfqZmuQH8NS+D7eHHKXuGslBIdOXgzDOyX
8P0X5e/N63sSO89vPj8L/iXQMI+ZxnT4Ppj2OkGvS5OTWyhklzoEFW3vHzfxduWI
bTGomXQW9kaOJETp
=sMx3
-----END PGP SIGNATURE-----

?