[Dev] [RFC] modular pacman.conf and makepkg.conf by default
megver83 at hyperbola.info
Sat Dec 16 21:17:12 GMT 2017
El 15/12/17 a las 23:26, Luke Shumaker escribió:
> What do you guys think about modifying the default pacman.conf to have
> this at the end:
> Include = /etc/pacman.d/*.conf
Sure, why not. In that way anyone can set up its custom repos in
separated files rather than in pacman.conf itself.
> and the default makepkg.conf to have this at the end:
> for file in /etc/makepkg.d/*.conf; do
> if [[ -f "$file" ]]; then
> source "$file"
> unset file
I imagine that then pacman should come with an empty /etc/makepkg.d dir?
Because I don't see it in my /etc dir.
> This would make it easier for configuration packages (like Holo
> packages or <https://config.parabola.nu/> /
> <https://git.parabola.nu/server/config.git/>) to add bits to their
> - As an admin of several Parabola-running servers, including the
> parabola.nu servers, that is appealing to me.
> - As the developer of a package (libretools) that has to modify the
> default makepkg.conf, that is appealing to me.
> - As someone involved in Holo, which works best with modular config
> files, that is appealing to me.
> One of the few things that I like more than writing code is deleting
> code. And it would let me phase-out and delete the
> `librefetch-install` program.
Yea, deleting code rocks! specially when it's crappy and badly written :)
> On one hand, we don't like unnecessarily modifying the default
> configuration files from upstream; but we're patching makepkg anyway;
> and we are the single source of truth for the default pacman & makepkg
> configs on Parabola.
SIP: megver83 at sip.linphone.org
XMPP: megver83 at jabjab.de
Tox: megver83 at toxme.io
GNUSocial: @megver82 at quitter.cl
Diaspora*: megver83 at diasp.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 520 bytes
Desc: OpenPGP digital signature
More information about the Dev