From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QD3iGA8DXGP5dQEAbAwnHQ (envelope-from ) for ; Fri, 28 Oct 2022 18:27:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yLDSGA8DXGMCIAAA9RJhRA (envelope-from ) for ; Fri, 28 Oct 2022 18:27:59 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0BF3ED568 for ; Fri, 28 Oct 2022 18:27:59 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooSCi-0001g1-40; Fri, 28 Oct 2022 12:27:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooSCg-0001Xf-HX for help-guix@gnu.org; Fri, 28 Oct 2022 12:27:30 -0400 Received: from smtp-out-2.univ-rouen.fr ([193.52.152.97] helo=mailhoc.univ-rouen.fr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooSCd-0003Kv-T3 for help-guix@gnu.org; Fri, 28 Oct 2022 12:27:30 -0400 Received: from localhost (ired-20-4cab-1657.univ-rouen.fr [10.196.65.88]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailhoc.univ-rouen.fr (Postfix) with ESMTPSA id 1CB731CD8; Fri, 28 Oct 2022 18:27:21 +0200 (CEST) From: =?utf-8?Q?S=C3=A9bastien?= Rey-Coyrehourcq To: Wojtek Kosior Cc: zimoun , help-guix Subject: Re: Help packaging R Quarto Cli Date: Fri, 28 Oct 2022 18:19:32 +0200 References: <87ilk9xwtq.fsf@univ-rouen.fr> <87bkq1i1yt.fsf@gmail.com> <20221024204024.2c580b81@koszkonutek-tmp.pl.eu.org> <86czag2p1g.fsf@gmail.com> <20221025131709.36ac4915@koszkonutek-tmp.pl.eu.org> <87a65hyc78.fsf@univ-rouen.fr> <20221027115445.0655c84d@koszkonutek-tmp.pl.eu.org> User-agent: mu4e 1.8.9; emacs 28.2 In-reply-to: <20221027115445.0655c84d@koszkonutek-tmp.pl.eu.org> Message-ID: <87a65fud5k.fsf@univ-rouen.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="===-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: -- X-Rspamd-Server: mailhoc X-Rspamd-Queue-Id: 1CB731CD8 X-Spamd-Result: default: False [-2.20 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; TO_DN_ALL(0.00)[]; NEURAL_HAM(-0.00)[-0.980,0]; SIGNED_PGP(-2.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:+,4:~]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[] Received-SPF: pass client-ip=193.52.152.97; envelope-from=sebastien.rey-coyrehourcq@univ-rouen.fr; helo=mailhoc.univ-rouen.fr X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Help-Guix" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666974479; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=XvPNu+rnjggXKADE9K90XZDmFtWnvsXfg+BbI5R8e6s=; b=TM087hM4Vbrg72mbhJY5I5A5NTeH+2zSRcL3797ifWeIg1k1C2r1Q9zBHcYnPtp2KU6u44 pHpl0PSzd2/DqihW6mN27l16CGp0muUekxUmPI0gNUD3HM9OFMnO5HMxgxCLEAtoAgwMSi 168y1C7T4+DpiYj5j78bkycfYiocDhp/hdpD+MfEv9iXgqbjtczfs7r+z248ZPNHm5q84g oXEw4pLidfqLxVrJ3k9VyroDWPzJ43QD1/Kk+ar9tYc/sle2qAsVsrt4NDhrT72x9mMbqH VXJgGkesSSfXHVGnzWmuu1uY9vyXvYds1Oobxv93hglfTyTd8yeezUwGgsjvnQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666974479; a=rsa-sha256; cv=none; b=sbOYv199NJC8jl128KXx8cV8U1H2jhPXUkg7vzBuElzzCyfOWn+kM2g8IaytPD7wQ5Zt8f LAR42GpU+nHQZvPGoKv29ryTLtZEiLauhJtWBCMXxnc24v8qS/qXpRmxI5vqGez7hU2vS1 1Db1RwINfahejEKIizKttnliIawFJ4qzzhwSNTaH/iDKvn/M2Sp8oaAgv58ApgA8VVEW0b A2ri/c2f20r75SRPCYuLlrpmBoRVdPP4OOwZSzGsAJ/N3ySMRm9IMQ12HDg2ccFzvVpDr4 uKseESK/tj30zGWqZD8pv7nXxUW1DMT+T9Aoh/pDWSCkisQb905u9PH5LcZRsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 0BF3ED568 X-Spam-Score: -5.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: jUk/sc7OGzWy --===-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: multipart/mixed; boundary="==-=-=" --==-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Wojtek Kosior writes: >> Hi, >> >> I continue the packaging using guix import crate, this is a slow process= , but everything goes well at this time. >> >> My file deno.scm contain 6000 line, with all packages imported, this is = a problem because i need to remove duplicate. >> The best way was probably to export all `(define public method =E2=80=A6= )` into a folder with corresponding library.scm. > > Do you have wour work-in-progress in some public repo? This would make > us easier to understand your setup and would also allow more ppl to > cooperate (although unfortunately Idk if there=E2=80=99s anyone else who= =E2=80=99s > particularly interested in deno at this particular moment). > Here we are : This is a wip python script that build an `export/' directory containing al= l rust module needed to compile deno (i suppose) The deno script is localized at the root of `export/' folder I build the modules folders, but know i don=E2=80=99t know how to compile a= ll this folders correctly using correct path =E2=80=A6 Any guile help appreciated to do that ! For example, the module *./export/rust-ecdsa-0.14/rust-ecdsa-0.14.scm* need= a module localized to *./export/rust-serdect-0.1/rust-serdect-0.1.scm* I simply try *#:use-module (../rust-serdect-01)* in *rust-ecdsa-0.14* defin= e-module but this probably not the good way. >> I need to create a module by package do you thing ? and after that impor= t all the package using `use-modules` ? > > From what I=E2=80=99ve seen, Guix package definitions are usually grouped= into > modules thematically. Although until you actually try upstreaming your > work, you=E2=80=99re not bound by any reqs and you can structure the > definitions in a way that=E2=80=99s comfortable for you. > > Also, are you adding your package by modifying the actual Guix sources? > Or by creating modules outsite of these? Perhaps this was already > metioned but I don=E2=80=99t have previous emails on the top=E2=80=A6 > If that works locally i suppose i could sent a patch with all the rust modu= les needed to build Deno ? Best ! SR. > Good luck :) > Wojtek > > =E2=80=93 (sig_start) > website: > PGP: > fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A > > Meet Krak=C3=B3w saints! #33: blessed Antonin Bajewski > Poznaj =C5=9Bwi=C4=99tych krakowskich! #33: b=C5=82ogos=C5=82awiony Anto= nin Bajewski > > =E2=80=93 (sig_end) > > > On Thu, 27 Oct 2022 09:05:52 +0200 > S=C3=A9bastien Rey-Coyrehourcq = wrote: > >> Hi, >> >> I continue the packaging using guix import crate, this is a slow process= , but everything goes well at this time. >> >> My file deno.scm contain 6000 line, with all packages imported, this is = a problem because i need to remove duplicate. >> The best way was probably to export all `(define public method =E2=80=A6= )` into a folder with corresponding library.scm. >> >> I need to create a module by package do you thing ? and after that impor= t all the package using `use-modules` ? >> >> Best >> >> Wojtek Kosior writes: >> >> >> >> > Out of curiosity - what are the problems between Guix and JS? When I >> >> > read this my first suspicion was that maybe TS is a self-hosted >> >> > language and cannot be bootstrapped. However, when I ran `guix sear= ch >> >> > typescript`, it revealed the existence of some TS->JS compiler call= ed >> >> > =E2=80=99rust-swc=E2=80=99. So I guess problems lie somewhere else,= right? >> >> >> >> Nothing per se. Note that =C2=ABTypeScript is a strongly typed progr= amming >> >> language that builds on JavaScript=C2=BB and from my understanding (m= aybe I >> >> am wrong?), it is hard to package Javascript for Guix because the >> >> Javascript ecosystem is messy. Janneke provides some explanations [1] >> >> and I am not convinced the situation have changed since then. Maybe I >> >> am wrong=E2=80=A6 >> >> >> >> 1: >> > >> > A few months ago (I think) I did run some code to actually check what >> > the dependency tree of the protocol buffers JS library (from npm) is. >> > The tree of runtime deps wasn=E2=80=99t horribly big. The tree of >> > recursively-computed dev deps was, on the other hand, as bad as >> > described by Janneke or even worse=E2=80=A6 However, It seems in most = cases >> > many of those packages designated as dev deps are not strictly needed >> > for actually building stuff. Some are just test dependencies. Others >> > were perhaps put there because developers understood =E2=80=9Cdev depe= ndencies=E2=80=9D >> > differently from how packagers understand it=E2=80=A6 >> > >> > Anyway, it seems the only way to check what the situation really is is >> > to actually try packaging something. I=E2=80=99m confident it will be = way >> > easier than it seems :) >> > >> > Luckily for S=C3=A9bastien, it seems quarto-cli - although written mos= tly in >> > JS/TS - has no NPM deps. Or at least I don=E2=80=99t see any=E2=80=A6 >> > >> > Wojtek >> > >> > =E2=80=93 (sig_start) >> > website: >> > PGP: >> > fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A >> > >> > Meet Krak=C3=B3w saints! #15: saint Jan Pawe=C5=82 II >> > Poznaj =C5=9Bwi=C4=99tych krakowskich! #15: =C5=9Bwi=C4=99ty Jan Pawe= =C5=82 II >> > >> > =E2=80=93 (sig_end) >> > >> > >> > On Tue, 25 Oct 2022 12:08:59 +0200 >> > zimoun wrote: >> > >> >> Hi, >> >> >> >> On Mon, 24 Oct 2022 at 20:40, Wojtek Kosior via w= rote: >> >> >> >> > Out of curiosity - what are the problems between Guix and JS? When I >> >> > read this my first suspicion was that maybe TS is a self-hosted >> >> > language and cannot be bootstrapped. However, when I ran `guix sear= ch >> >> > typescript`, it revealed the existence of some TS->JS compiler call= ed >> >> > =E2=80=99rust-swc=E2=80=99. So I guess problems lie somewhere else,= right? >> >> >> >> Nothing per se. Note that =C2=ABTypeScript is a strongly typed progr= amming >> >> language that builds on JavaScript=C2=BB and from my understanding (m= aybe I >> >> am wrong?), it is hard to package Javascript for Guix because the >> >> Javascript ecosystem is messy. Janneke provides some explanations [1] >> >> and I am not convinced the situation have changed since then. Maybe I >> >> am wrong=E2=80=A6 >> >> >> >> 1: >> >> >> >> Cheers, >> >> simon >> >> >> > >> > > > --==-=-=-- --=-=-=-- --===-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJcBAEBCABGFiEEQdBRWS1ZqcB6tN8l3FXLa3BDQW4FAmNcAucoHHNlYmFzdGll bi5yZXktY295cmVob3VyY3FAdW5pdi1yb3Vlbi5mcgAKCRDcVctrcENBbk3gD/9N xUduDgzAFUELy97PR6Qwzd9srGeNiOVBBFJ5MzYxK2+AbD8upcIHyCtwSPPX3jzw y7hPZZJH2jJEGZhTsIZy6vCItcNOafIF5LiR8ojCwlpFrwt9F4d+ctpEdjzq7B+0 c4I31sM6wumah0Gt7Kl9KeLFZ1TKbDsr/TA/h5Rj3ffV0Q6oLCR7EBqV4N6JzL1i qgClyk0jarFS0ReqNRWYWhti61C/fV+TjZXkupi6hyLPuPUKq3taUaEcgNxerDpW 0hzlqv2iDmtsqNKrWhaVlOm2X3e+DN5uXJ6W6RRrrjcKiSAsTbxYRt/40vx02JU3 sucuEzpgV+GNm4SgYuZYrfQVK2yBHrKT/z+xJp6/KWMET5n7GSZZiCKrMmvYOsJn pVWbGwXxci7FQD7CKPFjOm2waIFawXocgUyNP/8LNolOkC39R8Nv0vScGwKz2ya8 ZsDBqMEK1WKTtQK+oJVG+tFcHFWj0euQ7Qes7yjag6WnSfL856q5JFcUSXTiXDlT 73JXA0qwvgjl1GcNMwEw5rIZxQlJywTbzTvKsblSJiNLLgMdhuQTH5Zw8GOZWI9N 2pdwbJ096aTKCYTrK/eVs5UQtGDDfssMMwkwMJi6OxMGcb8OJ2L8kkP0+gfIw/yE qE6DSaXWsp6BHq0WxsWgAYouHMizIoDST9gNbhB7ag== =Ud+w -----END PGP SIGNATURE----- --===-=-=--