aurweb/git-interface
Lukas Fleischer d0be66015a git-update: Improve error message on invalid pkgbase
When the package base does not match the repository name, we currently
show an error message that only mentions the package base name:

    error: invalid pkgbase: yate-qt4

To the end user this sounds like the package base name is malformed
itself (and we show exactly the same error message when it contains
invalid characters, indeed). Clarify that there is a name mismatch by
also printing the expected value:

    error: invalid pkgbase: yate-qt4, expected: yate4-qt

Inspired by FS#45483.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2015-06-27 13:04:03 +02:00
..
aurinfo.py git: Use .format everywhere instead of % 2015-06-27 13:04:03 +02:00
config.mk Add a Makefile for the git-auth wrapper 2015-06-02 10:49:33 +02:00
git-auth.py Add support for multiple SSH public keys 2015-06-27 13:04:03 +02:00
git-auth.sh.in Add a Makefile for the git-auth wrapper 2015-06-02 10:49:33 +02:00
git-serve.py git-serve: Drop direct AccountType checking, use AUR_PRIVILEGED 2015-06-27 13:04:03 +02:00
git-update.py git-update: Improve error message on invalid pkgbase 2015-06-27 13:04:03 +02:00
Makefile Add a Makefile for the git-auth wrapper 2015-06-02 10:49:33 +02:00