What steps will reproduce the problem?
With the server running on a UNIX-like system:
1. Open https://localhost:8443 with your web browser
2. Log in as 'admin' (or any user that can create repositories)
3. Click on 'new repository'
4. Create a repository with a name containing uppercase characters e.g.
* name: TestRepo4
* description: Just a test
5. 'show a "readme" Markdown file on the summary page' was checked (don't think this
is important but anyway...)
What is the expected output?
The user should be redirected to the repositories page and the new repository entry
should be visible.
What do you see instead?
The user is redirected to the internal error page.
What version of the product are you using? On what operating system?
Operating system: Ubuntu 12.04
Java version: 1.6.0_24 (OpenJDK)
Version: Gitblit v1.2.1-SNAPSHOT
Built with: ant buildGO
After building was done I copied the deploy/ directory to ~/temp and started the server
with: java -jar gitblit.jar
Please provide any additional information below.
Possible cause and fix: On UNIX systems path names are case sensitive. Gitblit stores
the repository's name converted in lowercase for internal operations but on the filesystem
the user supplied name is used (not thoroughly investigated but converting the repository
model's name to lowercase before saving the model in "EditRepositoryPage.java" method
"onSubmit()" seems to work).
You can find the server's output attached as 'err.txt'
Oops. I thought I had that fixed. Fix pushed.
You are correct, Gitblit maintains it's internal cache based on lowercase names. It
does support mixed case repo names but it enforces case-insensitive repo name uniqueness
regardless of the underlying filesystem. Translation: you can't have TestRepo4 and
TestREPO4, even if your filesystem supports this.