プロジェクト

全般

プロフィール

Vote #71990

完了

Repository Identifier should be frozen

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
47
issue_org_id:
11109
author_id:
347
assigned_to_id:
1
comments:
10
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.


journals

--------------------------------------------------------------------------------
Is that a +1? :-)
--------------------------------------------------------------------------------
It's my +1, yes =)
--------------------------------------------------------------------------------
Is it possible 'frozen' to be configurable in a checkbox at project or at Redmine level?
--------------------------------------------------------------------------------
Ivan Cenov wrote:
> Is it possible 'frozen' to be configurable in a checkbox at project or at Redmine level?

Why so?
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
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.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Patch applied with slight changes in r10081.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン2.1.0_47 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0