Development on a WordPress installation is under Subversion version control. We're not using externals to link in the plugins - the plugins are getting installed / updated by non-developers in charge of content.
This causes issues within the repository, especially for plugins that are already under version control and are just being updated to the latest version, since updating a plugin deletes the directory (including all the .svn folders) and then re-creates it.
Here's a typical scenario, that's causing me no end of grief:
- Put an existing WordPress site under version control in a fresh repo. This existing site ALREADY has some plugins. Some of those plugins are out of date
- Now, go into the admin and update those plugins
run
svn st
and you see the following:~ addthis
~ google-analytics-for-wordpress
etc...
The tilde ~ is especially nasty because it means "duh, I dunno wha happuh", and SVN just cacks. Even copying, deleting, removing, restoring, moving back, attempting to commit - nope.
Many people recommend using svn:externals or manually FTPing the updates, which is all fine and dandy, but I'd just like to be able to use the UI as God intended. From what I can see in core, there's no hook that can be used to convince WP not to delete the folder, or the .svn folder. Is there something that can be done?
rm -r pluginname
and thensvn rm pluginname
. To my utter surprise, when I tried to commit I then gotsvn:/trunk/wp-content/plugins/pluginname is out of date
. SVN hell..gitignore
?