dimanche 1 novembre 2015

Unable to push to SVN repository without breaking composer dependancies

I have a published Wordpress plugin that's hosted on their SVN repository. I don't use SVN except for pushing updates to this project. I've managed to push a few minor updates in the past without problems. But I've spent this entire weekend struggling to push a simple update as I've done in the past.

For reasons I cannot figure out, Composer dependancies aren't getting published. My plugin works fine locally. I copy the files into the /trunk of my local SVN repository manually (yea it sucks doing it this way...) and then execute the following commands:

$ svn update trunk/* $ svn ci -m 'changes for 1.2.3' $ svn cp trunk tags/1.2.3 $ svn ci -m 'tagged 1.2.3'

When I delete my local copy of the plugin and then install it using the published copy from Wordpress it's broken and it won't work unless I run composer install (which runs and installs a bunch of missing dependancies).

WHY!??!?!?!

Does SVN ignore things in a vendor/ directory? What am I missing?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire