{"id":15691926,"url":"https://github.com/afragen/git-remote-updater","last_synced_at":"2025-07-02T01:35:00.660Z","repository":{"id":146325230,"uuid":"210992605","full_name":"afragen/git-remote-updater","owner":"afragen","description":"A REST API based remote updater for GitHub Updater","archived":false,"fork":false,"pushed_at":"2024-12-11T17:51:55.000Z","size":2722,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-05-07T23:08:56.737Z","etag":null,"topics":["plugin","remote-update","theme","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afragen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["afragen"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-09-26T03:34:26.000Z","updated_at":"2024-12-11T17:51:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"cabd4621-981a-42f9-bcee-19d47a564a20","html_url":"https://github.com/afragen/git-remote-updater","commit_stats":{"total_commits":172,"total_committers":1,"mean_commits":172.0,"dds":0.0,"last_synced_commit":"4936e5e8e7a4136ec5a46cd4930e68227af6a12d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/afragen/git-remote-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afragen%2Fgit-remote-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afragen%2Fgit-remote-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afragen%2Fgit-remote-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afragen%2Fgit-remote-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afragen","download_url":"https://codeload.github.com/afragen/git-remote-updater/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afragen%2Fgit-remote-updater/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263060935,"owners_count":23407596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plugin","remote-update","theme","wordpress"],"created_at":"2024-10-03T18:26:08.485Z","updated_at":"2025-07-02T01:35:00.621Z","avatar_url":"https://github.com/afragen.png","language":"PHP","funding_links":["https://github.com/sponsors/afragen"],"categories":[],"sub_categories":[],"readme":"# Git Remote Updater\n\n * Author:            Andy Fragen\n * Author URI:        https://github.com/afragen\n * Donate link:       https://thefragens.com/git-updater-donate\n * License:           MIT\n * Requires PHP:      7.2\n * Requires at least: 5.9\n\n## Description\n\nAllows you to easily update Git Updater repositories in bulk via [REST API endpoint updating](https://github.com/afragen/git-updater/wiki/Remote-Management---RESTful-Endpoints).\n\nThe **Git Remote Updater** page allows updating via repository or site.\n\n## Setup\n\nRequires [Git Updater](https://github.com/afragen/git-updater) v12.0.0 or higher and an active license running on the sites you use with Git Remote Updater.\n\nYou can obtain the needed data from your `Git Updater \u003e Remote Management` tab and then copy it into the `Settings \u003e Add Site` form. You will only need to update data if your REST API key changes.\n\n![Git Remote Updater Settings](https://github.com/afragen/git-updater/raw/develop/wiki-assets/screenshot-14.png)\n\nUpdate feedback will show at the top of the page. If you have debug logging set on your site, it is also added to the `debug.log`.\n\nI recommend running Git Remote Updater from a local development environment installation of WordPress, though you can run it from any WordPress site.\n\n## Usage\n\nBy using the `Site URL` and the `REST API key` you can add sites to the **Settings** page.\n\n![Settings](./assets/screenshot-3.png)\n\nOnce you have site data added, the **Update** page will present options for you to update repositories.\n\nYou can update individual repositories across all the sites the repositories exist on.\n\n![Update individual repos](./assets/screenshot-1.png)\n\nOr you can update all the repositories on an individual site all at once.\n\n![Update whole site](./assets/screenshot-2.png)\n\nThe update process will continue until it succeeds. Feedback is presented at the top of the page when the process has completed. Feedback will also be added the the site's `debug.log`, if debug logging is set for the site.\n\n![Update Feedback](./assets/screenshot-4.png)\n\nIf there is a timeout error in the update process, Git Remote Upater will continue to attempt updating until it succeeds.\n\nOther errors will not attempt to retry the update an will display the appropriate error.\n\nAny site that is unreachable will not display any repository data in the **Update** page.\n\n## Filters and Hooks\n\nIf you have specific repositories that you wish to exclude you can add them using the filter hook as follows.\n\n```php\nadd_filter(\n\t'git_remote_updater_remove_site_data',\n\tfunction() {\n\t\treturn [ 'caldera-forms', 'github-updater' ];\n\t}\n);\n```\n\nIf you wish to modify the transient timeout for repo data; return the number of seconds, as an integer, to the following filter. Default is 600 seconds. Less is better for testing.\n\n```php\nadd_filter(\n\t'git_remote_updater_repo_transient_timeout',\n\tfunction() {\n\t\treturn 5;\n\t}\n);\n```\n\nPRs are welcome against the `develop` branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafragen%2Fgit-remote-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafragen%2Fgit-remote-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafragen%2Fgit-remote-updater/lists"}