From: Alyssa Ross <hi@alyssa.is>
To: Ville Ilvonen <ville.ilvonen@unikie.com>
Cc: Paco <paco@ecomail.io>, discuss@spectrum-os.org
Subject: Re: Documentation and diagrams
Date: Thu, 19 May 2022 07:35:51 +0000 [thread overview]
Message-ID: <20220519073551.ws6gl4tgmkcdtba3@eve> (raw)
In-Reply-To: <CAP-nJwHpzcCPtnR1CLwgHvObns9QwvRNqKqYCsSCZYF5qxe4kA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1125 bytes --]
On Thu, May 19, 2022 at 10:25:16AM +0300, Ville Ilvonen wrote:
> On Wed, May 18, 2022 at 4:11 PM Alyssa Ross <hi@alyssa.is> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-05-19 7:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-17 5:52 Documentation and diagrams ville.ilvonen
2022-05-17 11:42 ` Mark Stosberg
2022-05-17 12:25 ` Alyssa Ross
2022-05-17 19:00 ` Paco
2022-05-18 12:44 ` Ville Ilvonen
2022-05-18 12:53 ` Alyssa Ross
2022-05-18 13:11 ` Alyssa Ross
2022-05-19 7:25 ` Ville Ilvonen
2022-05-19 7:35 ` Alyssa Ross [this message]
2022-05-19 8:33 ` Ville Ilvonen
2022-05-19 8:49 ` Alyssa Ross
2022-05-18 13:09 ` Michael Raskin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220519073551.ws6gl4tgmkcdtba3@eve \
--to=hi@alyssa.is \
--cc=discuss@spectrum-os.org \
--cc=paco@ecomail.io \
--cc=ville.ilvonen@unikie.com \
/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 NNTP newsgroup(s).