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

Dave Reisner d at falconindy.com
Thu Sep 29 13:04:51 UTC 2016


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.

> Gordian Edenhofer (11):
>   checkupdates: streamline usage function
>   paccache: streamline usage function
>   pacdiff: streamline usage function
>   pacdiff: proper option handling
>   pacdiff: streamline option syntax with makepkg
>   paclist: streamline usage function
>   paclog-pkglist: streamline usage function
>   pacscripts: streamline usage function
>   updpkgsums: streamline usage function
>   rankmirrors: streamline usage function
>   rankmirrors: proper option handling
> 
>  contrib/checkupdates.sh.in   |   9 +--
>  contrib/paccache.sh.in       |  61 ++++++++++----------
>  contrib/pacdiff.sh.in        |  76 +++++++++++++++----------
>  contrib/paclist.sh.in        |  10 ++--
>  contrib/paclog-pkglist.sh.in |  12 ++--
>  contrib/pacscripts.sh.in     |  18 +++---
>  contrib/rankmirrors.sh.in    | 132 +++++++++++++++++++++----------------------
>  contrib/updpkgsums.sh.in     |  21 ++++---
>  8 files changed, 179 insertions(+), 160 deletions(-)
> 
> --
> 2.10.0


More information about the pacman-dev mailing list