archlinux-downgrade / downgrade

Downgrade packages in Arch Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parse `pacman.conf` using `pacman-conf`

atreyasha opened this issue Β· comments

πŸš€ Feature Request

Checklist

  • No duplicate issues/PRs
  • Are you running the latest downgrade release from the AUR?

Background

As mentioned in #168 (comment), arguments related to /etc/pacman.conf are currently parsed manually using tools such as grep and sed. This places the responsibility for correctly parsing these options solely on downgrade.

Proposed feature

We could use the official pacman-conf command for parsing/interpreting/resolving arguments in /etc/pacman.conf in a reliable manner.