xdg basedir spec not properly implemented
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 44.7k
- Forks
- 3.6k
- Avg merge
- 21m
- Merged PRs (30d)
- 1
Description
-
I am on the latest Hyper.app version
-
I have searched the issues of this repo and believe that this is not a duplicate
-
OS version and name:
Linux manjaro 5.10.56-1-MANJARO #1 SMP PREEMPT Thu Aug 5 10:51:27 UTC 2021 x86_64 GNU/Linux -
Hyper.app version: 3.1.2
-
Link of a Gist with the contents of your .hyper.js:
-
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): I don't know how to get this on startup, I'm not sure if it happens otherwise
-
The issue is reproducible in vanilla Hyper.app: probably? this is the AUR bin distribution, I don't believe they've modified the AUR PKGBUILD in any way, or any meaningful way, it looks like it's just extracting and installing.
https://aur.archlinux.org/packages/hyper-bin
Issue
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
trying to figure out my config woes I noticed there's a lot of stuff in ~/.config/Hyper that shouldn't be.
❯ ls -la ~/.config/Hyper
.rw-r--r-- 6.8k xeno 11 Aug 15:16 .hyper.js
drwx------ - xeno 11 Aug 15:32 blob_storage
drwx------ - xeno 11 Aug 15:32 Cache
drwx------ - xeno 11 Aug 13:33 Code Cache
.rw-r--r-- 170 xeno 11 Aug 15:38 config.json
.rw------- 20k xeno 11 Aug 13:33 Cookies
.rw------- 0 xeno 11 Aug 13:33 Cookies-journal
drwx------ - xeno 11 Aug 13:33 Crash Reports
drwx------ - xeno 11 Aug 13:33 Dictionaries
drwx------ - xeno 11 Aug 13:33 GPUCache
drwx------ - xeno 11 Aug 13:33 Local Storage
.rw------- 791 xeno 11 Aug 15:38 Network Persistent State
.rw------- 57 xeno 11 Aug 13:33 Preferences
drwx------ - xeno 11 Aug 15:38 Session Storage
.rw------- 537 xeno 11 Aug 15:32 TransportSecurity
for example, *Cache should be in .cache. That's not the only thing.
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.
Research direction
Start by tracing where Hyper creates and stores the files listed under ~/.config/Hyper, then compare those locations with the freedesktop.org basedir specification linked in the issue. Done means configuration remains in the appropriate config directory while caches and other runtime data are placed in the corresponding XDG directories on Linux.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100