From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-4.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id CB9ED2C4B6; Thu, 19 May 2022 07:36:03 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id 349902C458; Thu, 19 May 2022 07:36:01 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by atuin.qyliss.net (Postfix) with ESMTPS id 3B26A2C4A6 for ; Thu, 19 May 2022 07:35:57 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id BD6C45C0195; Thu, 19 May 2022 03:35:55 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 19 May 2022 03:35:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1652945755; x=1653032155; bh=R9FNk23vxZ wvivxKPmv9etvzBOxpufKMyUw60Hb1v7Y=; b=AmWhbS1e7fcJ3JPXawG5OP5Hcf krZClHWl6t5zs2xPdNPPtrqqcLkqaPx4Z3XRB/P3nNVmWlyDUNMu8SOlNGiAApf4 ZQ7oP6YQ/9vIumenYHmZAwgL5adhuGGRSEfF6Schv3ujwQMd0xwtt0hu+shNoeDe zqedadCE4N0PHvZL+WpjxCZrAmCAPF6jVgCxkvcc7JVngwsiX8EbD/k30MZaJs8n Kut8p5CmdP56RTeJE4gDNF/IUtnEAlvrPQ/Y0Eee4xiYpsdPK7RHplPK0ZSgvzRD DVLJGtl93mKhw6n1wEdcN6I8sBbPItWG8SI8WEFSNqWLHeunraNYMUI+Wtcw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1652945755; x=1653032155; bh=R9FNk23vxZwvivxKPmv9etvzBOxp ufKMyUw60Hb1v7Y=; b=sQrNEi40tr6qCMHL0AKw0Yw3Y9VPjGH5ticX/gqVkZ2D Q2zdeoWBrp453lCBpSVGczAIhQlnAKP8S5deT/CeEQUddTudQamoJ1Do08pCIdNb apTEnCqNLVupujSBBgtUhinpXKolzaQnirHwTyHFKqmZMRv9Z0NznUAYeqQtAMwh KdatyKkPlo1ehfJeotTCehC9trvAfJ2haVMruLsv4XvgNNcVxkWzdCG+EWsLOGNX GJtkbpzFNiivbKjVhH6QA/4VnHJvj45oRLNBYw2t9l4fXfxAis4xNc7rk5mxLs8y T1DtzbbaiEVGLA9OuKPUDo+ro2Pftu7qxlLIE5UQNg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedriedtgdduvdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomheptehlhihs shgrucftohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepje etgffgjeehjeekjeegveehueffudduieeffeeifedvtdekieduleetlefgteelnecuffho mhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehqhihlihhsshesvghvvgdrqhihlhhishhsrdhnvght X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 May 2022 03:35:55 -0400 (EDT) Received: by eve.qyliss.net (Postfix, from userid 1000) id D3B322E6; Thu, 19 May 2022 07:35:51 +0000 (UTC) Date: Thu, 19 May 2022 07:35:51 +0000 From: Alyssa Ross To: Ville Ilvonen Subject: Re: Documentation and diagrams Message-ID: <20220519073551.ws6gl4tgmkcdtba3@eve> References: <165276675569.2703.7962474952768136863@atuin.qyliss.net> <20220517122508.ioizqbm6rcpk3waw@eve> <1efedd1a-739f-4569-0d97-ff3233dc4416@ecomail.io> <20220518125353.cw4faxgab22r2jr5@eve> <20220518131137.sv7qvdy6cllwszu7@eve> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fyheaw2agw3lt4tx" Content-Disposition: inline In-Reply-To: Message-ID-Hash: 4HA76U4QVC6TY4ZI2YKOMIXWDRAGTZVK X-Message-ID-Hash: 4HA76U4QVC6TY4ZI2YKOMIXWDRAGTZVK X-MailFrom: qyliss@eve.qyliss.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-discuss.spectrum-os.org-0; header-match-discuss.spectrum-os.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Paco , discuss@spectrum-os.org X-Mailman-Version: 3.3.5 Precedence: list List-Id: General high-level discussion about Spectrum Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --fyheaw2agw3lt4tx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 19, 2022 at 10:25:16AM +0300, Ville Ilvonen wrote: > On Wed, May 18, 2022 at 4:11 PM Alyssa Ross wrote: > > > Actually, this looking more closely at the stack trace, this is more > > likely to be it not having a writeable XDG_CONFIG_HOME or HOME > > directory. So you could try setting those to temporary directories in > > the build. Something like > > > > export XDG_CONFIG_HOME="$(mktemp -d)" > > I think it was a good idea to test but unfortunately it did not work out: > > '' > export XDG_CONFIG_HOME="$(mktemp -d)" > echo $XDG_CONFIG_HOME > drawio in.drawio --export --output test.svg > jekyll build --disable-disk-cache -s $src -d $out > '' I was just looking at the draw.io packaging in Nixpkgs, and I discovered that there's already code in there for running headless draw.io! [1] But it's not exposed outside of this pandoc filter package. I'm going to see if it works, and if it does I'll see if we can pull it out to the top level, as a drawio-headless package or something. [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/pandoc-drawio-filter/default.nix --fyheaw2agw3lt4tx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEH9wgcxqlHM/ARR3h+dvtSFmyccAFAmKF808ACgkQ+dvtSFmy ccBLig//Y3OPu3IqXYUMS0gkcKR2h7tIbecKC4t8hjysm2Zcn8lBvvia4YPncIQZ x/1bBKduCgtCnCoERE7U0qUgSjI53fvUTf/K4NLpqcllZafSAPTf4ojURhWslRbR PEzySQjIcpC4wizsl+6sXsRq/bilL0+uzD+exkgfAU59jrHtGympOY6TA9BRiyB5 3TeKi2J7XnZH0ePvuU6sAuMJv6XVEYOPAUdvsvY6AsvuZVOC7wHpyVZu5YnX1rx+ bAFk5ggJTREAWaCJ4nFW+NojqjeqQvjfEzs0ZEnmEw/+cT6sWZeCllqjipPePSvN 1B9oKrwupP1V75tiq0/8CQjk2rOiGfDoxEPomprIWMqGeJp9VrOchtPiTb5c4181 IZg6vYUQQ7lqLqcO8be9HnhwUdOwGFUQXWE1bPnEW/hpchIYaMtadvWOSQv/XZVq wuz1h8crQ71oFpuEbVie5HbWnsHqC2BdN2Ot6y0PW2R6BDU/6Q4lH8qbEcUENkcP wYsKF+2AQTwJGFhoozplXGK1k2ASuGQU3fbCBjpUj2crzwLwRBH0G/gcTu0c9z2I bc5yNaFa/7WjGPQi+gbWMYheNAdiwx4W+SHN6r9EhQN4Gvgs6d4nnVnpP/zeHDfL dk/nNiLk2+fsxGxaYNJV/4TOBJMw9SG/ieIBlSqsIYt+oTWSk6Q= =hRF1 -----END PGP SIGNATURE----- --fyheaw2agw3lt4tx--