Project

General

Profile

Actions

Bug #5190

closed

[Workbench] Tell admins not to put hyphens in repository names

Added by Peter Amstutz about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
Workbench
Target version:
Story points:
0.5

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.


Subtasks 1 (0 open1 closed)

Task #5424: Review branch: 5190-no-hyphens-in-repo-namesResolvedRadhika Chippada03/08/2015Actions

Related issues

Related to Arvados - Bug #5192: [API] Disallow changing the name of a repository record (by non-admin users)ResolvedRadhika ChippadaActions
Actions #1

Updated by Peter Amstutz about 9 years ago

  • Subject changed from [API] Dashes are removed from repository names to [API] Repository names not validated properly
  • Description updated (diff)
Actions #2

Updated by Peter Amstutz about 9 years ago

  • Description updated (diff)
Actions #3

Updated by Tom Clegg about 9 years ago

  • 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
Actions #4

Updated by Tom Clegg about 9 years ago

  • Story points deleted (0.5)
Actions #5

Updated by Tom Clegg about 9 years ago

  • Target version changed from Bug Triage to 2015-03-11 sprint
Actions #6

Updated by Radhika Chippada about 9 years ago

  • Category set to Workbench
  • Status changed from New to In Progress
  • Assigned To set to Radhika Chippada
Actions #7

Updated by Peter Amstutz about 9 years ago

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.

Actions #8

Updated by Peter Amstutz about 9 years ago

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".

Actions #9

Updated by Radhika Chippada about 9 years ago

  • 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.

Actions #10

Updated by Radhika Chippada about 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:cab38660eec30ff5d4e023f5d607d783ffd91785.

Actions #11

Updated by Ward Vandewege about 9 years ago

  • Story points set to 0.5
Actions

Also available in: Atom PDF