Skip to content

Remove redundant install_* methods#4792

Open
AthreyVinay wants to merge 2 commits intomainfrom
avinay-simplify-install-methods
Open

Remove redundant install_* methods#4792
AthreyVinay wants to merge 2 commits intomainfrom
avinay-simplify-install-methods

Conversation

@AthreyVinay
Copy link
Copy Markdown
Member

originated from a comment here: #4605 (comment). Good to align before artifacts call various install methods.

also, a slight functional change in RpmOstree.sort_packages() which now batches the presence check.

@AthreyVinay AthreyVinay added step | prepare Stuff related to the prepare step ci | full test Pull request is ready for the full test execution code | cleanup labels Apr 8, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request consolidates package installation methods into a single 'install' call, removes redundant container rebuilds in the 'bootc' manager, and optimizes 'rpm-ostree' presence checks. Feedback requires passing 'options' to 'super().install()' in 'rpm-ostree' to ensure settings are respected and including the installable name in 'apk' error messages for better clarity.

Comment thread tmt/package_managers/rpm_ostree.py Outdated
Comment thread tmt/package_managers/apk.py
Copy link
Copy Markdown
Member

@LecrisUT LecrisUT left a comment

Choose a reason for hiding this comment

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

Sure, why not.

@AthreyVinay AthreyVinay force-pushed the avinay-simplify-install-methods branch from 7adab73 to 0f5df8c Compare April 14, 2026 21:05
@github-project-automation github-project-automation bot moved this to backlog in planning Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci | full test Pull request is ready for the full test execution code | cleanup step | prepare Stuff related to the prepare step

Projects

Status: backlog

Development

Successfully merging this pull request may close these issues.

2 participants