Hey Jonathan,
Sorry I’ve only just seen this.
Composer files should be in there yes, however the git files no.
I am not seeing them on the latest SVN pages, did you download the files via wordpress normally or via github?
Peter
Try getting the file from https://downloads.wordpress.org/plugin/responsive-menu.zip
You’ll find the .git folder is in the download.
I use wp-cli to install / update my plugins and then I’ve got a custom command to add & commit the plugin update to my project for deployment purposes.
Jonathan
Hey Jonathan,
I’m not sure why wp-cli is installing it from that location when the latest version download is this:
https://downloads.wordpress.org/plugin/responsive-menu.3.1.6.zip
The link that wp-cli is getting it from seems to be from the trunk of the repository which is meant for development versions where I need the git folders.
However, I have now removed the git folders from the trunk, if you can try again.
It worries me that wp-cli installs those files however as they are likely to have code that hasn’t made it to a proper release yet as it is made for testing purposes.
Please let me know if it works for you now and thanks for bringing this to my attention.
Peter
Here’s me installing it after reading your message.
wp plugin install responsive-menu
Installing Responsive Menu (3.1.6)
Downloading install package from https://downloads.wordpress.org/plugin/responsive-menu.3.1.6.zip...
Unpacking the package...
Installing the plugin...
Plugin installed successfully.
Success: Installed 1 of 1 plugins.
Now the plugin when installed doesn’t contain your .git folder.
I get the same from the generic link off the plugin page.
We’re all good.
Thanks for your help.
Jonathan
Hey Jonathan,
It says it is installing the correct file that time so I’m even more confused now.
Ah well it works and that’s what matters in this case 🙂
Peter