[pacman-dev] [PATCH v5 1/2] makepkg: move config loading into libmakepkg

Allan McRae allan at archlinux.org
Tue May 28 01:28:43 UTC 2019


On 23/5/19 12:44 am, Eli Schwartz wrote:
> When scripting/automating around makepkg, it is sometimes desirable to
> know how makepkg will be configured to operate. One example is the
> archlinux devtools, which must forward select makepkg.conf variables
> into a build chroot (for example PACKAGER) or use those variables itself
> (for example {SRC,PKG,LOG}DEST).
> 
> The configuration file can be in up to 3 places, and should be capable
> of being overridden via environment variables. It is sufficiently
> complex to represent distinct functionality, and sufficiently useful to
> merit easy accessibility in other scripts, therefore, let us move it
> into a publicly exposed utility library.
> 
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---
> 

Good.

A


More information about the pacman-dev mailing list