This WP plugin will update GitHub, Bitbucket, GitLab, and Gitea hosted plugins and themes

Overview

Transition from GitHub Updater 9.x to Git Updater 10.x

Due to the renaming of the plugin folders and files, after the initial update, the plugin will be deactivated. This is a normal WordPress response to renaming a plugin folder and/or main file name. In this case, I'm doing both of these things. The plugin is designed to rename itself to the correct name. In this case the new correct name is git-updater/git-updater.php.

This renaming process makes automated updates, just for this time, fail as the update will result in the plugin being deactivated. The deactivate/re-activate cycle must be allowed to complete for proper function. I believe this is 2-3 cycles. If you update from the plugins.php page be sure to reload the page after the initial update.

More transition information

Git Updater

Git Updater

downloads downloads@latest

WordPress Tests

A simple plugin to enable automatic updates to your GitHub hosted WordPress plugins, themes, and language packs. Additional API plugins available for Bitbucket, GitLab, Gitea, and Gist.

Comprehensive information regarding Git Updater is available in the Knowledge Base.

Install the latest version here.

Description

This plugin was designed to simply update any GitHub hosted WordPress plugin or theme. Your plugin or theme must contain a header in the style.css header or in the plugin's header denoting the location on GitHub. The format is as follows.

GitHub Plugin URI: afragen/git-updater
GitHub Plugin URI: https://github.com/afragen/git-updater

or

GitHub Theme URI: afragen/test-child
GitHub Theme URI: https://github.com/afragen/test-child

...where the above URI leads to the owner/repository of your theme or plugin. The URI may be in the format https://github.com/<owner>/<repo> or the short format <owner>/<repo>. You do not need both. Only one Plugin or Theme URI is required. You should not include any extensions like .git.

API Plugins

API plugins for Bitbucket, GitLab, Gitea, and Gist are available. API plugins are available for a one-click install from the Add-Ons tab.

Sponsor

You can sponsor me on GitHub to help with continued development and support.

Slack

We now have a Slack team for Git Updater. Please click here for an invite. You will be automatically added to the #general and #support channels. Please take a look at other channels too.

Comments
  • Is self-hosted Bitbucket Server (aka Stash) supported?

    Is self-hosted Bitbucket Server (aka Stash) supported?

    I'm currently testing Github-Updater with our self-hosted Bitbucket Server installation. I've noticed that if I add a full url in Plugin URI found in Settings->Github Updater Settings -> Install Plugin Tab it still connects to https://bitbucket.org even though I've added our installation's url.

    Is this a bug or is a private self-hosted Bitbucket installation not (yet) supported? If not, what needs to be done to support this? I might be able to send in a PR.

    ps: My compliments on your code. My first impression is that it looks well-defined and well-written. and I'm sure I might learn a thing or two from it :)

    enhancement testing feature-request 
    opened by BjornW 129
  • Support for WP-CLI

    Support for WP-CLI

    Could you add new commands to wp-cli for install remote plugins and themes?

    https://github.com/wp-cli/wp-cli/wiki/Commands-Cookbook https://github.com/wp-cli/wp-cli/wiki/List-of-community-commands https://github.com/wp-plugins/ewww-image-optimizer/blob/master/iocli.php

    enhancement testing feature-request 
    opened by JosefJezek 85
  • Feature request: Integrate support for language packs

    Feature request: Integrate support for language packs

    Please integrate support for language packs into the plugin. This would allow plugin/ theme developers to host translations also on GitHub/ Bitbucket/ GitLab and offer automatic updates for them, independent from plugin/ theme releases.

    For requested integration I would see two alternatives to make it happen:

    1. developer sets up a special translations repository with sub folders per plugin/ theme slug and in the plugin/ theme folder have the various language files --> in "GitHub Updater" plugin user just references the repo and plugin will do the rest... :)
    2. developer sets up a special translations folder within the plugin/ theme repository and in there hosting the various language files --> GitHub Updater plugin could recognize such folder in the repo automatically and do the rest... :)

    There are pros and cons for either alternative -- and maybe there are even more ways of doing it.

    However, integrating support for language packs would make it lot easier to host plugins/ themes fully on services like GitHub when also translations could be updated fully automatically without always doing a new plugin release.

    I would really hope for such a support sometime soon or at least for a fruitful discussion here. Thanks in advance!

    enhancement fixed 
    opened by deckerweb 65
  • GitLab: No different Version is shown

    GitLab: No different Version is shown

    When I've installed a theme using your GitHub Updater plugin from GitLab, I'm not able to switch to any different version - since no earlier tags are shown (see the following screenshot).

    This issue might be related to #464

    bildschirmfoto 2016-10-13 um 00 50 57
    opened by marbetschar 51
  • update pulls from master based on version in code

    update pulls from master based on version in code

    Problem is that most WP developers are used to developing "staging" code in the master branch. Why? Because thats how WP has us do it in the WP.org SVN repo. You do not want the "default" update code to ever pull from the master branch. Bad practice.

    opened by scarstens 47
  • Gitea support

    Gitea support

    Is it possible to use Gitea together with GitHub Updater?

    Gitea is a lightweight alternative to GitLab for a self hosted environment. It's small, its fast and it's very similar to GitHub :)

    feature-request has-patch 
    opened by marbetschar 46
  • No Theme update shown on MainWP

    No Theme update shown on MainWP

    The site the theme is on shows that there is an update for it available, but on MainWP I see 0 theme updates available. I am not sure what I missed. Is there any chance the fact that the repo is private might cause issues with MainWP?

    enhancement fixed 
    opened by Twilkey 44
  • GitLab Webhook Timeout Issues

    GitLab Webhook Timeout Issues

    Following the wiki at restful-endpoints-for-remote-management everything works as described (eg. curl related calls). When I push (test or not) to the Gitlab repository the webhook/integration trigger is triggered I get the above mentioned error: Hook execution failed: Net::ReadTimeout

    Request URL: POST http://www.domainame.com/wp-admin/admin-ajax.php?action=github-updater-update&key=76bb2b7c819c36ee37292b6978a4ad61&theme=theme-name [internal error]
    Trigger: Push Hook
    Elapsed time: 3.29 sec
    

    instead using this testing REST endpoint

    Request URL: POST http://webhook.site/d6eb13a3-82a5-4385-abc6-91822f508b35 [200]
    Trigger: Tag Push Hook
    Elapsed time: 0.35 sec
    

    from the GitLab documentation about webhooks, I read:

    Your endpoint should send its HTTP response as fast as possible. If you wait too long, GitLab may decide the hook failed and retry it.

    Surfing the net i found this other similiar issue (which makes me think that there is a timeout after 3 seconds..)

    Is it possible that this is also due to wordpress performance limits? (eg. minimum response time) if so, it would be almost impossible to use this feature with the online version of GitLab...

    Any way, thanks for the effort!

    opened by Raruto 44
  • Bitbucket credentials not persisting

    Bitbucket credentials not persisting

    I am using your plugin on a staging site currently: https://staging.thebirdthebear.com/ When it works, it's amazing, but I'm having serious issues with it.

    When I log in to check for updates I've made, I get this screen even though I've installed a theme and connected to Bitbucket already, and set it up properly: screen shot 2018-03-26 at 4 22 19 pm

    I found that if I click Save, the page will refresh, and I'll get this page: screen shot 2018-03-26 at 4 22 34 pm

    I'll click over to the Bitbucket tab and my theme shows, but I have to re-enter everything, and check that it's Private repo again: screen shot 2018-03-26 at 4 22 47 pm

    I do: screen shot 2018-03-26 at 4 23 13 pm

    Hit enter, and this screen displays: screen shot 2018-03-26 at 4 23 24 pm

    At this stage, the new theme changes on Bitbucket haven't been pulled, and I'm pretty much where I started. The last couple changes, I've just uploaded via FTP since this hasn't worked.

    Happy to provide any information that would help in resolving this. If you need error logs, or access to the staging site, I'm happy to provide.

    opened by bahia0019 44
  • Notice: Undefined index: owner_repo in /app/public/wp-content/plugins/github-updater/src/GitHub_Updater/Plugin.php on line 179

    Notice: Undefined index: owner_repo in /app/public/wp-content/plugins/github-updater/src/GitHub_Updater/Plugin.php on line 179

    Hey there

    I just installed your plugin in several ways (git clone, zip, composer) and get multiple notices as in the attached file.

    github-updater-notices.txt

    opened by haze83 44
  • Bitbucket private repo Update error

    Bitbucket private repo Update error

    So, i have to confirm this, from #474 if you see my last message there, referenced comment I did some digging and experiment. I have created new account on bitbucket and pushed my repo there and let it be Public. After filling bit bucket settings in github updater setting page, i saw notification of new update for my plugin and was able to update successfully my bitbucket hosted plugin with github-updater6.0.0. New version i.e 6.0.2 failed miserably #481 Now, after making the same Repo private i recived the same error mentioned in issue 474 and same error message as shown below in picture. errorupdate

    I now strongly believe my username and password in bitbucket settings of github-updater are correct and In case repo is private, github-updater is having trouble with bitbucket api. Please help.

    Many thanks.

    opened by yeomann 44
  • 404 for JS file - points at theme rather than plugin

    404 for JS file - points at theme rather than plugin

    Hi! I've updated to the latest version (11.1.8), and my wp-admin console and error logs are being bogged down by the following link throwing a 404 error:

    https://example.com/wp-content/themes/example/vendor/afragen/wp-dismiss-notice/js/dismiss-notice.js?ver=6.0.3

    I searched for it in my files, and found that the "afragen" reference is in this plugin. Looks like it's not pointing at the right path (going for the theme folder rather than the plugins folder).

    Can you fix this? Thanks!

    opened by praggmatica 7
  • Tooltips not readable when loading Git Updater settings on mobile

    Tooltips not readable when loading Git Updater settings on mobile

    Hey @afragen and thanks for your hard work with Git Updater. I have been following it for the last few years and just recently started digging into things more.

    One thing I noticed is the "tooltips" under Settings >> Git Updater >> GitHub tab don't work on mobile. Even when clicking on them nothing displays, even when I changed my mobile device to force load a Desktop version.

    Perhaps some layout tweaks would help resolve that. Cheers!

    opened by jessuppi 6
  • OAuth problems

    OAuth problems

    I have a branch oauth where I was working on OAuth authentication for all git hosts. I got to a reasonable place but hit a roadblock as each git host requires the creation of on OAuth app that requires a callback. This callback must be set to a site.

    My only recourse would be to create a site whose sole function would be to take the authentication callback and figure out how to return the token to the user. My guess is that I would essentially be displaying OAuth tokens on the site that the user would copy into the appropriate location. This is not what I envisioned for this feature.

    I could certainly be wrong but I don't see a way for the plugin to ask for an OAuth token and have the response returned to the user's site.

    It looks like #323 and #848 are going to be difficult and I don't have the time or resources at the moment. Sorry.

    needs-patch feature-request need-help 
    opened by afragen 4
  • GitHub Updater Slack

    GitHub Updater Slack

    I have created a Git Updater team for Slack.

    Anyone can join and any member can send out invites. Any member may create a new channel.

    Please let's keep actual issues here but any other discussion should take place in Slack. Please click here for an invite.

    The golden rule applies. Everything is quite unrestricted at the moment. If I find the need to restrict something I will let everyone know.

    I hope you all choose to participate. I enjoy the feedback and the engagement.

    informational 
    opened by afragen 0
  • Translations now using Language Pack updates

    Translations now using Language Pack updates

    Git Updater is now dogfooding it's own Language Pack updates. Translation files reside in a separate repo, https://github.com/afragen/git-updater-translations

    Translators The main plugin will always contain the most recent POT file, as will the official Language Pack repo.

    I'm getting prepared for the next release and many new strings have been added. Please make PRs to afragen/git-updater-translations

    informational 
    opened by afragen 4
Releases(12.0.1)
Owner
Andy Fragen
Just a geek surgeon
Andy Fragen
A custom update API for WordPress plugins and themes

A custom update API for WordPress plugins and themes. Intended to be used in conjunction with my plugin-update-checker library.

Yahnis Elsts 717 Dec 31, 2022
This Plugin is used to install and activate multiple plugins in one go. I was facing problem uploading plugins one by one so I developed this to solve my problem. Hope you will enjoy using this plugin.

=== Bulk Plugin Installer === Contributors: jawadarshad Donate link: https://jawadarshad.io/ Tags: bulk plugin installer, import multiple plugins, up

Muhammad Jawad Arshad 2 Sep 20, 2022
🚀WordPress Plugin Boilerplate using modern web techs like TypeScript, SASS, and so on... on top of a local development environment with Docker and predefined GitLab CI for continous integration and deployment!

WP React Starter: WordPress React Boilerplate DEPRECATED: WP React Starter was a "research project" of devowl.io for the development of our WordPress

devowl.io GmbH 344 Jan 1, 2023
A WordPress plugin to create Blockbase child themes

Create Blockbase Theme A WordPress plugin to create Blockbase child themes Find out more about Blockbase at blockbasetheme.com Step 1 – Setup Install

Automattic 171 Jan 3, 2023
A foundation for WordPress Plugin Development that aims to provide a clear and consistent guide for building your plugins.

WordPress Plugin Boilerplate A standardized, organized, object-oriented foundation for building high-quality WordPress Plugins. Contents The WordPress

Devin 7.2k Jan 4, 2023
Create WordPress themes with beautiful OOP code and the Twig Template Engine

By Jared Novack (@jarednova), Lukas Gächter (@lgaechter), Pascal Knecht (@pascalknecht), Maciej Palmowski (@palmiak_fp), Coby Tamayo (@cobytamayo), Up

Timber 5.2k Jan 5, 2023
A better way to create WordPress themes.

Runway Framework for WordPress Visit the Runway website: RunwayWP.com A better way to create WordPress themes. Runway was built for creating WordPress

Parallelus 214 Nov 18, 2022
Classy is a framework for building WordPress themes, based on Blade template engine

Classy is a framework for building WordPress themes, based on Blade template engine. It's fast with beautiful architecture that allows you to write le

DigitalKwarts 75 Nov 23, 2022
A curated list of Awesome WordPress Theme, Plugins and Framework development Resources and WordPress Communities.

Awesome WordPress A curated list of Awesome WordPress Theme, Plugins and Framework development Resources and WordPress Communities. Inspired by bayand

Dropndot Limited 91 Dec 26, 2022
📦 A zero-configuration #0CJS developer toolkit for building WordPress Gutenberg block plugins.

create-guten-block is zero configuration dev-toolkit (#0CJS) to develop WordPress Gutenberg blocks in a matter of minutes without configuring React, w

Ahmad Awais ⚡️ 3.1k Dec 23, 2022
Developers tool for WordPress plugins: Wraps all your projects dependencies in your own namespace

Developers tool for WordPress plugins: Wraps all your projects dependencies in your own namespace, in order to prevent conflicts with other plugins loading the same dependencies in different versions.

Coen Jacobs 362 Dec 23, 2022
Rabbit Framework - A modern way of building WordPress plugins

Rabbit Framework - A modern way of building WordPress plugins. About Rabbit Framework is a modern framework designed to be a solid foundation for your

VeronaLabs 8 Nov 20, 2022
Keep your family history in a wiki hosted on WordPress.

Family Wiki Keep your family history in a wiki hosted on WordPress. Contributors: akirk Tags: family, wiki Requires at least: 5.0 Tested up to: 5.9 Re

Alex Kirk 3 Sep 6, 2022
This WordPress Plugin Boilerplate is meant for you to develop your own plugin on.

WordPress Plugin Boilerplate This plugin boilerplate is meant for you to develop your own plugin on. Support & collaboration Features OOP plugin core

richardev 2 May 10, 2022
A WordPress plugin to suspend WordPress sites automagically. Simple and lightweight, no annoying ads and fancy settings.

Suspend WP A WordPress plugin to suspend WordPress sites automagically. Simple and lightweight, no annoying ads and fancy settings. ?? Demo (coming so

Waren Gonzaga 3 Nov 15, 2021
Scaffold plugin for creating and managing Blocks, Block Patterns, Block Styles and Block Editor Sidebars in the WordPress Block Editor (aka Gutenberg).

WordPress Block Editor Scaffold This project is a template repo for developing WordPress Blocks, Block Patterns, Block Styles and Block Editor Sidebar

Rareview 6 Aug 2, 2022
Beauty and simple Wordpress video player plugin. Powerfull and lite in use.

Sonic Spectre Video Player Beauty and simple Wordpress video player plugin. Powerfull and lite in use. Quick Start: Download plugin from this repo and

Halcyon 1 Jan 4, 2022
Wordless is a junction between a WordPress plugin and a theme boilerplate that dramatically speeds up and enhances your custom theme creation

Wordless is a junction between a WordPress plugin and a theme boilerplate that dramatically speeds up and enhances your custom theme creation. Some of

weLaika 1.4k Dec 9, 2022
WordPress plugin people can use to embed to their website: a Mintbase NEAR NFT and Mintbase NEAR store

mintbase-embed WordPress plugin people can use to embed to their website: a Mintbase NEAR NFT and Mintbase NEAR store This is demo plugin that allows

null 3 Oct 1, 2021