KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
We are using a ticketing system that I want to automatically update as developers push their changes to the server. In order to update it, I only need to provide a specific URL with the commit message as a GET variable. The page being called will then log this change. I know my way to go is with hooks , but I am not familiar with Bash nor Perl so it is quite challenging. I want to achieve this: Developer PUSHes to the server post-receive hook runs and checks which different commits are new (because there could be several in one push) It loops through them, and for each commit, it will open a URL with the commit message ( curl http://server.com/logthis.asp?msg=Here_goes_the_commit_message , something like that) That's it. Although I have checked out some samples related to this kind of idea, none do exactly this. How could this be done?
Tags (comma-separated)
Save Edits
Cancel