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

Various fixes #925

Merged
merged 3 commits into from
Sep 18, 2024
Merged

Various fixes #925

merged 3 commits into from
Sep 18, 2024

Commits on Sep 16, 2024

  1. Fix loading of tested distro repos for unit tests

    The NewTestedDefault() was returning an empty repositories list when
    used within unit tests. And unfortunately, this didn't trigger any error
    and no test was checking that the list is not empty, in addition to
    checking the error.
    
    Modify `Reporegistry.New()` to return error if no repos were loaded.
    
    Modify the `NewTestedDefault()` to consistently determine the path to
    load repositories from, regardless of the situation in which it is being
    called.
    
    Signed-off-by: Tomáš Hozza <[email protected]>
    thozza committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    e1879b6 View commit details
    Browse the repository at this point in the history
  2. Distro: fix TestDistro_ManifestFIPSWarning for RHEL-7

    Fix the test case to correctly skip RHEL-7 distros, after the loading
    of test distros has been fixed.
    
    Signed-off-by: Tomáš Hozza <[email protected]>
    thozza committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    ed97137 View commit details
    Browse the repository at this point in the history
  3. Distro: remove PackageSetsChains() from ImageType interface

    Remove the function from the ImageType interface, because it is not used
    anywhere and it just adds to the potential confusion.
    
    Signed-off-by: Tomáš Hozza <[email protected]>
    thozza committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    f034e96 View commit details
    Browse the repository at this point in the history