Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post receive hook #157

Open
rahulan opened this issue Mar 26, 2012 · 3 comments
Open

Post receive hook #157

rahulan opened this issue Mar 26, 2012 · 3 comments

Comments

@rahulan
Copy link

rahulan commented Mar 26, 2012

Dear All,

I'm running yourchili script successfully for the last 3 months.
pushing changes to the repository and pulling it from live site all works GREAT.

Now, I try to achieve the post receive hook function.

I couldn't find a guide to set this up.
could some one guide me on it please.

I've been to settings > repository > repository mirrors.
added my site, but getting "push to mirror" internal error.

first of all, am I at the right place to set the post receive hook?

my workflow is.

  1. setup the site on the hosting server
  2. git add to my git hosting server.
  3. clone the repo on my local system
  4. edit files on local system and push changes to the git repo.
  5. ? this is where post receive hook comes in.

when I push changes to the repo I want the hosting server to be updated.

waiting for your guides.

Thank you.

Rahulan

@kubitron
Copy link

kubitron commented Apr 1, 2012

Is your git hosting server different from the redmine hosting server? If so, the post receive hook functionality will probably not work properly.

@rahulan
Copy link
Author

rahulan commented Apr 1, 2012

Hi Kubitron,

it is Eric's script. I didn't install anything new.
I'm bit confused where to input hosting server details.

thanks for your reply.

-rahulan

@kubitron
Copy link

kubitron commented Apr 1, 2012

There are step-by-step instructions on the README file that you should follow. Early in the file, it talks about where to put the server names in the init.rb file.

Also, I might recommend that you use my version of the plugin, since it fixes some of the issues when hooks get out of sync. My version is: https://github.com/kubitron/redmine_git_hosting/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants