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 support for delete with args, and republish_repositories endpoints #1209

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

sambible
Copy link
Contributor

Adding support for one new endpoint, republish_repositories, as well as adding in a newly added field, is_container_push to support the podman push feature for 6.16.

Additionally, this adds a version of the delete endpoint for a repository that respects arguments passed to it. There certainly could be a more elegant way to do this, perhaps reworking the Delete mixin entirely to support arguments, but as far as I'm aware this isn't something that is required in the vast case of all entities, so I decided to make a more local change, and just add a separate endpoint for repositories.

This is in support of this robottelo PR: SatelliteQE/robottelo#14940

@sambible sambible added No-CherryPick PR doesnt need CherryPick to previous branches Stream labels Jul 30, 2024
@sambible sambible requested review from JacobCallahan and a team July 30, 2024 19:08
@sambible sambible self-assigned this Jul 30, 2024
tests/test_entities.py Outdated Show resolved Hide resolved
vsedmik
vsedmik previously approved these changes Jul 31, 2024
Copy link
Contributor

@vsedmik vsedmik left a comment

Choose a reason for hiding this comment

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

LGTM

nailgun/entities.py Outdated Show resolved Hide resolved
vijaysawant
vijaysawant previously approved these changes Aug 1, 2024
Copy link
Contributor

@vijaysawant vijaysawant left a comment

Choose a reason for hiding this comment

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

Small change require, Ack.

Co-authored-by: vijay sawant <visawant@redhat.com>
@sambible sambible dismissed stale reviews from vijaysawant and vsedmik via aeecf5d August 1, 2024 21:10
@sambible sambible dismissed JacobCallahan’s stale review August 7, 2024 15:06

Issue has been addressed.

Copy link
Contributor

@damoore044 damoore044 left a comment

Choose a reason for hiding this comment

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

ack comments addressed, robo prt passed and merged

@sambible sambible merged commit 7f7053e into SatelliteQE:master Aug 7, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No-CherryPick PR doesnt need CherryPick to previous branches Stream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants