From: Wojtek Kosior via <help-guix@gnu.org>
To: "Rey-Coyrehourcq Sébastien" <sebastien.rey-coyrehourcq@univ-rouen.fr>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Help packaging R Quarto Cli
Date: Mon, 20 Mar 2023 19:03:17 +0100 [thread overview]
Message-ID: <20230320190317.108267e7.koszko@koszko.org> (raw)
In-Reply-To: <5d4588a9-f08f-5386-75a6-095834ca959d@univ-rouen.fr>
[-- Attachment #1: Type: text/plain, Size: 2362 bytes --]
> Hi,
>
> Some news about *Quarto* Packaging :
Hi!
It's amazing to still see you pushing this forward ^^
> ## Packaging Quarto
>
> After running ./configure.sh i get the next step from conda recipe
> (https://github.com/quarto-dev/quarto-cli/tree/main/package/conda-recipe/build.sh).
>
> Conda recipe generate a standalone bundle (a ./quarto (sh) and a
> ./quarto.js) by using this shell script :
> https://github.com/quarto-dev/quarto-cli/blob/main/package/src/quarto-bld
>
> As you could see in the code, quarto-bld run Deno with some options, one
> refer to some .json, that contain lot of thing to download into
> /vendors. But it seems this part is not activated if the
> QUARTO_VENDOR_BINARIES env is set to false.
>
> (A) / quarto-bld update-html-dependencies
> (B) / quarto-bld prepare-dist
>
> The A step call this thing
> (https://github.com/quarto-dev/quarto-cli/blob/main/package/src/common/update-html-dependencies.ts)
> that download and patch some file into the project.
>
> So, A is a problem, and i need to patch this typescript file to give
> directly the file without downloading it from internet.
>
> *How could i create an archive that contain already these different
> files to my quarto build ? *
>
> *Do you think building a git repo with all of them is a good idea ?*
> Even if these files are linked to multiple sources : https://unpkg.com/;
> https://github.com/ ;
> https://github.com/mozilla/pdf.js/releases/download/ ;
> https://github.com/twbs/icons/releases/download/
What I'd do is make each of those into a distinct package or even
better — obtain the remote files by creating and then ungexp'ing an
(origin) object for each of them.
To clarify what I mean, let's look at how the `gnome-recipes` packaging
resolves the problem of pulling multiple sources for the build[1].
After so much work on Quatro you're probably already such a guile guru
that no further explanation is needed here :)
> If i download these file by running manually (A) in /tmp after a fail
> build, the (B) command build a working "./quarto --help" and "./quarto
> check" command, so end is near \o/
Great! Good luck again :)
Wojtek
[1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/gnome.scm?id=2336d5f57a4422d9c97db85e1c9a47763f23ad3c#n843
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2023-03-20 18:03 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-24 11:43 Help packaging R Quarto Cli Sébastien Rey-Coyrehourcq
2022-10-24 16:00 ` Sebastien Rey-Coyrehourcq
2022-10-25 10:15 ` zimoun
2022-12-15 8:32 ` Sébastien Rey-Coyrehourcq
2022-12-15 10:56 ` zimoun
2022-12-15 19:29 ` Wojtek Kosior via
2022-12-22 15:16 ` Sébastien Rey-Coyrehourcq
2023-03-20 16:51 ` Rey-Coyrehourcq Sébastien
2023-03-20 18:03 ` Wojtek Kosior via [this message]
2022-10-24 17:08 ` zimoun
2022-10-24 17:48 ` Csepp
2022-10-24 18:40 ` Wojtek Kosior via
2022-10-25 10:08 ` zimoun
2022-10-25 11:17 ` Wojtek Kosior via
2022-10-27 7:05 ` Sébastien Rey-Coyrehourcq
2022-10-27 9:54 ` Wojtek Kosior via
2022-10-28 16:19 ` Sébastien Rey-Coyrehourcq
2022-10-28 20:17 ` Wojtek Kosior via
2022-10-28 21:32 ` Sébastien Rey-Coyrehourcq
2022-11-03 19:19 ` Wojtek Kosior via
2022-11-14 22:30 ` Sébastien Rey-Coyrehourcq
2022-11-14 22:57 ` Wojtek Kosior via
2022-11-15 7:58 ` Efraim Flashner
2022-11-16 20:38 ` Sebastien Rey-Coyrehourcq
2022-11-16 20:57 ` Wojtek Kosior via
2022-11-25 16:38 ` Sébastien Rey-Coyrehourcq
2022-12-14 10:30 ` Sébastien Rey-Coyrehourcq
2022-12-14 15:46 ` Wojtek Kosior via
2022-12-14 16:16 ` Sébastien Rey-Coyrehourcq
2022-12-14 17:45 ` Wojtek Kosior via
2022-12-14 20:41 ` Sébastien Rey-Coyrehourcq
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230320190317.108267e7.koszko@koszko.org \
--to=help-guix@gnu.org \
--cc=koszko@koszko.org \
--cc=sebastien.rey-coyrehourcq@univ-rouen.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).