wpmetabox / meta-box

The best plugin for WordPress custom fields and custom meta boxes
https://metabox.io
1.19k stars 422 forks source link

Consider adding support for Git Updater and RepoMan #1615

Open jessuppi opened 1 month ago

jessuppi commented 1 month ago

Hello there,

Please consider adding support for Git Updater and RepoMan by adding these lines to your plugin header:

GitHub Plugin URI: wpmetabox/meta-box
Primary Branch: master

Ref: https://github.com/wpmetabox/meta-box/blob/master/meta-box.php

More info:

https://github.com/littlebizzy/repoman

rilwis commented 1 month ago

Does Git Updater supports "composer install" and/or "npm run build"? Our plugins use Composer and requires it to install some packages and generate autoloads.

jessuppi commented 1 month ago

Thanks for the response @rilwis

Are you saying if users install your plugin into a fresh WordPress install it will not work? Is WordPress not enough as far as dependencies go? I saw your plugin is available on WordPress.org, is the GitHub version totally different?

rilwis commented 1 month ago

They're the same versions. But before deploying to .org, we need a "build" step, which installs Composer dependencies. Some of our plugins also need to install NPM packages and build scripts.

jessuppi commented 1 month ago

I see, perhaps it could not support direct installations via GitHub in that case.

Personally I oppose the "Composer" trend in WordPress (it seems this is 2nd or 3rd wave) but I do understand. Cheers!