Skip to content

Conversation

xchopin
Copy link

@xchopin xchopin commented Jan 4, 2017

Removed :

.idea is a JetBrains file, it has to be included in the global .gitignore, not in the local one
(cf : http://www.craftitonline.com/2013/10/ignore-symfony2-phpstorm-files-like-a-pro-with-global-ignoring)

Added : 
- composer.lock : is build metadata which is not part of the project,  the state of dependencies should be controlled through how you're versioning them and not arbitrarily by the last developer to update them and commit the lock file.

-composer.phar : ZIP-like.

Removed : 
.idea is a JetBrains file, it has to be included in the global .gitignore, not in the local one
(cf :  http://www.craftitonline.com/2013/10/ignore-symfony2-phpstorm-files-like-a-pro-with-global-ignoring)
@kevinvdburgt
Copy link

kevinvdburgt commented Jan 4, 2017

I agree with the .idea removal that it should be placed in the global .gitignore.

However, i disagree with the composer.lock file because it is a part of the project, when running composer install it tries to read the composer.lock file (it contain dependency version numbers etc. when running composer update) so everyone has the same version of everything.

The same for composer.phar, it doesnt exists in the repository by default. And you should (recommend) to place the composer executable in your $PATH.

@xchopin
Copy link
Author

xchopin commented Jan 4, 2017

I understand your point of view thanks for sharing it with me.
I updated the pull request

btw : composer.lock is there https://github.com/laravel/framework/blob/5.3/.gitignore , https://github.com/laravel/passport/blob/1.0/.gitignore ,... I should ask Taylor

@taylorotwell
Copy link
Member

We're not changing this file anymore.

@kevinvdburgt
Copy link

I'm still curious why the .idea is in the .gitignore file @taylorotwell :) ?

@JellyBool
Copy link

@kevinvdburgt check this : #3877

Maybe Taylor is tired of the pr about .idea.

@kevinvdburgt
Copy link

Ah, I see, if that is the case I can understand that Taylor is tired about those PR's.

And it is just a single line I can remove from my project if I don't want it :)

@RomainLanz
Copy link

Maybe Taylor is tired of the pr about .idea.

Yes, but now we get other PR to remove it. 💀

@JellyBool
Copy link

@kevinvdburgt I also think it's a personal thing about .idea,I use Phpstorm and sublime both.

@RomainLanz Saaad....

@GrahamCampbell
Copy link
Member

I'm still curious why the .idea is in the .gitignore file @taylorotwell :) ?

Because we get spammed with PRs to add it.

I also think it's a personal thing about .idea,I use Phpstorm and sublime both.

No IDE should have it's config put in our gitignore, since they belong in global ignore files, so it's nothing personal in that way.

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.

6 participants