1. Marcin Kuzminski
  2. RhodeCode
  3. Issues

Issues

Issue #487 resolved

Spaces in name are replaced with dash/hyphen

Brandon Jones
created an issue

Is this intended functionality? Last night, for whatever reason, all my repositories had the spaces in their names replaced with a dash or hyphen. This is fine if you are using the ID, however, some weren't and it caused a bit of confusion.

Comments (5)

  1. Marcin Kuzminski repo owner

    Yes it's intended. The repositories names are normalized, cannot have spaces,special chars in the names. It's pretty much the standard in github/bitbucket/etc. In RhodeCode there's no distinction between the display name, and actual name in repository.

    sorry, but I don't understand what you mean here :) "This is fine if you are using the ID, however, some weren't and it caused a bit of confusion."

  2. Brandon Jones reporter

    When I created the repositories initially, it allowed for spaces in the name. However, overnight it seems as if it had replaced these spaces with dashes. This caused a 404 Error to pop when anyone tried pushing to their repository the next day, as they were not pushing via ID.

    Not a big issue then really, if this is intended functionality, just wasn't aware of it until now (been using it for a couple months).

    Thanks!

  3. Brandon Jones reporter

    (Reply via bjon...@gmail.com):

    In order to keep everything at our company standardized, I created a program that will let them create repositories based on certain inputs (such as customer name) and will automatically, via SQL to rhodecode.db, create the repository for them. The reason for this is so users can not manually add repositories, and that they are inserted/sorted into their correct place. I believe this is how I added repositories with spaces in them. However, I will modify my code to add the spaces before I insert into the SQL.

    On Fri, Jun 22, 2012 at 10:03 AM, Marcin Kuzminski < issues-reply@bitbucket.org> wrote:

  4. Log in to comment