Bug #5190
closed
[Workbench] Tell admins not to put hyphens in repository names
Added by Peter Amstutz almost 10 years ago.
Updated almost 10 years ago.
Assigned To:
Radhika Chippada
Estimated time:
(Total: 0.00 h)
Description
Something removes dashes from repository names before creating the actual repository.
However, nobody told the API server that, which can result in a mismatch between the API server record (with dashes) and actual repository as managed by gitolite (without dashes).
The API server should validate the name to ensure that only valid repository names can be set.
Possibly related to #5192, as part of validation we may choose to disallow renaming one a name has been set.
- Subject changed from [API] Dashes are removed from repository names to [API] Repository names not validated properly
- Description updated (diff)
- Description updated (diff)
- Subject changed from [API] Repository names not validated properly to [API] Tell admins not to put hyphens in repository names
- Story points set to 0.5
- Story points deleted (
0.5)
- Target version changed from Bug Triage to 2015-03-11 sprint
- Category set to Workbench
- Status changed from New to In Progress
- Assigned To set to Radhika Chippada
The description says
"The API server should validate the name to ensure that only valid repository names can be set."
However the branch doesn't do that.
Alternately (if the story was de facto updated without updating the story description) the text at least needs to be stronger: "Warning: do not use hyphens in the repository name as they will be stripped".
- Subject changed from [API] Tell admins not to put hyphens in repository names to [Workbench] Tell admins not to put hyphens in repository names
Yes, we decided to just inform the admin users to not use hyphens and not really address the actual gitolite issue. Thanks.
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|commit:cab38660eec30ff5d4e023f5d607d783ffd91785.
Also available in: Atom
PDF