ruby on rails - Setting up git commit hook for Redmine -
ruby on rails - Setting up git commit hook for Redmine -
i trying migrate setup here @ office svn git , setting redmine host our projects , issue management (currently utilize version of gforge + svn). should preface saying i'm embedded c software developer day , have 0 experience rails or web apps, trying new things volunteered set project management tools take future.
i have redmine setup , using gitolite git repo manager. additionally, using ericpaulbishop/redmine_git_hosting plugin facilitate automatic public ssh key pushing gitolite , automatic repo creation when register new project. seems work except repo view within project not maintain track of changesets. (the "history" empty, although when view files, show latest version correctly)
i copied post-receive hook plugin's contrib directory .gitolite/ mutual hooks, 1 time again know little ruby , how these gitolite hooks work don't know how debug this. notice there log messages , things in hook, have no thought printed, etc...
i tried howto on redmine wiki, howto setup automatic refresh of repositories in redmine on commit:
#!/bin/sh curl "http://<redmine url>/sys/fetch_changesets?key=<your service key>" any ideas on start debugging? i've been able resolve every problem point, i'm little stuck now. plugin doesn't create obvious how supposed work, , honest, i'm not sure if problem redmine not reading repo correctly (or @ all), or gitolite not communicating redmine expects, etc...
i guess reply this...
i checked issues under github page , found on:
https://github.com/ericpaulbishop/redmine_git_hosting/issues/89
which pretty much problem. appear little bug in plugin, can work around changing max cache time "1 min or until next commit". fixed problem. left 1 of posters claimed alter until next commit , works on...
ruby-on-rails git redmine githooks gitolite
Comments
Post a Comment