-
Notifications
You must be signed in to change notification settings - Fork 445
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
Enable access to the Plugin Gallery via CLI #7204
Comments
👍 This sounds great, @ctgraham. Depending on what version you are targeting, you'll either use a Service class (3.3 or below) or our new |
This tool can be used to automate plugin installs / upgrades as described here: |
@ctgraham is this in a condition to be merged to |
I've only tested the PR in 3.1 and 3.2; but, it only depends on |
Thanks @ctgraham! I've gone ahead and merged your tool to the Call the script:
List plugin updates/compatibility:
Get info on one plugin:
I'll leave this issue open, since we'd still like to extend the script to support plugin enable/disable/install commands. But this is a great start, thanks! |
@NateWr , I've backported your implementation against:
And cleaned up the formatting for: |
#7204: PSR-12 whitespace and doc cleanup of plugins CLI tool
#7204: Simple CLI tool to interact with Plugin Gallery
Woohoo! Thanks, @ctgraham! I've merged those in now. Do you have a sense of what further actions/commands we want to add? If so, I'll split those out into separate issues and close this one. |
Beyond enable/disable/install, I would see value in:
|
For running pre-install, I'd like to be able to reference the CLI tool in, for example, Similarly, a brand new install could use the CLI tool to add plugins before the install script is run, or an upgrade script could interact with the plugin gallery while |
Describe the problem you would like to solve
Administrators need to be able to interact with the Plugin Gallery via CLI.
Describe the solution you'd like
Extract the Plugin Gallery functions into Services/API architecture, independent from the handlers, and expose Services/API to the CLI. (long term)
Mirror some functionality via dedicated script (short term).
Who is asking for this feature?
Administrators who are managing multiple instances of OJS/OMP/OPS and seeking to automate plugin installations/upgrades.
Additional information
From Slack:
Clinton Graham May 13th at 11:16 AM
Nate Wright 2 months ago
Clinton Graham 2 months ago
Marc Bria 2 months ago
Clinton Graham 2 months ago
Nate Wright 2 months ago
The text was updated successfully, but these errors were encountered: