From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id jU3/AcBVWmNKiAAAbAwnHQ (envelope-from ) for ; Thu, 27 Oct 2022 11:56:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eBAQJr9VWmO7EQAAauVa8A (envelope-from ) for ; Thu, 27 Oct 2022 11:56:15 +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 3C5B52A3D8 for ; Thu, 27 Oct 2022 11:56:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onzbY-0002Uj-U8; Thu, 27 Oct 2022 05:55:17 -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 1onzbW-00028a-2O for help-guix@gnu.org; Thu, 27 Oct 2022 05:55:14 -0400 Received: from koszko.org ([93.95.227.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onzbT-0002mB-0h for help-guix@gnu.org; Thu, 27 Oct 2022 05:55:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8dqUDJ2B1Xv5lUO1rA40mDU7Br+6ZuLp4Z2t5u7S/x0=; b=LDZULR8bl3NC2x6VlCKjtDqEyE uu7rdAvjMBmr76Kd4QofGoaD24+V8TLORiuxKdjvh8ima4biE0ijS1VG8Ymr/RRBAT2rEL4KcNjj/ kBKoI8wihGCOFa+N9YSP47dw1jvvDleNc659ZkExT85ruAn1K1Bc08kK9WvqVqOHjFwIKP9ktbyFW tE4dEvgImUc4ggoFC6ZprYnBIWLFhPelSOKovmNmpVvnNK8nX1fZPsS1mdUtobJ2oZNx7qx3pza8f MJ526iaZYvMul9hlJaBgsi55PrRER5CjvzjAVvU5MRCzk1fbEhrSRLSycUDMrZh/4UP476xnu/Ac6 FEzmPrh2So6Fj0V0kXTfX4C4ZwXMSER0DKctJS9JD3KhZEOyBqTx7nt17T77y+m7rhIqws8YrwKGS Zxbuo7v4HeW9KPf/3zBDC2NqYM43s4ppGbFjynw0kX4ethnUEFa+/PyEqq+IN8T5+KJ46485eX8Nm Xlx6steEq7YlezQY6eg7kK9JIAzWwYwf6ctgJg//5k2c76ipof0nxRD+KojZHBfNLm0KzDvL/3box gliIor+eh7+nevlv7i7H+W99Wqd+ypm6TBSD44JkIu+rvn9eNnhndZFY9IAkCZLvUBlSRmb2KSHK/ 99fZ6B80lsgN9t8w0N8JBQZEOaDTB3pNgjGoAsrmc=; Received: from 77-252-46-225.static.ip.netia.com.pl ([77.252.46.225] helo=koszkonutek-tmp.pl.eu.org) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1onzb5-0003tC-Ur; Thu, 27 Oct 2022 11:54:48 +0200 Date: Thu, 27 Oct 2022 11:54:45 +0200 To: =?UTF-8?B?U8OpYmFzdGllbg==?= Rey-Coyrehourcq Cc: zimoun , help-guix Subject: Re: Help packaging R Quarto Cli Message-ID: <20221027115445.0655c84d@koszkonutek-tmp.pl.eu.org> In-Reply-To: <87a65hyc78.fsf@univ-rouen.fr> 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> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/SO/=IlH1ZZ3i4f/+vgyPZ7R"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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" Reply-to: Wojtek Kosior From: Wojtek Kosior via 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=1666864574; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=8dqUDJ2B1Xv5lUO1rA40mDU7Br+6ZuLp4Z2t5u7S/x0=; b=tgvIDBS6eeZo3WHj82mJXYhk3qH228JNQ1dcvXZoKJtkYL5NJGnDlsPSiWQZO5YbqBLfV0 kiv+OLAb0I6pB+LAhJm3VLyTNkU1H+kl9+u0K8/83bOTd6baVhgzHLq9Ix4mw9gpu0WhfS Xfk7LGrf1REocoW/Fds6qNYo86+LLb2Am1zubzIMdnNvf9CRedeIN9zFIOjFWTBXCVP9xG Q01segOW8aE9ZksFNJXCIVNPgmqYQfxeu3zL/BimKkfOXqIquXFfOoclERE4KFDsiOT2WR gnaIXKuJ7ux9398vHcHIFy/ORF6KHCl2NFoB53Q+CuiJrwPguKFYisRrzCXJ3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666864574; a=rsa-sha256; cv=none; b=KDdiPQzWVEWYq2uVn6JKcODRX0Dpa7emH75ebIJSiatWMjOPWFDMUo50pfdJlOu3NAGYqP YGaL1frMyOj78aq3bpYG51pYBiMnQWd1kMGzRIR4lx7e/lVyu3cIumFfCZXRstxAN0FZDr qOxUOQgXPVyHE8fG30KfY7dbIbq8DP/4lgbfvy7ODCgexj+vpKRHJQnf9HJ/m4vbnnhl5Y 30iiEQ/aLuy8EoPvUXNspZ1Z2YRrjaTCdGb5ggbQTGtdWnK3nWVBm8pj01kTPnOaPU4h0D pPlQeDcYwXmA8PmnMPF0gmC1aRVdI3VkoDqybcye/xfVH74FHuw0Y3Xu1SjU7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=LDZULR8b; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=LDZULR8b; dmarc=pass (policy=none) header.from=gnu.org; 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: 3C5B52A3D8 X-Spam-Score: -4.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: hlfVmYe8uYO9 --Sig_/SO/=IlH1ZZ3i4f/+vgyPZ7R Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Hi, >=20 > I continue the packaging using guix import crate, this is a slow process,= but everything goes well at this time. >=20 > 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's anyone else who's particularly interested in deno at this particular moment). > I need to create a module by package do you thing ? and after that import= all the package using `use-modules` ? =46rom what I've seen, Guix package definitions are usually grouped into modules thematically. Although until you actually try upstreaming your work, you're not bound by any reqs and you can structure the definitions in a way that's 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't have previous emails on the top... Good luck :) Wojtek -- (sig_start) website: https://koszko.org/koszko.html PGP: https://koszko.org/key.gpg 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 Antoni= n Bajewski https://pl.wikipedia.org/wiki/Antonin_Bajewski -- (sig_end) On Thu, 27 Oct 2022 09:05:52 +0200 S=C3=A9bastien Rey-Coyrehourcq wr= ote: > Hi, >=20 > I continue the packaging using guix import crate, this is a slow process,= but everything goes well at this time. >=20 > 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. >=20 > I need to create a module by package do you thing ? and after that import= all the package using `use-modules` ? >=20 > Best >=20 > Wojtek Kosior writes: >=20 >=20 > >> > 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 search > >> > typescript`, it revealed the existence of some TS->JS compiler called > >> > =E2=80=99rust-swc=E2=80=99. So I guess problems lie somewhere else, = right? =20 > >> > >> Nothing per se. Note that =C2=ABTypeScript is a strongly typed progra= mming > >> language that builds on JavaScript=C2=BB and from my understanding (ma= ybe 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: =20 > > > > 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 c= ases > > 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 depen= dencies=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 w= ay > > easier than it seems :) > > > > Luckily for S=C3=A9bastien, it seems quarto-cli - although written most= ly 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: > > =20 > >> Hi, > >> > >> On Mon, 24 Oct 2022 at 20:40, Wojtek Kosior via wr= ote: > >> =20 > >> > 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 search > >> > typescript`, it revealed the existence of some TS->JS compiler called > >> > =E2=80=99rust-swc=E2=80=99. So I guess problems lie somewhere else, = right? =20 > >> > >> Nothing per se. Note that =C2=ABTypeScript is a strongly typed progra= mming > >> language that builds on JavaScript=C2=BB and from my understanding (ma= ybe 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 > >> =20 > > > > =20 --Sig_/SO/=IlH1ZZ3i4f/+vgyPZ7R Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCY1pVZQAKCRBLxSIcWnn9 GhPzAQDYjqPi1NQnvyI81SRR4vDGKcoKpeVM3v8aBITWvGj/5AEA/1764Y7pyU3N ftLU1UPONicpIOtCJ8fJa7BeZ0ti5Aw= =RxzG -----END PGP SIGNATURE----- --Sig_/SO/=IlH1ZZ3i4f/+vgyPZ7R--