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

Improvements and fixes for storing transactions #1585

Merged
merged 5 commits into from
Jul 17, 2024

Commits on Jul 16, 2024

  1. Store to the db only requested package types for group

    Previously it stored all package types present in the group but we want
    only the ones the user requested.
    This matches dnf4 behavior.
    kontura committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    e465b13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac93ee2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df7970f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    25655e3 View commit details
    Browse the repository at this point in the history
  5. Use the same nevra format for history and regular transactions

    When serializing a history transaction package nevra use the same format
    that is used when serializing base transaction.
    
    It is also described in a comment: https://github.com/rpm-software-management/dnf5/blob/main/libdnf5/transaction/transaction_sr.hpp#L62
    kontura committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    f5c356e View commit details
    Browse the repository at this point in the history