Feature #11109
closedRepository Identifier should be frozen
0%
Description
I'd like to suggest/discuss the idea of "freezing" the repository identifier just like it's done for the project identifier, i.e. after a project has been created, the identifier cannot be changed anymore.
From what I understand in the comments to #779, the identifier is used in URLs and for wiki links. Both would benefit from the identifier being frozen like for projects as this would prevent users from inadvertently breaking existing links.
What do you think? Would be happy to provide a patch if you share my opinion.
Files
Updated by Etienne Massip over 12 years ago
- Target version set to Candidate for next major release
Updated by Ivan Cenov over 12 years ago
Is it possible 'frozen' to be configurable in a checkbox at project or at Redmine level?
Updated by Etienne Massip over 12 years ago
Ivan Cenov wrote:
Is it possible 'frozen' to be configurable in a checkbox at project or at Redmine level?
Why so?
Updated by Jan from Planio www.plan.io over 12 years ago
I don't think it would make sense to make this a configurable setting. In my point of view, changing identifiers after a repo has been created can lead to broken links and confusion among users. I don't see a benefit of having changeable identifiers, so I'd say no configuration option.
Updated by Jan from Planio www.plan.io over 12 years ago
Here's a patch against current trunk (r9879). Most of it is taken directly from the corresponding code for project identifiers. What do you think?
Updated by Etienne Massip over 12 years ago
Jan from Planio www.plan.io wrote:
Here's a patch against current trunk (r9879). Most of it is taken directly from the corresponding code for project identifiers. What do you think?
Looks fine to me.
Updated by Jean-Philippe Lang over 12 years ago
- Target version changed from Candidate for next major release to 2.1.0
Updated by Jean-Philippe Lang over 12 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Patch applied with slight changes in r10081.