Questions tagged [post-commit]

205 questions
0
votes
1 answer

trac with subversion post-commit to update web folder

I'm trying to setup the post-commit hook of my subversion to update after every commit our development servers web folder. I have been following this instructions SVN SSH post-commit checkout hook (is in German, but the codes are commented in…
lgt
  • 1,024
  • 3
  • 18
  • 33
0
votes
1 answer

Can you force an apache restart in a post-commit svn hook?

I have the following post-commit hook setup and running: #!/bin/bash /usr/bin/svn update /var/www/html/dev > /var/www/svnrepo/hooks/post-commit-log I'm developing in Python/Django and whenever I make any changes to any ".py" file, I have to SSH in…
TomFuertes
  • 7,150
  • 5
  • 35
  • 49
0
votes
0 answers

SVN post commit hook - How to identify subdirectory in which the commit has happened?

I am one repo in which there are couple sub-folder's in it ,So when I commit any changes to sub-directory I need to trigger one URL. When I configured the above case in the post-commit hook file ,The URL was triggering even the commit was done…
0
votes
1 answer

SVN Error: post-commit hook failed with locked file message

I get the following SVN error (using TortoiseSVN) when i am trying to tag trunk. Error: post-commit hook failed (exit code 1) with output: Error: svn: Working copy '.' locked Error: svn: run 'svn cleanup' to remove locks (type 'svn help cleanup'…
farinspace
  • 8,422
  • 6
  • 33
  • 46
0
votes
1 answer

Fail to run git command in specific directory in global post-commit hook

I am trying to use a submodule with a global post-commit hook but find an issue. Description Consider we have two git directories A and B. A is the super-project of B. Here's my script in the global post-commit hook. #!/bin/sh git -C path/to/A…
HenryHe
  • 21
  • 5
0
votes
2 answers

Looking for a secure SVN remote update post-commit hook

I am using a development, staging, production server environment with some other developers. Right now we make changes, test them on our dev server(personal computer) then once we are happy with the changes and want to show them to the client or…
joelpittet
  • 488
  • 5
  • 15
0
votes
1 answer

Post commit hook problem for

I want to update the files which were changed as my SVN size is 20GB. My SVN Repo is located at: /media/disk3/velsvn/projects My Checkout Folder is at: /media/disk2/www/htdocs (Reference: Using SVN post-commit hook to update only files that…
Nitin Srivastava
  • 480
  • 1
  • 7
  • 19
0
votes
1 answer

svn server: how to manipulate existing revision

I have a svn server (VisualSVN Server Manager) On this server, we want to automatically obfuscate the incoming binary files. I wrote a post-commit.exe for this. I can see which files are affected with "svnlook" command. But the problem is that I…
Fatih
  • 945
  • 15
  • 26
0
votes
1 answer

How do I run a slow running batch Asynchronously, specifically a SVN post-commit?

I have a slow running batch file that compiles a log of changes and then emails a user. I would like it not to cause the user's commits to perform slowly in TortoiseSVN. @ECHO OFF SET REPOS=%1 SET REV=%2 SET DIR=%REPOS%/hooks SET…
digiguru
  • 12,724
  • 20
  • 61
  • 87
0
votes
2 answers

How to deletes files which are added to commit

I have added two new files to my commit, and deleted them after commiting to my local repo , how can delete those files from the same commit.
Sirish
  • 9,183
  • 22
  • 72
  • 107
0
votes
1 answer

POST of '/svn/xxxx/!svn/me': 403 Forbidden

Got below error. Could not find a way to fix. Commit Commit failed (details follow): POST of '/svn/xxxx/!svn/me': 403 Forbidden (https://xxxx.net) I checked if the url is proper, and tried after removing the saved credentials from settings and from…
0
votes
1 answer

Trying to write subversion post-commit script to export PHP tu a public folder

I am trying to deploy a PHP application using subversion and post-commit script. I've been looking for how to write post-commit script but i can't get it to work. Configuration : I have a svn folder installed on my server (OVH) in…
Romain Bruckert
  • 2,546
  • 31
  • 50
0
votes
2 answers

How to trigger a jenkins job using the Trac Notification feature?

The trouble is that we have our repository hosted by an external party, preventing hook scrips due to the security issues executing arbitrary scripts could bring. Hook scripts are therefore no option for me. A quick email with our host revealed that…
Adrian vdBoom
  • 83
  • 1
  • 7
0
votes
0 answers

FireDac connection does not perform commit

I am trying to convert a project from Delphi XE8 to Delphi 10.2 Tokyo, having some trouble with autocommit: Building with XE8: every time a 'Post' is performed, the update is committed to the DB automatically. Building with 10.2: the updates remain…
0
votes
1 answer

How to use Trigger a build remotely option in Jenkins after code commit?

I am totally new to Jenkins. I am facing issue in triggering a build automatically after code commit, I have tried the following steps to achieve it 1) Created a New repository locally and commits a code into that repository. 2) Selected "Use…
Karthick Gk
  • 1,065
  • 2
  • 8
  • 8