On 14/01/18 02:49, Andrew Gregory wrote:
Parsing pacman.conf is so hard that even our own scripts don't do it correctly. pacman-conf is a dedicated utility scripts can use to correctly parse values from pacman.conf. This is a conversion of an earlier version of pacconf from pacutils that has been relicensed and renamed to avoid a file conflict. I make no promises that I've correctly adjusted the automake configuration for this type of build, but it works for me.
Thanks. I have had a quick look at these and I am very happy! My quick scan of the automake changes did not flag any issue, but I will do so in more detail before I commit the changes. (Reminder to myslef: make sure "make distcheck" does what it is supposed to.) We will need a man page (despite the --help output being complete). This will not prevent these patches being committed, but it will be a blocker for release. I assume Andrew has other things in the code base to look at, so this appears to be a "patches welcome" situation. Volunteers? Cheers, Allan