-
Notifications
You must be signed in to change notification settings - Fork 257
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
should we track editor files in version control? #86
Comments
I definitely understand the sentiment of having too many config files, such that external contributors might not be familiar with and may seem overwhelming. That clutter is real. Personally, in the past year I've encountered more and more repositories that include their IntelliJ unfortunately does require some set up for "things to look good" -- meaning, if I open a When checking in editor specific files, it's been my philosophy to do it only if they create added value for the editor's users, and do not affect other users (including by not cluttering the repo). That got me looking into what we have checked in, and regardless of the outcome of the issue, I've done some cleanups for files that we don't use at all, and moved all Idea specific files into the If we end up deciding here that we want to remove all of these files, it will just mean adding Generally, the value of checking in these files (as opposed to
In those situations, the editor quickly reverting to the "good setup" makes for quick productivity when context switching. If Having said all that, I don't think we should ever expect all contributors to use any specific editor, nor do we expect the entire team to do so, but if we can ease the lives of those who do, without significantly affecting the lives of those who don't, I consider that a worthy trade off. I hope you'll consider the 3rd option you've suggested as a good compromise, and if so, I'll make sure we document the existence of the |
I looked into the various configuration files we currently have checked in, after reading the issue (#86) that was opened on whether or we should have any editor specific files in the repository. I noticed we check in some files that are not used by anyone, a file that is likely only used by me (and only rarely tbh), and some that we can move to to a designated folder, to reduce some of the clutter without affecting editor functionality. This PR brings the repo to a state where the only editor specific files are contained in `.idea`. As we discuss the issue mentioned above, we might end up removing this folder all together, but I'd like us to make that decision against this PRs version of the repository (cleaner, less cluttered, reflects one of the suggestions in the issue) Commits: * _Move_ all IntelliJ config files to `.idea` * _Delete_ `cli/.graphqlconfig` -- this doesn't need to be checked in to make anyone more productive in a significant or commonly used way (i.e. this is only for IJ users with a specific plugin and can easily be created locally. I've added it to .gitignore). * _Delete_ config files that we don't use (`.travis.yml`, `bulk.yaml`, `vagga.yaml`) that were copied over when we forked `graphql-parser`. * _Rename_ the `github.gql` file to use the more common, seemingly agreed upon, file extension (`.graphql`, see graphql/graphql-spec#203 (comment)).
Any more thoughts on this? (doing some issue housekeeping) |
in exploring this repo, i've realized there are a large number of editor specific configuration files. i found this a bit surprising, and personally feel it has cluttered the repo.
in general, i do not personally include editor files in a open source repo, unless:
the motivation for this general practice is that clutter in a repo is a type of cost. when making tradeoffs, i tend to preference beginners and new contributors as they are the the folks with the highest needs and least capability. IDE configuration files are often for seasoned contributors and advanced users, who have the least need and the highest capability. beginners will rarely complain that their IDE is not customized, though they can be overwhelmed by editor specific files - wondering if they are part of the project and if they need to understand them as well.
i would love to hear more about why this team chose to include editor specific files in this repo! thanks
The text was updated successfully, but these errors were encountered: