{"push_id":948089795,"size":1,"distinct_size":1,"ref":"refs/heads/maint/stable/tag-checker","head":"d3e4cfab708b27f38b6b640de97a5fb25b69eaa3","before":"3eb8a9ece6a41cc4ee5fbfdad57073ddf6bc4642","commits":[{"sha":"d3e4cfab708b27f38b6b640de97a5fb25b69eaa3","author":{"email":"c028c213ed5efcf30c3f4fc7361dbde0c893c5b7@puppetlabs.com","name":"Josh Cooper"},"message":"(maint) Add a rake task to verify tagged components\n\nThis commit adds a `release:tag_check` rake task to verify components\nare tagged correctly. You'll want to pull the latest puppet-agent before\nrunning the task:\n\n    $ git pull upstream stable\n    $ bundle exec rake release:tag_check\n\nIf a component refers to a non-existent tag, an error is reported:\n\n    hiera 3.0.7:                                                      [ FAIL ]\n      Tag doesn't exist\n\nIf a component's tag is not in the standard `refs/tags/1.2.3` form, an\nerror is reported:\n\n    puppet 4.3.2:                                                     [ FAIL ]\n      Tag '4.3.2' is not of the form 'refs/tags/4.3.2'\n\nIf a component is not pinned to a tag, an error is reported:\n\n    pxp-agent stable:                                                 [ FAIL ]\n      Tag 'stable' is invalid\n\nIf a component's tag points to a commit and the commit is not the head\nof the stable branch, a warning is reported, along with the SHAs of the\ntag and branch:\n\n    cpp-pcp-client 1.0.1:                                             [ WARN ]\n      Additional commits on branch 'stable'\n        tag    : 9c4db665c5 (1.0.1)\n          └->  : 0a90ea7849\n        branch : bee31d1b81 (stable)\n\nIf a component is missing a URL, an error is reported:\n\n    nssm:                                                             [ FAIL ]\n      URL is missing\n\nIf a component has a URL, but no `ref`, such as nssm, then the component\nis skipped:\n\n    nssm <none>:                                                      [ SKIP ]\n\nOtherwise, if a component's tag points to the head of the branch, then\nOK is printed:\n\n    facter 3.1.4:                                                     [ OK  ]\n\nNote some repos don't follow the stable branching scheme, e.g. mco uses\n2.8.x, so the rake task compares against the equivalent \"stable\" branch\nfor those repos.\n\nThe puppet-win32-ruby repo is special since it is effectively two\ncomponents, for x86 and x64 ruby, and the rake task will check both.\n\nGithub will rate limit unauthenticated requests, so you may need to\ncreate a personal github access token, and set the `GITHUB_AUTH_TOKEN`\nenvironment variable to the value of the token.","distinct":true,"url":"https://api.github.com/repos/joshcooper/puppet-agent/commits/d3e4cfab708b27f38b6b640de97a5fb25b69eaa3"}]}