In my last post I showed how to build a simple hooking system for gitolite Now I just want to share a very small script used to update Redmine changesets when you push to a git repository.
Github is the most popular online service for hosting and collaborative development of open source projects.
And Redmine is the most popular personal and enterprise open source project hosting and management solution.
The repository itself seems to working fine, multiple users are able to push and pull from the repository, just the web view of the repository seems to be broken.
This is what it looks like: VM that has Redmine with redmine_git_plugin installed: VM that has Redmine without redmine_git_plugin: Redmine server is the WEBrick server that comes with Redmine, I've installed the plugin according to the instructions given, and gitolite was installed following this installation example under a user named 'gitolite'.
How do I make associated revisions update automatically, regardless of which branch my changes are committed to?
A project's Repository page does not seem able to track the project's repository.
First, the big picture: I'm trying to write a git post-receive script for a Redmine / Gitolite server I'm running.
As per various recommendations, I'm creating a bare and local repository for Redmine to read from, and I'm setting up a post-receive script on Gitolite to push changes into the Redmine repo.
Your post-receive hook may not be working correctly (you can also check this in the plugin configuration panel). Total 4 (delta 1), reused 0 (delta 0) remote: remote: remote: Repository does not have "hooks.redmine_gitolite.key" set. (called from _run_rhtml_vendor47plugins47redmine_git_hosting47app47views47projects47settings47_repository46rhtml_locals_object_repository_tab at /home/vk/redmine-1.2/vendor/plugins/redmine_git_hosting/app/views/projects/settings/_repository.rhtml:56) DEPRECATION WARNING: @repository will no longer be implicitly assigned to repository.
Web service for repositories must by activated in the Administration menu (Administration - Settings - Repositories - Enable WS for repository management) and the generated API key (referred to "your service key" in the following documentation) will have to be used by the caller in Step 2.
However, if I cd into (aka: the bare repo), a git fetch / git reset --soft fails to update the bare repo to the latest version.