Repository display_name field should not be set automatically by API
If you create a repository without a display_name, our API populates it with the repo_id. However, if you change the repo_id, the display_name does not change, resulting in potentially surprising behavior. If display names are necessary, we should make them a required field that should be explicitly set. This behavior is documented in the CLI, but not in the API docs.
If we want to maintain the current behavior of the CLI, setting the display_name should happen there.
#2 Updated by bmbouter almost 3 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.