Some GitLab.com Registry names are incorrect, leading to incorrect paths
Original reported in https://gitlab.zendesk.com/agent/tickets/73542
For the reporter, if you visit the Registry page, the shown container repository path is group/project/group/project
. When I inspect the database object I see that the name
is group/project
. When path
is called, it concatenates the project path with the registry repository name, which is why we get the duplicate path (and incorrect path).
When I look at registries that are working, the name is generally blank and the path ends up being group/project
only.
Some on GitLab.com have a name of image
which yields a path of group/project/image
and that seems to work fine.
In a quick sample, it looks like quite a few GitLab.com registries have the incorrect name. I'm guessing this happened in 9.1 because it seems a lot of registry models and classes were moved around and changed.
- How did the names become incorrect?
- How can we fix them?