Open calvinseng opened 5 years ago
TGMPA doesn't currently support installation of plugins from GitLab, let alone support installation from private repos. Installation from public repos on GitHub is supported.
Vaguely related (given that we're talking private repos), is there a possibility of allowing remote installation from private repos on GitHub now that they are accessible to all users?
@cocodedesigns How would that work ? Most, if not all of the users, won't be authorized to access the private repo.
@jrfnl I have used GitHub Updater to update plugins and themes I have developed and host in private repos, and - providing I use the right Private Access Token - I can update said themes and plugins. Would it be possible for me to declare a plugin hosted on my private repo, put the right Token into the script and have TGMPA download the plugin, rather than including the latest version each time I develop a new theme, or having the plugin update itself once it has been installed? Since it would have to contact GitHub anyway, surely cutting out the middleman and downloading it directly would be a good idea.
@cocodedesigns Well, I'd be open to adding that option if someone would submit a PR for it. Do keep in mind though that TGMPA will not know about new versions of the plugin you release via GH, unless the plugin itself does a call to the GH API and updates the WP available updates array with that info.
Hi, is it possible to pull update from Gitlab via Private Project? How to include the API access token properly? Thanks.