Skip to content
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

Use XDG_CONFIG_HOME to save our settings on Linux #3352

Merged
merged 3 commits into from
Aug 12, 2016

Conversation

ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Aug 12, 2016

Fixes #2629


This also:

  • Avoids copying settings from Spyder 2 (for all OSes) because it's a very brittle process and makes the code to save settings very complicated.
  • Develops an easier way to test Spyder with clean settings by passing --test to bootstrap.py. The previous version created a temp directory to save our settings, but that also made things too complex and hard to understand. Now we use that option to avoid reading and writing our settings from/to the hard disk.

- This also removes the possibility of copying Spyder 2.x settings for
Spyder 3.0. The many changes that we've done so far prevent us to do
that in a simple and robust way.
- I've also decided to deprecate the use of the TEST constant because
now we have Travis and Appveyor to test Spyder with a clean
configuration.
- This approach still uses the TEST constant but now to avoid reading
and writing our settings from/to the hard disk respectively.
@ccordoba12 ccordoba12 added this to the v3.0beta5 milestone Aug 12, 2016
@ccordoba12 ccordoba12 merged commit 7c9e166 into spyder-ide:master Aug 12, 2016
@ccordoba12 ccordoba12 deleted the xdg-config-home branch August 12, 2016 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant