-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composer access #151
Comments
Hi @irondan Sorry for the slow reply. I'm not sure why the plugin has not been added to the wp directory, I have received no word from them since I submitted. If the zipped version doesn't work for you, can you create your own zip file with the same contents? |
Hello @maboa , thank you for taking a look! Right now my workaround is to copy the plugin files and put them in place on the site repo, then force commit them into the site's git repo with some .gitignore lines like
Totally functional, but obviously not ideal keeping someone else's code in the site repo as if it were a custom plugin. Ultimately what I'd like to see is maybe a couple changes to this repo to improve it's usability:
If you'd like @maboa you can assign this issue to me and I can prepare a Pull Request that tries to clean some of this up. Let me know if you'd be interested in that. |
I've got a site where I'm trying to install the plugin via composer (based on Roots Bedrock). Generally this is pretty straightforward to do from a GitHub repository, which is lovely because that gives me version control on the basis of tagged releases. But in this case there are obstacles, and there seem to be enough that I cannot get around them.
Usually you can find WordPress plugins listed in the plugin directory listed as packages on WPackagist. That's the most straightforward way and how I get most plugins. The effort to get this plugin listed on the WordPress Plugin Directory Add to Wordpress Plugin Directory #76 hasn't seen any followup since November 1st, 2023. While this might see some progress, I cannot count on it at present. Bummer.
No problem, Composer has by default methods of retrieving packages from VCS, and GitHub specifically. All I have to do is create a definition for the package in the repositories section of my composer.json. Something like:
Except it doesn't work in this case because the actual plugin is nested inside of the repo's main directory (with a largely duplicated README to boot!). So when composer installs that, WP can't see the plugin in the subdirectory. Bummer.
Except it doesn't work this time either. Apparently this ZIP file was created on a Mac OSX machine. When composer moves to unzip it instead of condensing into a wp-hyperaudio directory it remains nested, so that the __MACOSX metadata folder can be extracted alongside the contents. Bummer.
I've tried to engage with this plugin using composer in most all the ways I know how. Any one of these issues could be resolved and make this functional. Any chance of any of them being resolved?
The text was updated successfully, but these errors were encountered: