Adding a standalone configuration script that resolves URL->FS path
authorMarius Mathiesen <marius@gitorious.org>
Fri, 4 Mar 2011 13:01:14 +0000 (14:01 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Fri, 4 Mar 2011 13:01:14 +0000 (14:01 +0100)
commitcc2c4ac81f660be31159be765de7e11d85baf120
tree2b3e8d5426c8ad4dbd606ecfccb2947abb1dae68
parent2fe00aa0743386f633b7578d1069d69184a6414e
Adding a standalone configuration script that resolves URL->FS path

This could be used from scripts needing access to the path on the file
system for a repository (currently achieved by calling the Rails app).

This script will only load a minimal environment, for faster loading.
lib/gitorious/standalone_resolver.rb [new file with mode: 0644]
script/gitorious-config [new file with mode: 0755]
test/unit/gitorious_config_test.rb [new file with mode: 0644]