Project

General

Profile

Actions

Defect #6253

closed

Allowing dot in project identifier

Added by Ehsan Afzali about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-08-31
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

I wanted to know why is dot restricted in project identifier field. Here in our company we use dot syntax for our projects identification and repository names and because your auto repository creation uses project identifier as repository name, it becomes an issue for us.


Related issues

Related to Redmine - Feature #7493: Allowing underline "_" in project identifierClosed2011-01-30

Actions
Related to Redmine - Feature #1363: Allow underscores in project identifiersClosedJean-Philippe Lang2008-06-03

Actions
Actions #1

Updated by Eric Davis about 14 years ago

I think dot should be allowed. Anyone have a reason why allowing dot could be bad?

Actions #2

Updated by Ehsan Afzali about 14 years ago

  • Assignee set to Eric Davis

I think no one has any reason! Could please handle this Eric? theres no activies on this issue about a month.

Actions #3

Updated by Felix Schäfer about 14 years ago

Eric Davis wrote:

Anyone have a reason why allowing dot could be bad?

I can think of nothing.

Actions #4

Updated by Eric Davis about 14 years ago

  • Status changed from New to Closed
  • Assignee deleted (Eric Davis)
  • Resolution set to Wont fix

Sorry, it turns out this won't work due to the routing. Example, identifier - "test.123" gets this error:

ActionController::RoutingError (No route matches "/projects/settings/test.123" with {:method=>:get}):

123 is being used as the format option, which is invalid.

Actions #5

Updated by Toshi MARUYAMA about 14 years ago

Please see a following link.
Getting around dots in “pretty urls”
http://stackoverflow.com/questions/1383950
Redmine use it at source:tags/1.0.2/config/routes.rb#L261

Actions #6

Updated by Ehsan Afzali about 14 years ago

  • Status changed from Closed to Reopened
  • Assignee set to Eric Davis

Toshi MARUYAMA wrote:

Please see a following link.
Getting around dots in “pretty urls”
http://stackoverflow.com/questions/1383950
Redmine use it at source:tags/1.0.2/config/routes.rb#L261

This how you handle the repository explorer because the folders in repository may contains dot

Actions #7

Updated by Eric Davis about 14 years ago

  • Status changed from Reopened to Closed
  • Assignee deleted (Eric Davis)

Ehsan Afzali wrote:

This how you handle the repository explorer because the folders in repository may contains dot

The repository view is different than the projects because projects uses the format option as part of it's rest API (format = xml for "project.xml). If someone wants to submit a patch for this that includes full integration tests for browsing projects with a dot identifier (including different formats for the REST API), then we can see about including it.

Actions

Also available in: Atom PDF