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

Fix inability of rpm-ostree to install multiple packages #2887

Merged
merged 2 commits into from
May 2, 2024

Conversation

happz
Copy link
Collaborator

@happz happz commented Apr 25, 2024

That's 3 lines removed. The rest of 800+ lines of the patch consist of various improvements to related tests:

  • new unit test, uses package managers directly to install multiple packages,
  • prepare/install test refactored and extended to cover more distros when testing the basic operations, through parametrization,
  • added new custom images to make tests cover "ostree" scenario
  • plenty of TODO comments that should be resolved later.

Pull Request Checklist

  • implement the feature
  • extend the test coverage

@happz happz added test coverage Improvements or additions to test coverage of tmt itself area | package managers Changes related to implementations of package managers labels Apr 25, 2024
@happz happz added this to the 1.33 milestone Apr 25, 2024
@happz happz added the ci | full test Pull request is ready for the full test execution label Apr 25, 2024
@happz happz force-pushed the rpm-ostree-install-multiple-and-the-fallout branch 2 times, most recently from 20a594f to f9a1b0d Compare April 29, 2024 18:05
@happz happz added the bug Something isn't working label Apr 30, 2024
@happz happz marked this pull request as ready for review April 30, 2024 06:48
@happz happz changed the base branch from main to fix-prepare-install-apk April 30, 2024 12:09
@happz happz force-pushed the rpm-ostree-install-multiple-and-the-fallout branch from f9a1b0d to 944feff Compare April 30, 2024 12:10
@lukaszachy
Copy link
Collaborator

So this PR now depends on #2828, right?

@happz
Copy link
Collaborator Author

happz commented Apr 30, 2024

So this PR now depends on #2828, right?

Correct, and adds Alpine among the container images to test prepare/install against.

@happz happz force-pushed the rpm-ostree-install-multiple-and-the-fallout branch from 944feff to c97b9b8 Compare April 30, 2024 14:50
Copy link
Collaborator

@thrix thrix left a comment

Choose a reason for hiding this comment

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

Just nitpicks

Base automatically changed from fix-prepare-install-apk to main May 1, 2024 09:07
That's 3 lines removed. The rest of 800+ lines of the patch consist of
various improvements to related tests:

* new unit test, uses package managers directly to install multiple
  packages,
* `prepare/install` test refactored and extended to cover more distros
  when testing the basic operations, through parametrization,
* added new custom images to make tests cover "ostree" scenario
* plenty of `TODO` comments that should be resolved later.
@happz happz force-pushed the rpm-ostree-install-multiple-and-the-fallout branch from ea82cf1 to 97a3cb4 Compare May 1, 2024 09:16
Copy link
Collaborator

@psss psss left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for substantially improving the test coverage! Just two (non-blocking) thoughts.

tests/prepare/install/main.fmf Show resolved Hide resolved
tests/prepare/install/data/empty.fmf Show resolved Hide resolved
@psss psss merged commit 1383183 into main May 2, 2024
20 checks passed
@psss psss deleted the rpm-ostree-install-multiple-and-the-fallout branch May 2, 2024 13:27
@psss psss self-assigned this May 2, 2024
@psss psss added the priority | must high priority, must be included in the next release label May 2, 2024
The-Mule pushed a commit to The-Mule/tmt that referenced this pull request Oct 14, 2024
That's 3 lines removed. The rest of 800+ lines of the patch consist of
various improvements to related tests:

* new unit test, uses package managers directly to install multiple
  packages,
* `prepare/install` test refactored and extended to cover more distros
  when testing the basic operations, through parametrization,
* added new custom images to make tests cover "ostree" scenario
* plenty of `TODO` comments that should be resolved later.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area | package managers Changes related to implementations of package managers bug Something isn't working ci | full test Pull request is ready for the full test execution priority | must high priority, must be included in the next release test coverage Improvements or additions to test coverage of tmt itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants