manifoldco / manifoldco/manifold-cli
Respect the XDG Base Directory Specification
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 47
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
Long time torus user just getting merged over into manifold. Great service you all have provided.
One little gripe that I've had with torus and that I now have with manifold is that you guys and gals are not respecting the XDG Base Directory specification.
Specifically, ~/.manifoldrc and ~/.manifold/ are being created in the home directory irrespective of the presence of both $MANIFOLD_DIR and $XDG_CONFIG_HOME.
Because you guys are still relatively new, I think it would behoove you all to consider supporting the XDG specification from the get-go, being that it'll almost certainly be more difficult to add in later on once the service progresses further.
Information about the spec can be found here (official spec) and here (easier read).
Thanks in advance!
Contributor guide
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.
Research direction
Start by tracing where ~/.manifoldrc and ~/.manifold/ are created, including how MANIFOLD_DIR and XDG_CONFIG_HOME are read. Consult the linked XDG Base Directory specification and verify that configuration uses the appropriate environment-defined locations instead of always writing to the home directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100