Skip to content
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

Add domain support #673

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Add domain support #673

merged 1 commit into from
Jun 19, 2024

Conversation

gerrod3
Copy link
Contributor

@gerrod3 gerrod3 commented May 30, 2024

fixes: #668

RBAC support is also coming, but this was getting big so I am going to break it up into two PRs to hopefully make reviewing easier.

TODO:

- [x] Fix failing tests
- [x] Add docs

@gerrod3 gerrod3 force-pushed the domains branch 5 times, most recently from 80e4255 to 3355dad Compare June 6, 2024 05:23
@gerrod3 gerrod3 force-pushed the domains branch 3 times, most recently from 2ca2677 to 97519bf Compare June 10, 2024 14:17
@gerrod3 gerrod3 marked this pull request as ready for review June 10, 2024 14:26
@@ -1,4 +1,4 @@
pulpcore>=3.49.0,<3.55
pulpcore>=3.49.0,<3.70.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a bit dangerous and I think we haven't yet officially decided to go with 3.70.
Given the bindings discussion, we might actually discuss a shorter window this time.

Comment on lines -308 to +323
class UploadView(ViewSet, PackageUploadMixin):
class UploadView(PackageUploadMixin, ViewSet):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like an unrelated change. Is it where the 200 -> 202 in the tests come from?
Are these unrelated bugfixes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is me fixing the inheritance of the classes the to be in the correct order. The 200 -> 202 change comes from using the pulpcore OperationPostponedResponse instead of a normal response. It seems that twine doesn't mind whether it receives a 200 or 202.

@@ -10,3 +10,4 @@ class PulpPythonPluginAppConfig(PulpPluginAppConfig):
label = "python"
version = "3.12.0.dev"
python_package_name = "pulp-python"
domain_compatible = True
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, yeah!

@gerrod3 gerrod3 force-pushed the domains branch 2 times, most recently from 308aa94 to 128434b Compare June 12, 2024 13:32
@gerrod3 gerrod3 merged commit 5f58544 into pulp:main Jun 19, 2024
16 checks passed
@gerrod3 gerrod3 deleted the domains branch June 19, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add domain support
3 participants