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

Add error messages for url helper calls #3041

Merged
merged 1 commit into from
Jun 14, 2024

Commits on Jun 14, 2024

  1. Add error messages for url helper calls

    Rpm allows URLs as cli parameters. The files are then automatically
    downloaded with %_urlhelper which defaults to curl(1). So far failures
    have been ignored right away and error messages are generated later when
    the file was not found on disk.
    
    Issue a meaningful error message when the help program is failing or missing
    completely. This allows not to ship curl with rpm while still giving the
    user a chance to find out what is going on. This is not quite ideal as
    the operation continues and creates a second error message later on, but
    as good as it gets without redesigning the whole code.
    
    Related: rhbz#2216754
    Resolves: rpm-software-management#2683
    ffesti committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    7d80250 View commit details
    Browse the repository at this point in the history