pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/shellcheck Update to shellcheck-0.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50870341169a
branches:  trunk
changeset: 373600:50870341169a
user:      pho <pho%pkgsrc.org@localhost>
date:      Sat Feb 12 05:34:24 2022 +0000

description:
Update to shellcheck-0.8.0

v0.8.0 - 2021-11-06
Added
* disable=all now conveniently disables all warnings
* external-sources=true directive can be added to .shellcheckrc to make
  shellcheck behave as if -x was specified.
* Optional check-extra-masked-returns for pointing out commands with
  suppressed exit codes (SC2312).
* Optional require-double-brackets for recommending [[ ]] (SC2292).
* SC2286-SC2288: Warn when command name ends in a symbol like /.)'"
* SC2289: Warn when command name contains tabs or linefeeds
* SC2291: Warn about repeated unquoted spaces between words in echo
* SC2292: Suggest [[ over [ in Bash/Ksh scripts (optional)
* SC2293/SC2294: Warn when calling eval with arrays
* SC2295: Warn about "\({x#\)y}" treating $y as a pattern when not quoted
* SC2296-SC2301: Improved warnings for bad parameter expansions
* SC2302/SC2303: Warn about loops over array values when using them as keys
* SC2304-SC2306: Warn about unquoted globs in expr arguments
* SC2307: Warn about insufficient number of arguments to expr
* SC2308: Suggest other approaches for non-standard expr extensions
* SC2313: Warn about read with unquoted, array indexed variable

Fixed
* SC2102 about repetitions in ranges no longer triggers on [[ -v arr[xx] ]]
* SC2155 now recognizes typeset and local read-only declare statements
* SC2181 now tries to avoid triggering for error handling functions
* SC2290: Warn about misused = in declare & co, which were not caught by
  SC2270+
* The flag --color=auto no longer outputs color when TERM is "dumb" or
  unset

Changed
* SC2048: Warning about $* now also applies to ${array[*]}
* SC2181 now only triggers on single condition tests like [ $? = 0 ].
* Quote warnings are now emitted for declaration utilities in sh
* Leading _ can now be used to suppress warnings about unused variables
* TTY output now includes warning level in text as well as color

Removed
* SC1004: Literal backslash+linefeed in '' was found to be usually correct

diffstat:

 shells/shellcheck/Makefile |  5 ++---
 shells/shellcheck/PLIST    |  4 +++-
 shells/shellcheck/distinfo |  8 ++++----
 3 files changed, 9 insertions(+), 8 deletions(-)

diffs (45 lines):

diff -r 1e8b5deb09a9 -r 50870341169a shells/shellcheck/Makefile
--- a/shells/shellcheck/Makefile        Sat Feb 12 05:31:33 2022 +0000
+++ b/shells/shellcheck/Makefile        Sat Feb 12 05:34:24 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2022/01/18 02:48:22 pho Exp $
+# $NetBSD: Makefile,v 1.6 2022/02/12 05:34:24 pho Exp $
 
-DISTNAME=      ShellCheck-0.7.2
+DISTNAME=      ShellCheck-0.8.0
 PKGNAME=       ${DISTNAME:tl}
-PKGREVISION=   2
 CATEGORIES=    shells devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 1e8b5deb09a9 -r 50870341169a shells/shellcheck/PLIST
--- a/shells/shellcheck/PLIST   Sat Feb 12 05:31:33 2022 +0000
+++ b/shells/shellcheck/PLIST   Sat Feb 12 05:34:24 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/04/24 13:51:23 pho Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/02/12 05:34:24 pho Exp $
 bin/shellcheck
 lib/ShellCheck-${PKGVERSION}/${HS_VERSION}/package-description
 lib/ShellCheck-${PKGVERSION}/${HS_VERSION}/package-id
@@ -75,6 +75,8 @@
 lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
 lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
 share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/CHANGELOG.md
+share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/README.md
 share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/ShellCheck-AST.html
 share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/ShellCheck-ASTLib.html
 share/doc/${HS_PLATFORM}/ShellCheck-${PKGVERSION}/html/ShellCheck-Analytics.html
diff -r 1e8b5deb09a9 -r 50870341169a shells/shellcheck/distinfo
--- a/shells/shellcheck/distinfo        Sat Feb 12 05:31:33 2022 +0000
+++ b/shells/shellcheck/distinfo        Sat Feb 12 05:34:24 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:18:39 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/02/12 05:34:24 pho Exp $
 
-BLAKE2s (ShellCheck-0.7.2.tar.gz) = fd53c14cfa96337601ef28e4c60f4e8c10b96a8e663448e44947c8155d6e84cb
-SHA512 (ShellCheck-0.7.2.tar.gz) = ec77038763b3520deef3838d0f51f06bc3d755945f519b19be09765b3122f0251f00cd4907cb60c38612161b0c03f73025e0f52b3c47e22855f0b0e3ff5f81c5
-Size (ShellCheck-0.7.2.tar.gz) = 173937 bytes
+BLAKE2s (ShellCheck-0.8.0.tar.gz) = c6378fb7d5f224ffb37721e1cf63ba143427c8d752201ba9c6a44e2915283356
+SHA512 (ShellCheck-0.8.0.tar.gz) = 62de6241502fd9e1bb45b224ff5eaf27def9938f5e4ed8345f8173b0be8f9bb7511d8ccc1d1779da319a32843bbf005415c3fcd5b902293e037d44495ec5bb54
+Size (ShellCheck-0.8.0.tar.gz) = 194817 bytes



Home | Main Index | Thread Index | Old Index