Questions tagged [post-commit]
205 questions
2
votes
2 answers
Subversion commit is extremely slow due to post-commit
I am facing a very weird problem: I am using mailer.py as post-commit hooks to send codes diff to developers. But then I find all codes check-in to this repository is very slow, even 1 file check in will cost around 2 minutes. Disable the…

asticx
- 643
- 2
- 8
- 14
2
votes
1 answer
Is it possible to make someone a co-author on a past commit already pushed to GitHub?
The title summarizes it perfectly. I have a couple commits on the main GitHub branch that I would like to add a co-author too. I tried using git --amend and adding the email and name to the commit in the proper syntax, but it didn't work and the…

Hexiro
- 171
- 4
- 9
2
votes
0 answers
generating redmine tickets by scanning for @todo
While my question is partially answered here, i'd lke to go a step further.
I want a post-commit hook to scan for @todo items, check back with redmine and see if they already exist as a ticket and if not, create the ticket and change the @todo to…

Andresch Serj
- 35,217
- 15
- 59
- 101
2
votes
8 answers
svn update not working in post commit
I am trying to implement a post-commit hook to update a working copy.
As far as i can figure out the post commit hook is being run (I wrote something in a file to verify it) but the update command was not run.
At first I did
cd…

Gabriel Solomon
- 29,065
- 15
- 57
- 79
2
votes
2 answers
SVN post-commit hook not updating Trac tickets via svn+ssh
The post-commit hook works fine when I commit changes from the server where SVN and Trac are running. When I commit remotely from my Mac however, the activity shows up in Trac's timeline, but the ticket doesn't get updated.
I've tried this in…

Dave
- 489
- 1
- 3
- 13
2
votes
1 answer
SVN post-commit hook: Update working copy depending of project the commit belonged to
I used to have this post-commit hook to update my working-copy on my server:
#!/bin/sh
cd /var/www/MyWebAppStaging
svn up >> /var/log/svn/MyWebApp.log
Inside /var/www/MyWebAppStaging was obviously a working copy of my project
But now I have a…

Pascal Klein
- 23,665
- 24
- 82
- 119
2
votes
3 answers
subversion for online projects
I've started using subversion to keep track - and be able to reverse - of our website changes related to its development and maintenance. Loving this feeling of security it provides!
I would like to know if there would be a tool / a way to be able…

pixeline
- 17,669
- 12
- 84
- 109
2
votes
1 answer
Adding post commits to Rails application?
I am using the following gem in my rails application:
http://github.com/fnando/post_commit
I am trying to learn how to send data to service providers such as Campfire on creation of a record in my application.
Using Campfire as a test I have the…

dannymcc
- 3,744
- 12
- 52
- 85
2
votes
0 answers
VisualSVN post-commit hook not executing .jar file to perform backup task
This is my first question on here so apologies if its not detailed enough. I am trying to set up a post-commit batch job for work that I am doing. I am using VisualSVN to manage my repository. I have the following post-commit.bat file:
REM Get the…

NickSellen
- 21
- 2
2
votes
3 answers
VisualSVN post-commit hook with batch file
I'm running VisualSVN on a Windows server.
I'm trying to add a post-commit hook to update our staging project whenever a commit happens.
In VisualSVN, if I type the command in the hook/post-commit dialog, everything works great.
However, if I make a…

BDW
- 612
- 1
- 8
- 20
2
votes
1 answer
get only author name for revision SVN for Windows
I am writing post-commit-hook script for svn repository for windows.
I have a .bat file for this.
Now I want to get only the author name for a revision, how to do this?
I know svn info -r revnumber gives me information for particular…

Foolish
- 3,952
- 33
- 46
2
votes
2 answers
Automated build single developer
I know this may be overkill for a single developer solution (personal project and not yet enterprise software), but I was wondering how to better respond to my needs.
I would be needing to accomplish the following:
Run integration tests (none UI…

arsenaultk9
- 31
- 4
2
votes
3 answers
How do I make git post-receive emails be sent from the commit author?
I'm using the post-receive-email script included with git. (Source is here.) It works just fine, but I want each email to be sent from the author of the commits pushed. How do I do it?
My post-receive file currently looks like this, and I want to…

Jonathan Tran
- 15,214
- 9
- 60
- 67
2
votes
2 answers
How to create multiple post-commit hooks on Visual SVN
I have VisualSVN Server running on my server and I have created a post-commit hook to send an email to me when someone commits code, using the steps outlined here: http://www.visualsvn.com/support/topic/00018/
However, I would like to be able to…

dleerob
- 4,951
- 4
- 24
- 36
2
votes
1 answer
Where do I put a post-commit hook script?
I've just thrown together the following shell script:
cd /home/firefli/webprojects/project1
svn checkout file:///home/firefli/svn/project1/trunk .
rm -rf /home/firefli/public_html/project1
svn export . /home/firefli/public_html/project1
It does…

Matt
- 9,068
- 12
- 64
- 84