cakephp-composer icon indicating copy to clipboard operation
cakephp-composer copied to clipboard

Fetching cakephp-composer via Composer?

Open lolmaus opened this issue 10 years ago • 1 comments

Hi!

cakephp-composer docs suggest that it should be installed into the project manually: either by extracting an archive or cloning the repo.

But here you suggest that Plugins/ and Vendor/ should be ignored via .gitignore.

These two facts combined make it impossible to share the project via version control. After cloning the repo, it will be impossible to install dependencies due to cakephp-composer not existing in the cloned project.

Not ignoring Plugins/ and Vendor/ is also bad: Nested .git folders are treated as broken submodules; git pull would fail:

Imgur

Please advise.

lolmaus avatar Jul 14 '14 19:07 lolmaus

@lolmaus my opinion: The official doc's recommendation is not commit dependencies.

In this case cakephp-composer is already committed to the repo. So ignoring the rest is ignoring the dependencies only.

Hope it helps.

dilab avatar Oct 16 '14 09:10 dilab