{"id":21678429,"url":"https://github.com/petervanderdoes/wp-plugin-hooks","last_synced_at":"2026-04-29T16:02:20.772Z","repository":{"id":143037535,"uuid":"11299463","full_name":"petervanderdoes/wp-plugin-hooks","owner":"petervanderdoes","description":"This is a collection of git hooks to be used in conjunction with git-flow AVH  edition.  It also has some standard git hooks that were originally created by Sitebase(https://github.com/Sitebase/git-hooks). I just adjusted their code to make it work for me.  These hooks are used by me for development of WordPress plugins.","archived":false,"fork":false,"pushed_at":"2015-02-16T01:40:24.000Z","size":184,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T10:35:18.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petervanderdoes.png","metadata":{"files":{"readme":"README.mdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-10T02:05:01.000Z","updated_at":"2020-03-18T23:39:49.000Z","dependencies_parsed_at":"2023-03-16T06:30:37.303Z","dependency_job_id":null,"html_url":"https://github.com/petervanderdoes/wp-plugin-hooks","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/petervanderdoes/wp-plugin-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fwp-plugin-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fwp-plugin-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fwp-plugin-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fwp-plugin-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petervanderdoes","download_url":"https://codeload.github.com/petervanderdoes/wp-plugin-hooks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fwp-plugin-hooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32432917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-25T14:34:08.447Z","updated_at":"2026-04-29T16:02:20.755Z","avatar_url":"https://github.com/petervanderdoes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress plugin development git hooks\n\nThis is a collection of git hooks to be used in conjunction with git-flow AVH \nedition.\n\nIt also has some standard git hooks that were originally created by [Sitebase](https://github.com/Sitebase/git-hooks).\nI just adjusted their code to make it work for me.\n\nThese hooks are used by me for development of WordPress plugins.\n \n## Installation\n* Clone the repository\n* Install using `make`, by default the software will be installed \nin `/opt/wp-plugin-hooks`.\n* Copy or link the /opt/wp-plugin-hooks to .git/hooks directory in your git repository\n* Copy the file hooks_config.sample to the .git directory, naming it hooks_config.\n* Modify the hooks_config file as needed.\n\n## Requirements\n* git-flow AVH edition\n* WordPress meta information is set up as described below.\n* The readme.txt contains a Changelog section as described below.\n* Bash shell script.\n* Use the [Semantic Versioning 2.0.0](http://semver.org/) specification.\n\n## Information\n\n* When you start a release you can omit the version number. The filter will grep \n  the version set in the stable info of the master branch and increase the patch level.\n* You can't commit on a master branch.\n* You can't commit files with merge markers.\n* Commit messages shorter than 8 are not allowed.\n  \n## hooks_config file\nThis file has the function for updating the version number in your project. You \nneed to change the variable MAINFILE to identify the file containing the \nmandatory WordPress meta information,\n\n* If you keep track of your version somewhere else than the main file and the \n  readme.txt, you need to make these changes in the function _update_version.\n* There is no need to change the version for the stable tag in this file. This \n  will be taking care of when you finish a release or hotfix.\n  \n## WordPress meta information\nUnlike the codex describes, I use a different comment system for the meta \ninformation.\n```\n/**\n * Plugin Name:\n * Plugin URI:\n * Description:\n * Version: 0.0.0\n * Author: \n * Author URI: \n *\n*/\n```\nYou can add or remove meta information but you need to keep the Version tag, \nwith a space behind the colon.\n\n## readme.txt\nThe readme.txt needs to contain a section for the changelog, set up as follows\n```\n== Changelog ==\n\n= Version 0.0.0 =\n* Start of the changelog\n```\n\nAfter you added another version you can edit or remove the 0.0.0 entry\n\n## License\nPortions of the code is licensed as The MIT License\n\nCopyright (c) 2013 Wim Mostmans\n\nPermission 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:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE 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.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fwp-plugin-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetervanderdoes%2Fwp-plugin-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fwp-plugin-hooks/lists"}