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

dnfjson: enable loading of optional metadata when needed #702

Merged
merged 2 commits into from
May 29, 2024

Commits on May 21, 2024

  1. dnfjson: add OptionalMetadata property to depsolve args

    New property on the arguments object that controls the types of metadata
    to download for repositories and use when depsolving.
    
    See osbuild/osbuild#1775
    achilleas-k committed May 21, 2024
    Configuration menu
    Copy the full SHA
    edee43c View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. dnfjson: enable filelists for older distro versions

    Enable filelists in the optional metadata for EL7, EL8, EL9, and Fedora
    39.
    
    When running osbuild-depsolve-dnf with the libdnf version that's
    included in these distro versions, this option will have no effect since
    it is enabled by default.  However, when depsolving packages for these
    distro versions with newer versions of libdnf, the filelists are
    disabled and can cause issues with packages that declare dependencies on
    filepaths.
    
    The cutoff point is a little fuzzy for CentOS and Fedora.  Depsolving
    all our test manifests for Fedora 39 and CentOS Stream 9 without
    filelists works, but since the packaging guidelines of not depending on
    filepaths went into effect in EL10 and Fedora 40, it's possible there
    are packages in F39 and C9S that don't conform yet, so it's probably
    safer to keep filelists enabled for these distro versions.
    achilleas-k committed May 23, 2024
    Configuration menu
    Copy the full SHA
    7fa242f View commit details
    Browse the repository at this point in the history