Skip to content

Add domain support - #673

Merged
gerrod3 merged 1 commit into
pulp:mainfrom
gerrod3:domains
Jun 19, 2024
Merged

Add domain support#673
gerrod3 merged 1 commit into
pulp:mainfrom
gerrod3:domains

Conversation

@gerrod3

@gerrod3 gerrod3 commented May 30, 2024

Copy link
Copy Markdown
Contributor

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
Comment thread requirements.txt
@@ -1,4 +1,4 @@
pulpcore>=3.49.0,<3.55
pulpcore>=3.49.0,<3.70.0

Copy link
Copy Markdown
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 thread pulp_python/app/utils.py Outdated
Comment on lines -308 to +323
class UploadView(ViewSet, PackageUploadMixin):
class UploadView(PackageUploadMixin, ViewSet):

Copy link
Copy Markdown
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
Copy Markdown
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.

label = "python"
version = "3.12.0.dev"
python_package_name = "pulp-python"
domain_compatible = True

Copy link
Copy Markdown
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
Comment thread pulp_python/app/serializers.py
@gerrod3
gerrod3 merged commit 5f58544 into pulp:main Jun 19, 2024
@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