Please stop barebacking `$HOME` on Linux
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- linux
- Domain
- operating-systems, tooling
Research direction
The issue names no source file or test; start by reading the Freedesktop XDG Base Directory Specification and locating Sprites' configuration, state, and cache path handling. Done means Linux follows the requested XDG_CONFIG_HOME behavior, including the stated fallback when it is unset, without placing these directories directly under $HOME.
Written by the indexing model from the issue text.
Description
On Linux, for over 20 years, it has been bad manners for tools to drop their config/state/cache dirs into $HOME
Flyctl does not follow the XDG spec, but at least provides a FLY_CONFIG_DIR env var https://github.com/superfly/flyctl/pull/2785
Please, follow the Freedesktop XDG base directory standard: https://specifications.freedesktop.org/basedir/latest/
The simplest fix is simply use $XDG_CONFIG_HOME/sprites as the config dir. If $XDG_CONFIG_HOME doesn't exist then and the platform is linux, then default to $HOME/config.
Congrats on the launch btw, sprites is really cool.
- Dominant language
- TypeScript
- Stars
- 51
- Forks
- 4
- Avg merge
- 23h 57m
- Merged PRs (30d)
- 12
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from superfly/sprites-docs
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
superfly/sprites-docs#226 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
superfly/sprites-docs#220 ·
-
superfly/sprites-docs#237 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
superfly/sprites-docs#231 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
superfly/sprites-docs#230 · 2 comments ·
All issues in superfly/sprites-docs
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·