-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support update from Github #10
Comments
Need to look at https://github.com/afragen/github-updater 's solution |
If the local plugin is a Git repository... which is already detectable... then shouldn’t it be possible to simply perform a pull? It assumes the server has the authority to run git stuff. I'll write some test code in oik-batch to do some git capability checking and display a box in the oik options page using a similar technique to that which oik-css uses. |
Those logic to support update from a Github repo was added in |
As previously stated an update from GitHub solution was implemented in bobbingwide/oik-batch#34. The other issue ( 35 ) hasn’t been addressed. |
I'm going to close this issue in oik as the solution is available in oik-batch. |
Like many other plugins and themes the oik base plugin includes logic to allow a plugin or theme to be updated from a repository other than WordPress. For plugins which are a) delivered from an oik-plugins server, and b) already dependent on some part of oik, this logic is enabled through
oik_register_plugin_server()
.You can also manually enable this logic using http://www.oik-plugins.com/wordpress-plugins-from-oik-plugins/oik-base-plugin/oik-options/oik-options-plugins/oik-options-plugins-add-plugin/
Currently the plugin server has to be running the oik-plugins server logic.
We have a new requirement to be able to update the plugin from a github repository.
Proposed solution
There are multiple stages to this development.
The solution may enable 'local' zip files to be installed, allowing optional/recommended plugins to be delivered as part of another plugin/theme.
The text was updated successfully, but these errors were encountered: