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 kK77JEIvWmOpZAEAbAwnHQ (envelope-from ) for ; Thu, 27 Oct 2022 09:12:02 +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 kJ+/JEIvWmMg9AAAauVa8A (envelope-from ) for ; Thu, 27 Oct 2022 09:12:02 +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 247B125062 for ; Thu, 27 Oct 2022 09:12:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onx1h-0001rw-9g; Thu, 27 Oct 2022 03:10:05 -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 1onx1e-0001nb-Gt for help-guix@gnu.org; Thu, 27 Oct 2022 03:10:02 -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 1onx1Z-0000FX-Ui for help-guix@gnu.org; Thu, 27 Oct 2022 03:10:02 -0400 Received: from localhost (unknown [10.0.91.94]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailhoc.univ-rouen.fr (Postfix) with ESMTPSA id DBEA22628; Thu, 27 Oct 2022 09:09:51 +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: Thu, 27 Oct 2022 09:05:52 +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> User-agent: mu4e 1.8.9; emacs 28.2 In-reply-to: <20221025131709.36ac4915@koszkonutek-tmp.pl.eu.org> Message-ID: <87a65hyc78.fsf@univ-rouen.fr> MIME-Version: 1.0 X-Spamd-Bar: / X-Rspamd-Server: mailhoc X-Rspamd-Queue-Id: DBEA22628 X-Spamd-Result: default: False [0.90 / 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.10)[multipart/mixed,text/plain]; NEURAL_SPAM(0.00)[0.882,0]; TO_DN_ALL(0.00)[]; CTYPE_MIXED_BOGUS(1.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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=1666854722; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=bPcLsfOSoPEA6HvXe93B+Mrju0PnVsnWjUneC6oNaOU=; b=GoJJJEVYnZETFOX+rZ4c7xlwyHfFBSoHrSv5UUpedhBk5wRW59ZKA34tL/BT7Lo3ljZ/nn RMlINjDRz/iDSdzLf7uEdmLOuaQQfB8iMeigd1iYuzRJ/pmbFaG13NChj+UlumgPLkvNi9 o/1De5B0Hegi8dhMJ5gKjXhYXQKkvjlkXE5VKCm5UwDKlVODR+ZWZ2XEmZPcp/lSzbFkdl t3+AkNLGJInB+Gg6TSIVcue5MEmQLSpx6Mv9unLw7CK0bDKeozUIYRlZY0sIB9A4tH+uTc qeBkB/P4leXXOX7O+jku6c5TVDSPLEEqueopirRC1Es4MqVwcCCqYijP/829/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666854722; a=rsa-sha256; cv=none; b=uOGyJSypmlIvY8z81dPZFfZHsSqGMgKMoJiiAQiKDIQSIRZofgQs0drWHr+1LeN2M9Pj9q aySIigTCGR35u5Es5PAuvv2FYCm3ci+L+fEQE2uJHZ6S/seWsgDMyokCpOYlrK4HNrV9fM s4jHZ9k/Kkgp2y4VDnVAhU7bQUSMzA05aT/UxvBxBcxDl3UDp9bFzN0ddvhgD4clp3Fa+g sVQwHosD/Ru70THZYIB0y0TiPmCrop8QSUv5KZ5AEjguJe8J17KozGFjK1j858X3Nnj0lD 2d6Eyixa0M2POmjnZWopMUJwfu+vVEl45gYPqoXgr4P5SwUWwCTB8RCvFVlEsQ== 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: -2.22 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: 247B125062 X-Spam-Score: -2.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: HbkzM+rGZG8U Hi, I continue the packaging using guix import crate, this is a slow process, b= ut everything goes well at this time. My file deno.scm contain 6000 line, with all packages imported, this is a p= roblem 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 import a= ll 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 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, ri= ght? >> >> Nothing per se. Note that =C2=ABTypeScript is a strongly typed programm= ing >> language that builds on JavaScript=C2=BB and from my understanding (mayb= e 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 cas= es > 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 depende= ncies=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 mostly= 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 wrot= e: >> >> > 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, ri= ght? >> >> Nothing per se. Note that =C2=ABTypeScript is a strongly typed programm= ing >> language that builds on JavaScript=C2=BB and from my understanding (mayb= e 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 >> > >