- name: typst
- description: A new markup-based typesetting system that is powerful and easy to learn
- snapcraft: GitHub - typst/typst-snap: The definition for Typst's snap
- upstream: GitHub - typst/typst: A markup-based typesetting system that is powerful and easy to learn.
- upstream-relation: Snap maintained by Typst team
- interfaces:
- personal-files: (reading $XDG_DATA_HOME/typst, commonly set to $HOME/.local/share/typst)
- request-type: installation and auto-connection
- reasoning: This is where Typst accesses packages local to the user’s machine. There is demand from the community for this interface to auto-plug (see issue #2 on the typst-snap repo; cannot post more than two links as a new user).
- personal-files: (writing in $XDG_CACHE_HOME/typst, commonly set to $HOME/.cache/typst)
- request-type: installation and auto-connection
- reasoning: Typst uses this path for storing and caching packages from the Typst Universe. This allows seamless sharing of packages between snap and non-snap installations.
- personal-files: (reading $XDG_DATA_HOME/typst, commonly set to $HOME/.local/share/typst)
This request has been added to the queue for review by the @reviewers team.
Hey @reknih
Both directories are clearly owned by typst. Thus, +1 from me for granting typst access to the requested directories via personal-files interface after publisher vetting (#voteFor).
Unless I’m mistaken, rules don’t support XDG_DATA_HOME or XDG_CACHE_HOME envvars, so we will need to limit it $HOME/.local/share/typst and $HOME/.cache/typst
Thanks!
Hello @reknih
+1 (#voteFor) from my side too, as both directories are clearly owned by the snap. ![]()
Voting period has ended. This request is approved with 2 votes for and 0 votes against.
The request was approved. This is now live.