amartel / redmine_webdav

WebDav plugin for redmine
Other
35 stars 8 forks source link

internal server error 500 while reading local git repos #21

Closed cguentherTUChemnitz closed 11 years ago

cguentherTUChemnitz commented 11 years ago

Hi there,

your plugin is a real great tool and i love it. But at the moment i have some trouble accessing local git repos. Your feature description shows, that a read access should be possible, but when i access the folder, i get an internal server error 500.

The access of svn repos works well. Also the webbased redmine integrated scm tool displaying the svn and git repos works as expected. Only the git repo inside the webdav access fails.

I am running Ubuntu server 12.04.2 with latest redmine 2.3, ruby 1.8.7, rake 10.0.3 Using systemu (2.5.2) Using macaddr (1.6.1) Using mime-types (1.21) Using unicode (0.4.4) Using uuid (2.3.7) Using bundler (1.1.4)

Here you see my redmine log while accessing the repo through webdav and my apache2 config: https://gist.github.com/cguentherTUChemnitz/5227016

please help, Christian

amartel commented 11 years ago

Hi,

I can reproduce the error and I've just commited a fix. However, you will see that the creation/modification date is the same for all files in a git repository. redmine doesn't return the date of the last revision associated with a file so I choose to use the creation date of the project instead...

cguentherTUChemnitz commented 11 years ago

Very nice and fast work!

After updating the issue is gone.

Thanks, Christian