[pacman-dev] [PATCH] makepkg: Add '--nocompress' syntactic sugar
j.witteveen at gmail.com
Sat May 18 12:01:58 UTC 2019
On Sat, May 18, 2019 at 1:54 PM Allan McRae <allan at archlinux.org> wrote:
> On 18/5/19 9:34 pm, Jouke Witteveen wrote:
> > Compression is a waste of time when building a package for local
> > installation. It could already be suppressed easily, but not yet
> > via an argument to makepkg.
> As it could already be suppressed easily (makepkg.conf and with an
> environmental variable), we don't need an option.
makepkg.conf is of course unsuitable for one-off package building
without compression. The environmental variable has different
ergonomics and discoverability.
With the proposed patch, the semantics are simplified: Use
--nocompress if you want no compression, versus remembering to use
PKGEXT and what value to set it too. The patch pulls this logic inside
makepkg and adds it to the documentation (manpage, bash-completion,
and --help). I'd say there is some definite value in the few extra
lines this adds.
Anyway, thanks for your quick response!
More information about the pacman-dev