-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds a custom lookup value regex for the Manifest viewset. #90
Conversation
Attached issue: https://pulp.plan.io/issues/6884 |
a3e89ff
to
634fefa
Compare
self.assertTrue(True) | ||
repository = repositories_api.list(name='foo/bar').results[0] | ||
distribution = distributions_api.list(name='foo/bar').results[0] | ||
self.addCleanup(repositories_api.delete, repository.pulp_href) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we cleanup those resources? subsequent re-pushes should work if repo/distribution is already present
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests usually clean up anything they create. This test creates a repository and distribution.
@@ -6,8 +6,6 @@ | |||
|
|||
registry = Registry() | |||
|
|||
app.add_routes([web.get('/pulp/container/', registry.serve_v2)]) | |||
app.add_routes([web.get('/pulp/container/_catalog', registry.list_repositories)]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dkliban i think we can also move tags/list to the urls.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i agree
This fixes a bug where manifest tags could not contain periods. fixes: #6884 https://pulp.plan.io/issues/6884
[noissue]
[noissue]
This fixes a bug where manifest tags could not contain periods.
fixes: #6884
https://pulp.plan.io/issues/6884