Get your own customer support community
 

Github hook is hyperactive

Before v3 of the API and the removal of API v1, we were using a self-hosted github hook that used Pivotal's v1 API. After the release, we migrated to Pivotal's built-in github hook in the v3 API. However, my team had to disable it because it is not working very well for our workflow.

The first issue is likely a bug. Any commit being recorded moves the story to a Started state, even if the story was in a state other than not started. So a developer who marks a story finished right before pushing code is surprised to find his story moved back to started. The hook we used before did not alter the story state unless it was specifically instructed in the commit message.

Secondly, our team manages several remote git branches at any one time and we often merge between them to keep the branches up to date with the master branch. Each time we push a merge to a remote branch, all stories with commits that were merged are getting the comment recorded again. This fills up a story's comments section and results in a flood of emails to people subscribed to a story. The hook we used before was configured to only make comments for commits in the master branch. That's not ideal, but much better than all the duplicates. I'd like to see Pivotal's hook either do that or do some form of de-duping to only record comments the first time a commit is seen by the hook.
 
sad I’m sad
Inappropriate?
2 people have this problem

The company marked this problem solved.


User_default_medium