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
gitignore settings files for Eclipse IDE #73696
Comments
The Eclipse IDE, and its relatives pydev and LiClipse, store settings in the root of a repository. It would be nice for the master .gitignore file to ignore these files, so that individual developers don't have to do this. I am preparing a GitHub Pull Request that fixes this issue. It is a matter of adding 4 lines to the top-level .gitignore file. |
A fix is in GitHub cpython PR #75. |
I'm now looking at cpython as retrieved from Mercurial by Eclipse. It appears to be concerned by the presence of It might be reasonable to extend the scope of this issue to include telling Mercurial to ignore settings files. My pull request does not do this, because I haven't yet learned the right Mercurial action. |
We'll move to github soon. So no need for caring hgignore. While there is |
gitignore_global is a great idea. I had not heard of it before. But here it is: https://help.github.com/articles/ignoring-files/ . This instruction also has a link to a gist with a lot of helpful global ignores. I understand your reluctance to add entries for every IDE. Maybe a better solution would be to add something to the devguide about excluding IDE settings files, with a link to the Github instructions. |
Thanks for the report and for the patch, Jim! I agree with Inada. global_gitignore is a better way to achieve this.
Our goal is to only cover CPython specific topics in devguide. There a lot of things that can be mentioned in devguide, but it would be hard to maintain all these information and keep devguide short at same time :) |
I agree with Berker. But some git/github tips are very useful for CPython core developers while they aren't CPython specific. I think it's worth enough to add link to such tips.
|
I have set up a global gitignore, and it works for me. I agree that we should not put IDE entries in the CPython .gitignore. I also think it's a good idea to add the points Inada mentions in the developer doc somewhere. That should include the Git global ignore idea. I see Berker's point that the Devguide shouldn't get too big, but it also shouldn't leave out useful information. There's a balance to strike. I think that's the topic of a different issue, however. I'll open that when I get back to this. In the meantime, if someone searches the issue database for "gitignore", they will find this discussion. That's helpful. Thank you both for your responses, Inada and Berker. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: