Skip to content

Adher to the XDG base directory specification #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jfowl opened this issue Mar 5, 2019 · 1 comment · Fixed by #156
Closed

Adher to the XDG base directory specification #15

jfowl opened this issue Mar 5, 2019 · 1 comment · Fixed by #156
Assignees
Labels
enhancement Some improvement that isn't a feature

Comments

@jfowl
Copy link

jfowl commented Mar 5, 2019

Please use the XDG data dir for data and log dirs.

I just started it and got shown this: {"data-dir":"/home/jfowl/.code-server","working-dir":"/tmp/code-server-dir","log-dir":"/home/jfowl/.code-server/logs/20190305213428008"}. I personally don't like apps to create even more dotfils/dotdirs in my /home directory than it already has. Using the XDG basedir spec would be a great step towards using well-established standards in the unix world <3.

@kylecarbs
Copy link
Member

I agree. We’ll do this.

@nhooyr nhooyr added the enhancement Some improvement that isn't a feature label Mar 8, 2019
code-asher added a commit that referenced this issue Jun 19, 2019
* Clean up workbench and integrate initialization data

* Uncomment Electron fill

* Run server & client together

* Clean up Electron fill & patch

* Bind fs methods

This makes them usable with the promise form:
`promisify(access)(...)`.

* Add space between tag and title to browser logger

* Add typescript dep to server and default __dirname for path

* Serve web files from server

* Adjust some dev options

* Rework workbench a bit to use a class and catch unexpected errors

* No mkdirs for now, fix util fill, use bash with exec

* More fills, make general client abstract

* More fills

* Fix cp.exec

* Fix require calls in fs fill being aliased

* Create data and storage dir

* Implement fs.watch

Using exec for now.

* Implement storage database fill

* Fix os export and homedir

* Add comment to use navigator.sendBeacon

* Fix fs callbacks (some args are optional)

* Make sure data directory exists when passing it back

* Update patch

* Target es5

* More fills

* Add APIs required for bootstrap-fork to function (#15)

* Add bootstrap-fork execution

* Add createConnection

* Bundle bootstrap-fork into cli

* Remove .node directory created from spdlog

* Fix npm start

* Remove unnecessary comment

* Add webpack-hot-middleware if CLI env is not set

* Add restarting to shared process

* Fix starting with yarn
nhooyr pushed a commit that referenced this issue Nov 13, 2020
Add support for hostPath volumes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants