svn - composer removes diectories in web/bundles -


i'm new symfony2 , composer. manage project code in svn, either committing framework code svn or using linked repositories. understand symfony bundles use git revision control.

i'm having odd issue happening when installing new bundles composer. example install fosuserbundle, add composer.json:

"friendsofsymfony/user-bundle": "*" 

then run

php composer.phar update friendsofsymfony/user-bundle 

this works fine, removes folders web/bundles, example

~       web/bundles/framework ~       web/bundles/sensiodistribution 

is configuration problem in composer or sort of incompatibility svn?

it normal these folders regenerated during update. part of post-update/-install scripts.

the recommended .gitignore-file contains web/bundles, guess should add folder .svnignore well. alternatively yould remove post post-update/-install hooks composer.json. since assets copied bundles resources/public/ web/ folder in order them accessible, have alias them in vhost or something...

in short, add web/bundles .svnignore


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -