-
Notifications
You must be signed in to change notification settings - Fork 5
Prepare WP Puller metadata, licensing, and readme for WordPress.org directory submission #14
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
Draft
Copilot
wants to merge
2
commits into
main
Choose a base branch
from
copilot/publish-wp-puller
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,18 @@ | ||
| MIT License | ||
| GNU GENERAL PUBLIC LICENSE | ||
| Version 2, June 1991 | ||
|
|
||
| Copyright (c) 2025 WP Puller Contributors | ||
| Copyright (C) 2025 WP Puller Contributors | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| This program is free software; you can redistribute it and/or modify | ||
| it under the terms of the GNU General Public License as published by | ||
| the Free Software Foundation; either version 2 of the License, or | ||
| (at your option) any later version. | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| This program is distributed in the hope that it will be useful, | ||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| GNU General Public License for more details. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. | ||
| You should have received a copy of the GNU General Public License | ||
| along with this program; if not, see | ||
| https://www.gnu.org/licenses/gpl-2.0.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| === WP Puller === | ||
| Contributors: cnbrkdmrci | ||
| Tags: github, deployment, theme, updater, webhook | ||
| Requires at least: 5.0 | ||
| Tested up to: 7.0 | ||
| Requires PHP: 7.4 | ||
| Stable tag: 1.0.8 | ||
| License: GPLv2 or later | ||
| License URI: https://www.gnu.org/licenses/gpl-2.0.html | ||
|
|
||
| Automatically update WordPress themes from GitHub with webhook-based deployments. | ||
|
|
||
| == Description == | ||
|
|
||
| WP Puller connects your WordPress theme to a GitHub repository so pushes can be deployed quickly from the WordPress admin. | ||
|
|
||
| Features include: | ||
|
|
||
| * Webhook-based updates from GitHub push events. | ||
| * Public and private repository support. | ||
| * Automatic backups before each update. | ||
| * Branch and subdirectory deployment support. | ||
|
|
||
| = External services = | ||
|
|
||
| This plugin uses third-party services to perform its core functionality: | ||
|
|
||
| * `https://api.github.com` (GitHub API) | ||
| * Purpose: Reads repository metadata and downloads update zipballs for the configured repository. | ||
| * Data sent: Repository owner/name, selected branch/tag, and (for private repositories) the configured GitHub token in an authorization header. | ||
| * Triggered when: Testing repository connection, checking for updates, and downloading updates. | ||
| * Service terms/privacy: https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement | ||
|
|
||
| * `https://www.cloudflare.com/ips-v4` and `https://www.cloudflare.com/ips-v6` | ||
| * Purpose: Refreshes trusted Cloudflare proxy IP ranges used for webhook source validation, with bundled ranges as fallback. | ||
| * Data sent: None beyond a standard outbound HTTP GET request from your server. | ||
| * Triggered when: The cached trusted-proxy ranges expire and the plugin refreshes them. | ||
| * Service terms/privacy: https://www.cloudflare.com/privacypolicy/ | ||
|
|
||
| == Installation == | ||
|
|
||
| 1. In WordPress admin, go to Plugins > Add New > Upload Plugin. | ||
| 2. Upload the plugin zip and activate **WP Puller**. | ||
| 3. Open **WP Puller** in the admin menu and enter your GitHub repository URL. | ||
| 4. Configure optional branch/path settings and save. | ||
| 5. (Optional) Add the provided webhook URL and secret in your GitHub repository settings for automatic push deployments. | ||
|
|
||
| == Frequently Asked Questions == | ||
|
|
||
| = Does WP Puller support private repositories? = | ||
|
|
||
| Yes. Add a GitHub Personal Access Token with repository read access in plugin settings. | ||
|
|
||
| = What happens if an update fails? = | ||
|
|
||
| WP Puller creates backups before updates so you can restore a previous version. | ||
|
|
||
| = Can I update plugins with WP Puller? = | ||
|
|
||
| Not yet. WP Puller currently targets WordPress themes. | ||
|
|
||
| == Screenshots == | ||
|
|
||
| 1. Plugin settings screen with repository configuration. | ||
| 2. Connected status and manual update controls. | ||
| 3. Backup and restore panel. | ||
|
|
||
| == Changelog == | ||
|
|
||
| = 1.0.8 = | ||
|
|
||
| * Current stable release. | ||
| * Added Cloudflare trusted-proxy range refresh with bundled fallback ranges. | ||
| * Security and hardening improvements for update and webhook paths. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,18 @@ | ||
| MIT License | ||
| GNU GENERAL PUBLIC LICENSE | ||
| Version 2, June 1991 | ||
|
|
||
| Copyright (c) 2025 WP Puller Contributors | ||
| Copyright (C) 2025 WP Puller Contributors | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
| This program is free software; you can redistribute it and/or modify | ||
| it under the terms of the GNU General Public License as published by | ||
| the Free Software Foundation; either version 2 of the License, or | ||
| (at your option) any later version. | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| This program is distributed in the hope that it will be useful, | ||
| but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| GNU General Public License for more details. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. | ||
| You should have received a copy of the GNU General Public License | ||
| along with this program; if not, see | ||
| https://www.gnu.org/licenses/gpl-2.0.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make contributor codician team