{"id":21678428,"url":"https://github.com/petervanderdoes/wp-theme-hooks","last_synced_at":"2026-05-10T15:31:43.517Z","repository":{"id":9426984,"uuid":"11299355","full_name":"petervanderdoes/wp-theme-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 themes.","archived":false,"fork":false,"pushed_at":"2015-02-16T01:43:21.000Z","size":212,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T10:41:13.057Z","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-10T01:59:21.000Z","updated_at":"2020-03-18T23:39:57.000Z","dependencies_parsed_at":"2022-08-27T22:10:37.459Z","dependency_job_id":null,"html_url":"https://github.com/petervanderdoes/wp-theme-hooks","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fwp-theme-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fwp-theme-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fwp-theme-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fwp-theme-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petervanderdoes","download_url":"https://codeload.github.com/petervanderdoes/wp-theme-hooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244591502,"owners_count":20477708,"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":[],"created_at":"2024-11-25T14:34:08.016Z","updated_at":"2026-05-10T15:31:38.445Z","avatar_url":"https://github.com/petervanderdoes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress theme 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 themes.\n \n## Installation\n* Clone the repository\n* Install using `make`, by default the software will be installed \nin `/opt/wp-theme-hooks`.\n* Copy or link the /opt/wp-theme-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* A file called Changes.md set up as described below.\n* Bash shell script.\n* Use the [Semantic Versioning 2.0.0](http://semver.org/) specification for your versions.\n\n## Information\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\n* If you keep track of your version somewhere else than the style.css, you need \n  to make these changes in the function _update_version\n  \n## WordPress meta information\nUnlike the codex describes, I use a different comment system for the meta \ninformation.\n```\n/**\n * Theme Name: \n * Theme 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## Changes.md\nThe Changes.md needs to contain a section for the changelog, set up as follows\n\n```\n=== Theme name\n\n== Changelog\n\n= Version 0.0.0\n* 1st entry of changelog\n\n```\nAfter you added another version you can edit or remove the 0.0.0 entry\n\nThere is a template for the file in the templates directory. If the file \nChanges.md doesn't exists in the root of the repository this template \nwill be copied there. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fwp-theme-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetervanderdoes%2Fwp-theme-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fwp-theme-hooks/lists"}