Made hashed, sharded repo paths toggleable. Non-sharded is the new
authorThomas Kjeldahl Nilsson <thomas@kjeldahlnilsson.net>
Fri, 8 Jun 2012 11:29:18 +0000 (13:29 +0200)
committerThomas Kjeldahl Nilsson <thomas@kjeldahlnilsson.net>
Fri, 8 Jun 2012 11:29:18 +0000 (13:29 +0200)
commita4d3b0d70f046210e4fedd562d61c2e81db28592
tree841956a041ea3a55600f9e56cdda8640c0c11e94
parent74a2c7300620d7c4a82700c0138227a5ec7e73e5
Made hashed, sharded repo paths toggleable. Non-sharded is the new
default.

(See enable_repository_dir_sharding in config/gitorious.sample.yml)
Repo names are no longer hashed and sharded on disc, but stored in
more readable folder names in top level repository dir. Hashing and
sharding of repo names needs to be enabled only in installatins
hosting very large numbers of repositories where it's possible to
hit filesystem-specific max entries per folder.
app/models/repository.rb
config/gitorious.sample.yml
test/unit/repository_test.rb