mbox

[pacman-dev,0/3] makepkg: Improve lint_pkgbuild error messages for epoch/ver/rel

Message ID 20180808031643.8054-1-lukeshu@lukeshu.com
Headers show

Message

Luke Shumaker Aug. 8, 2018, 3:16 a.m. UTC
From: Luke Shumaker <lukeshu@parabola.nu>

The error messages that makepkg prints when encountering a bad
epoch/pkgver/pkgrel are often somewhat misleading.  These patchset
tries to improve that.  The behavior is intended to be unchanged,
other than what the messages say.

Luke Shumaker (3):
  makepkg: Better error messages for versions in
    (check,make,opt)depends/provides/conflicts
  makepkg: check_pkgrel: Don't say "decimal" in the error message
  makepkg: check_pkgver: Report what the bad pkgver is

 scripts/Makefile.am                           |  1 +
 .../lint_pkgbuild/checkdepends.sh.in          | 10 ++--
 .../lint_pkgbuild/conflicts.sh.in             | 10 ++--
 .../lint_pkgbuild/depends.sh.in               | 14 ++---
 .../lint_pkgbuild/epoch.sh.in                 | 10 +++-
 .../lint_pkgbuild/fullpkgver.sh.in            | 54 +++++++++++++++++++
 .../lint_pkgbuild/makedepends.sh.in           | 10 ++--
 .../lint_pkgbuild/optdepends.sh.in            | 10 ++--
 .../lint_pkgbuild/pkgrel.sh.in                | 20 +++++--
 .../lint_pkgbuild/pkgver.sh.in                |  2 +-
 .../lint_pkgbuild/provides.sh.in              | 10 ++--
 11 files changed, 107 insertions(+), 44 deletions(-)
 create mode 100644 scripts/libmakepkg/lint_pkgbuild/fullpkgver.sh.in