[pacman-dev] [PATCH 00/11] Streamline syntax of contrib scripts

Gordian Edenhofer gordian.edenhofer at gmail.com
Thu Sep 29 13:30:30 UTC 2016


On Thu, 2016-09-29 at 09:04 -0400, Dave Reisner wrote:
> On Thu, Sep 29, 2016 at 12:23:00PM +0200, Gordian Edenhofer wrote:
> > 
> > Reorganize scripts in contrib to fit the syntax and style of
> > makepkg.
> > Unify multiple different approaches to e.g. write a usage function,
> > handle
> > options and differences in naming schemas for options.
> 
> Again, you're still putting flag names in the translatable strings.
> This
> will only ever end badly.

It has worked great for makepkg, see the git repo for dozens of
examples [1].

[1] https://git.archlinux.org/pacman.git/tree/scripts/makepkg.sh.in#n11
66
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20160929/b2c118cc/attachment.asc>


More information about the pacman-dev mailing list