Add DNF support; YUM is legacy & deprecated in modern RPM-based distributions

Open
#339 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

Start by locating where the extension invokes yum and where RPM-based distributions are detected or handled. Trace the existing package-manager path and any related tests; done means the extension officially works with DNF, including DNF5, on the RPM-based distributions named in the issue without breaking existing support.

Written by the indexing model from the issue text.

Description

The project currently uses yum as the package manager for RPM-based systems. However, yum has been deprecated and replaced by dnf (DNF5 to be more precise) in modern distributions such as Azure Linux, Fedora, Red Hat Enterprise Linux, and CentOS Stream.

Although most distributions provide a compatibility symlink (YUM->DNF), it would be beneficial for the project to officially support DNF.

Dominant language
Python
Stars
12
Forks
20
Avg merge
3d 2h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/LinuxPatchExtension

All issues in Azure/LinuxPatchExtension

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.