pushes are not logged

Issue #779 resolved
valentijnscholten created an issue

I have RhodeCode 1.5.3 installed on Debian Wheezy. I have added a pre-existing repository by perform a rescan of the repos folder. I have enabled logging of both pushes and pulls.

Steps to reproduce: 1. clone repository 2. modify a file 3. commit the file 4. git push 5. observe that the push succeeds (OK) 6. observe that the new commit is present in rhodecode web interface (OK) 7. observe that the push is not logged anywhere.(NOK) 8. observe that previous pulls are logged in journal (OK)

Comments (5)

  1. Marcin Kuzminski repo owner

    RhodeCode users post-receive hooks to log actions, if you import a repository that has this hooks installed already you must put rhodecode hooks manually. By default RhodeCode doesn't override hooks, is that a case for you ?

  2. valentijnscholten reporter

    Yes it was. Is there some documentation about this and how to install rhodecode hooks? For now I just created a new repo via rhodecode and copied those hooks into the other repos. It works now and shows nice log of pushed commits and compare function!

  3. valentijnscholten reporter

    Would it be a feasible feature request to have rhodecode integrate itself with existing hooks?

  4. Marcin Kuzminski repo owner

    I'm already working on a paster command that will go through repo list and check the hooks, detect if RhodeCode one is installed give some summary about it. This way you can quickly verify current state.

    Auto-integration sounds tricky, but i'll think about possible solutions.

  5. Log in to comment