Skip to content

Conversation

lucaspar
Copy link
Contributor

@lucaspar lucaspar commented Aug 31, 2024

What does this PR do

  • Adds a containers.runtime option to the TOML configuration, letting the user select what used to be an implicit choice.
  • Defaults to docker, as it's the most commonly used runtime.

Open to suggestions.

Standards checklist

  • The PR title is descriptive.
  • I have read CONTRIBUTING.md
  • Optional: I have tested the code myself

@lucaspar lucaspar marked this pull request as ready for review August 31, 2024 01:37
Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

LGTM, but this is a breaking change when a user has both Podman and Docker installed, before this PR, Podman will be used, now the default option becomes Docker. We need to document this in BREAKINGCHANGES_dev.md.

@lucaspar
Copy link
Contributor Author

Right - this is actually my situation and what motivated the change. Most of my containers are in fact under docker and they couldn't be updated with topgrade before. I'll document it soon.

Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

Thanks!

@SteveLauC SteveLauC merged commit 1958fe1 into topgrade-rs:main Sep 1, 2024
11 checks passed
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.

2 participants