Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rpm-software-management/dnf
base: 4.19.2
Choose a base ref
...
head repository: rpm-software-management/dnf
compare: master
Choose a head ref
  • 15 commits
  • 18 files changed
  • 6 contributors

Commits on Apr 3, 2024

  1. man: Prepare pages for dnf5 switch

    jan-kolarik authored and inknos committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    cb464d4 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Do not add user site-packages directory to sys.path (RHEL-26646)

    Adds `-s` to shebang lines.
    The `-s` flag ensures that the user’s Python packages (e.g. installed by
    pip install --user) don’t interfere with the RPM installed software.
    According to Fedora Python Packaging Guidelines, the flag is added using
    `%py3_shebang_fix` macro.
    
    Note:
    DNF supports plugins. There is a risk that the change will break
    a custom plugins that require something from PIP.
    Therefore, the change is only in the .spec file and is only allowed
    for Fedora >= 41 and RHEL >= 10.
    jrohel authored and ppisar committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    caa17e3 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. remove --duplicates: when no duplicates, exit with 0 (RHEL-6424)

    If no duplicates are present, then the command succesfully removed all
    duplicates and should exit with 0 and write the message to stdout
    instead of stderr.
    
    Resolves: https://issues.redhat.com/browse/RHEL-6424
    pkratoch authored and m-blaha committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    720338f View commit details
    Browse the repository at this point in the history
  2. remove --oldinstallonly: when no old installonly packages, exit with 0

    If no old installonly packages are present, then the command succesfully
    removed all of them and should exit with 0 and write the message to
    stdout instead of stderr.
    pkratoch authored and m-blaha committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    87eb5a7 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. repoquery: Fix loading filelists when -f is used (RhBug:2276012)

    When `-f` option is used, the argument is stored in the `opts.file` instead of the `opts.key`. We need to load filelists also in this case.
    
    = changelog =
    msg: repoquery: Fix loading filelists when -f is used
    type: bugfix
    resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2276012
    jan-kolarik authored and m-blaha committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    24a461b View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Configuration menu
    Copy the full SHA
    bc67d0d View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Release 4.20.0

    jan-kolarik committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    e3cb438 View commit details
    Browse the repository at this point in the history
  2. Add detection for ostree-based systems and warn users about losing ch…

    …anges
    
    On ostree-based systems, users can use dnf to customize the
    environment but those changes will be lost at the next ostree-based
    image update.  If you want to retain changes between ostree-updates
    you need to make use of rpm-ostree right now.
    
    Signed-off-by: David Cantrell <[email protected]>
    dcantrell authored and jan-kolarik committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    5c050ba View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Fix: No traceback when Python interpreter is running with -P

    There was code in dnf and dnf-automatic to support running them from
    the git tree. This was a developer-oriented hack that should not exist
    in production code. It assumed that when running an installed dnf,
    the `sys.path[0]` contains `/usr/bin`. If not, it overwrites
    the contents of `sys.path[0]`.
    
    This is a problem when running the Python interpreter with the `-P`
    parameter (meaning: Don't automatically prepend a potentially unsafe
    path to sys.path such as the current directory, the script's directory
    or an empty string.)
    
    The fix removes this developer-oriented hack. Developers should instead
    set PYTHONPATH in the environment.
    jrohel authored and ppisar committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    c8dbe6e View commit details
    Browse the repository at this point in the history
  2. Allow %py3_shebang_fix macro to add -P argument to shebang lines

    There was a bug in dnf and dnf-automatic that caused traceback
    when running the Python interpreter with the `-P` argument.
    Since the bug has been fixed, the `-P` argument can be used.
    jrohel authored and ppisar committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    22fc33c View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. man: Improve upgrade-minimal command docs (RHEL-6417)

    Making the man pages for the `upgrade-minimal` command clearer about how packages with advisories are upgraded.
    
    Resolves: https://issues.redhat.com/browse/RHEL-6417
    jan-kolarik authored and j-mracek committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    4a2b425 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Limit queries to nevra forms when provided by command

    Command `dnf install-n <provide>` does not install only according
    to package mame but still search in provides. The patch limits
    searrch only to NEVRA forms for install, remove, autoremove,
    and repoquery commands.
    
    Resolves partially: https://issues.redhat.com/browse/RHEL-5747
    j-mracek authored and m-blaha committed May 23, 2024
    Configuration menu
    Copy the full SHA
    b3b9b3a View commit details
    Browse the repository at this point in the history
  2. [doc] Remove provide of spec definition for repoquery command

    Repoquery command never matched spec with provides.
    j-mracek authored and m-blaha committed May 23, 2024
    Configuration menu
    Copy the full SHA
    f211e1a View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Update the man page entry for the countme option

    Make it a bit more explanatory, format the age buckets as a table and
    reflect the changes from the libdnf PR #1662.
    dmnks authored and jan-kolarik committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    a8c77bb View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Drop collect file for ABRT

    It looks like that it is not required anymore
    
    Resolve: https://issues.redhat.com/browse/RHEL-40382
    j-mracek authored and ppisar committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    78e2838 View commit details
    Browse the repository at this point in the history