kubitron/redmine_git_hosting — Issue #20: Branches/Commits not visible
Author: pcaddict
Created: 2012-02-27 23:26:16+00:00
State: open

I do not know if this issue is related to this plugin or redmine itself. If this is a redmine issue please delete.

I am running a redmine 1.3.1 stable installation with passenger + apache. After a project is created (having"Automatically initialize Git Repositories for new projects" enabled) the repository is initialized and the instructions to complete the process are presented. After completing the initialization process and pushing the repository to the server, the repository tab under the project shows the committed file but no branch information. Also, when a branch is created and pushed to the server it is not shown in the typical fashion with the drop down branch selection.

The only way I have successfully gotten the repositories tab to show new branches and commits is by deleting and recreating the project with the same identifier. I have followed the directions in the 'Resychronization of gitolite configuration' of the instructions, specifically executing fetch_changesets() from a URL. Below is the output in production.log:

Processing SysController#fetch_changesets (for 192.168.2.1 at 2012-02-23 22:55:44) [GET]
Parameters: {"key"=>""}
Executing RESYNC_ALL operation on gitolite configuration
Cloning gitolite-admin repository to /tmp/redmine_git_hosting/git/gitolite-admin
Our hook is already installed
Completed in 2187ms (View: 0, DB: 3) | 200 OK [http://redmine.dcslns.com/sys/fetch_changesets?key=

This does not appear to have any effect on what I am able to view on the repositories tab. Fetch commits automatically is enabled in the repository settings