Skip to content

Remove redundant install_* methods#4792

Merged
happz merged 6 commits into
mainfrom
avinay-simplify-install-methods
May 14, 2026
Merged

Remove redundant install_* methods#4792
happz merged 6 commits into
mainfrom
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
@AthreyVinay AthreyVinay moved this from backlog to review in planning Apr 24, 2026
@AthreyVinay AthreyVinay force-pushed the avinay-simplify-install-methods branch from 0f5df8c to 4812107 Compare April 24, 2026 12:38
Comment thread tmt/package_managers/bootc.py
Comment thread tmt/package_managers/bootc.py
Comment thread tmt/package_managers/rpm_ostree.py Outdated
@psss psss added this to the 1.73 milestone May 5, 2026
@AthreyVinay AthreyVinay force-pushed the avinay-simplify-install-methods branch from 6bad13e to 0f4f9a6 Compare May 6, 2026 08:54
@tcornell-bus tcornell-bus modified the milestones: 1.73, 1.74 May 7, 2026
@AthreyVinay AthreyVinay force-pushed the avinay-simplify-install-methods branch from ea4781d to ba5f599 Compare May 13, 2026 12:48
@psss psss requested review from happz and tcornell-bus May 14, 2026 13:55
@happz happz merged commit bcb5d7b into main May 14, 2026
34 checks passed
@github-project-automation github-project-automation Bot moved this from review to done in planning May 14, 2026
@happz happz deleted the avinay-simplify-install-methods branch May 14, 2026 20:07
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: done

Development

Successfully merging this pull request may close these issues.

6 participants