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

[Scala] exclude Scala IDE related .cache-main . #2068

Merged
merged 3 commits into from
Feb 16, 2017
Merged

[Scala] exclude Scala IDE related .cache-main . #2068

merged 3 commits into from
Feb 16, 2017

Conversation

sherzodv
Copy link
Contributor

@sherzodv sherzodv commented Aug 16, 2016

Originating from https://issues.scala-lang.org/browse/SI-9506. Added exclusion for Eclipse as well.

Exclude Scala IDE related .cache-main files.
Add exclusion for Scala IDE specific .cache-main files.
@@ -49,3 +49,6 @@ local.properties

# Code Recommenders
.recommenders/

# Scala IDE specific (Scala & Java development for Eclipse)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is already covered by Scala.gitignore, this seems to be redundant, right?

Copy link
Contributor Author

@sherzodv sherzodv Feb 15, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for review!

Generally right.. Currently most of Scala.gitignore consists of excludes for external tools (build tools, editors, IDEs), this is not an argument to have this in it though.

But I would ask for this redundancy to cover rare corner cases, when for example one opens project without local .gitignore in it.

If you are insisting on keeping Scala.gitignore clean, I'll rework my commits a little.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sherzodv yes, please move any IDE-specific rules to the relevant configuration files under Global/. This prevents duplication and makes maintenance easier.

This is also mentioned in the CONTRIBUTING.md document:

Please only modify one template per pull request. This helps keep pull requests and feedback focused on a specific project or technology.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shiftkey, please take a look. I've reverted a change to Scala.gitignore, so there is only a change to Eclipse.gitignore in this PR.

I'll rework Scala.gitignore in another PR: will it be OK to have all moves in a single PR, or should I remove lines from Scala.gitignore in one PR and add them to specific Global sections in other ones?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sherzodv let's keep changes to one file at a time - feel free to link related PRs so everyone can follow along

@shiftkey shiftkey changed the title Update for Scala: exclude Scala IDE related .cache-main . [Scala] exclude Scala IDE related .cache-main . Jan 29, 2017
@shiftkey
Copy link
Member

@sherzodv thanks!

@shiftkey shiftkey merged commit dce5039 into github:master Feb 16, 2017
u9E9F pushed a commit to u9E9F/gitignore that referenced this pull request Jul 8, 2017
[Scala] exclude Scala IDE related .cache-main .
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.

2 participants