Skip to content

Conversation

StefanNienhuis
Copy link

This PR implements a new libpod REST API endpoint providing the autoupdate functionality, as it is included in the podman CLI. It accepts the same options as the CLI version. The end goal of this is to allow applications, such as cockpit-podman, to perform container updates in a similar manner to what is possible with the CLI.

This PR also modifies the swagger-check script. Since the endpoint is /libpod/autoupdate, the linter expected the response to be named autoupdateListResponse. The name autoupdateResponse made more sense in my mind so I added an exception for this in the swagger-check script. If this is not intended, I can remove it and use the suggested name instead.

Does this PR introduce a user-facing change?

Added auto update endpoint to the REST API

Copy link
Contributor

openshift-ci bot commented Sep 9, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: StefanNienhuis
Once this PR has been reviewed and has the lgtm label, please assign mtrmac for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions github-actions bot added the kind/api-change Change to remote API; merits scrutiny label Sep 9, 2025
@StefanNienhuis
Copy link
Author

Regarding tests, this will require running a container from a systemd unit and performing tests on the api. Is this currently supported in the test system, and if so, can someone with more knowledge of the project point me in the right direction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/api-change Change to remote API; merits scrutiny release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant