repo folder created in lower case only #1656

Closed
opened 2025-11-02 04:08:38 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @mjsurette on GitHub (Mar 27, 2018).

  • Gitea version (or commit ref): 321cc2a3d0
  • Git version: 2.11.0
  • Operating system: raspbian
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • [x ] SQLite
  • Can you reproduce the bug at https://try.gitea.io:
  • Log gist:

Description

When I create a repository with a mixed case name, ie testMe
the http link is http://raspberrypi.local:3000/msurette/testMe.git
and the ssh link is git@raspberrypi.local:msurette/testMe.git

Both of these are what I would expect. However the folder is created as
git@raspberrypi.local:msurette/testme.git

This makes no difference on Windows and Mac filesystems, but on linux filesystems case matters. The http link works due to browser magic, but not ssh/rsync which does not have case folding.

Mike
...

Screenshots

Originally created by @mjsurette on GitHub (Mar 27, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 321cc2a3d0f267f8b0f5bb4365572636f1ce0443 - Git version: 2.11.0 - Operating system: raspbian - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x ] No - can't get https://try.gitea.io to work - [ ] Not relevant - Log gist: ## Description When I create a repository with a mixed case name, ie testMe the http link is http://raspberrypi.local:3000/msurette/testMe.git and the ssh link is git@raspberrypi.local:msurette/testMe.git Both of these are what I would expect. However the folder is created as git@raspberrypi.local:msurette/testme.git This makes no difference on Windows and Mac filesystems, but on linux filesystems case matters. The http link works due to browser magic, but not ssh/rsync which does not have case folding. Mike ... ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
Author
Owner

@lunny commented on GitHub (Mar 28, 2018):

Any error displayed?

@lunny commented on GitHub (Mar 28, 2018): Any error displayed?
Author
Owner

@mjsurette commented on GitHub (Mar 30, 2018):

My bad! It's ok now. Sorry for the noise.

@mjsurette commented on GitHub (Mar 30, 2018): My bad! It's ok now. Sorry for the noise.
Author
Owner

@mibcat commented on GitHub (May 24, 2018):

What was the reason - how do you solve it
running into same problem ...

Create repo:
selection_003
Initial page with correct URL:
selection_004

created git repo is lowercase:
selection_005

@mibcat commented on GitHub (May 24, 2018): What was the reason - how do you solve it running into same problem ... Create repo: ![selection_003](https://user-images.githubusercontent.com/3083162/40495188-ea918570-5f76-11e8-92db-23233103f7e8.png) Initial page with correct URL: ![selection_004](https://user-images.githubusercontent.com/3083162/40495237-0c6dcfd2-5f77-11e8-8fe8-c6bc8d6fdaa7.png) created git repo is lowercase: ![selection_005](https://user-images.githubusercontent.com/3083162/40495253-18775848-5f77-11e8-92fc-2deb86ee80b9.png)
Author
Owner

@lunny commented on GitHub (May 24, 2018):

@mibcat duplicated with #4011, please discuss there.

@lunny commented on GitHub (May 24, 2018): @mibcat duplicated with #4011, please discuss there.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1656