pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-check



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Nov 27 07:48:27 UTC 2026

Modified Files:
        pkgsrc/devel/lua-check: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/lua-check/patches: patch-src_luacheck_stages.lua

Log Message:
lua-check: update to 1.2.0.

## [1.2.0] - 2024-05-24

### Features

- Add builtin standards support for minetest (#108) — @BuckarooBanzay and @appgurueu

### Performance

- Memoize results to addresses speed refression from new feature in v0.26 (#105) — @tomlau10

## [1.1.2] - 2023-12-08

### Features

- Support NO_COLOR environment variable (#102) — @ligurio

### Bug Fixes

- Update SILE builtin with more allowed variables — @alerque

## [1.1.1] - 2023-06-09

### Features

- Update Löve standard to 11.4 (#95) — @RunningDroid
- Documentation improvements (#92 and #89) — @rcloran and @hramrach

### Bug Fixes

- Correct compound operators to not crash on modifying upvalues (#96) — @arichard4
- Fix warning 582 (error prone negation) not applying to subexpressions (#94) — @appgurueu

## [1.1.0] - 2022-12-19

### Features

- Add builtin rule set for SILE globals (#79) — @alerque
- Implement support for compound operators (#66) — @a2 & @arichard4

### Bug Fixes

- Correct circular reference detection visavis OpSet — @arichard4
- Remove unnecessary symbol from Playdate std (#84) — @DidierMalenfant

## v1.0.0 (2022-08-24)

### Documentation

- [**breaking**] Follow semver guidelines, next release will be v1.x.y

### Features

- Overhaul docker container to run on Lua 5.4 — @alerque
- Store cached luacheck values per-version in case of changes — @arichard4
- Set_default_std for ldoc — @Aire-One
- Add builtin std option for Ldoc globals — @Aire-One
- Add builtin std option for the Playdate SDK — @DidierMalenfant

## v0.26.1 (2022-04-23)

### Bug Fixes

- Exempt special builtin \_ENV from 214 warning

### Features

- In case of no home environment, default to caching in CWD (#60)
- Add multi-thread support to container (#59)

### Miscellaneous Tasks

- Tweak warning message for 214 to be more explicit

## v0.26.0 (2022-03-23)

### New Features

* Add "unused hint" flag — @javierguerragiraldez
  Function arguments that start with a single underscore get an "unused hint".
  Leaving them unused doesn't result in a warning.
  Using them, on the other hand, is a new warning (№ 214).
* Add hook to enable Luacheck for use in pre-commit — @mblayman
* Warn on error-prone and unnecessary negations — @arichard4
  Two new warnings (№ 581 and 582) flag error-prone operator orders.
* Add Dockerfile implementation — @MartinBroers
  A 6.34MB containerized image with everything needed to run the linter.
  Build your own or pull prebuilt images from GHRC.
* Setup repository for use *as* a GitHub Action — @alerque
  Lint your repositories using GitHub Action workflows with just a single `uses:` step.

### Fixes

* Don't mark variables as accessed if only references are circular — @arichard4
* Make test suite Lua 5.4 compatible — @alerque
* Correct small issues in documentation — various

### Miscellaneous

* Overhaul CI workflows for testing, linting, building, and releasing — @alerque
* Update URLs and documentation reflecting new repository home — @lunarmodules

## 0.25.0 (2020-08-25)

### New features

* New values for CLI option --std: lua54, lua54c
* New lua54 standard library definitions

### Fixes

* Lua 5.4 allows 31bits utf8 codepoint

## 0.24.0 (2020-08-20)

### Changes

* Caching now uses files in a global directory instead of local
  `.luacheckcache` file. Default cache directory is
  `%LOCALAPPDATA%\Luacheck\Cache` on Windows,
  `~/Library/Caches/Luacheck` on OS X/macOS, and
  `$XDG_CACHE_HOME/luacheck` or `~/.config/luacheck` on other systems.

### Fixes

* Fixes for using Luacheck with Lua 5.4:
  - Parse 5.4 attributes in `local` declarations (but ignores them for now)
  - Luacheck itself can also run with Lua 5.4
* Fixed `randomize` missing from `busted` set of standard globals (#183).
* Added additional `table` and `thread` definitions for `ngx_lua`.
* Added additional `match` definition for `busted`.

### Miscellaneous

* Upgraded Windows binary components: Lua 5.3.4 -> 5.3.5,
  LuaFileSystem 1.6.3 -> 1.7.0.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/lua-check/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/lua-check/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/lua-check/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/devel/lua-check/patches/patch-src_luacheck_stages.lua

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/lua-check/Makefile
diff -u pkgsrc/devel/lua-check/Makefile:1.3 pkgsrc/devel/lua-check/Makefile:1.4
--- pkgsrc/devel/lua-check/Makefile:1.3 Fri Nov 27 07:40:49 2026
+++ pkgsrc/devel/lua-check/Makefile     Fri Nov 27 07:48:27 2026
@@ -1,16 +1,14 @@
-# $NetBSD: Makefile,v 1.3 2026/11/27 07:40:49 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2026/11/27 07:48:27 wiz Exp $
 
-DISTNAME=      luacheck-0.23.0
+DISTNAME=      luacheck-1.2.0
 PKGNAME=       ${DISTNAME:S/luacheck/${LUA_PKGPREFIX}-check/}
-PKGREVISION=   2
 CATEGORIES=    devel lua
-
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpeterv/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=lunarmodules/}
 GITHUB_PROJECT=        luacheck
-GITHUB_TAG=    ${PKGVERSION_NOREV}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    joerg%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/mpeterv/luacheck
+HOMEPAGE=      https://luacheck.readthedocs.io/
 COMMENT=       Linter and static analyzer for Lua
 LICENSE=       mit
 
@@ -35,8 +33,8 @@ do-install:
        ${INSTALL_DATA} ${WRKSRC}/src/luacheck/stages/*.lua \
                ${DESTDIR}${PREFIX}/${LUA_LDIR}/luacheck/stages
 
-# as of 0.23.0
-# 448 successes / 1 failure / 0 errors / 1 pending
+# as of 1.2.0
+# 458 successes / 1 failure / 0 errors / 1 pending
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} busted${_LUA_DOT_VERSION} -c
 

Index: pkgsrc/devel/lua-check/PLIST
diff -u pkgsrc/devel/lua-check/PLIST:1.1 pkgsrc/devel/lua-check/PLIST:1.2
--- pkgsrc/devel/lua-check/PLIST:1.1    Wed Mar 29 15:29:41 2023
+++ pkgsrc/devel/lua-check/PLIST        Fri Nov 27 07:48:27 2026
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2023/03/29 15:29:41 joerg Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/11/27 07:48:27 wiz Exp $
 bin/luacheck-${LUADOTVER}
-${LUA_LDIR}/luacheck/builtin_standards.lua
 ${LUA_LDIR}/luacheck/cache.lua
 ${LUA_LDIR}/luacheck/check.lua
 ${LUA_LDIR}/luacheck/check_state.lua
@@ -14,16 +13,15 @@ ${LUA_LDIR}/luacheck/fs.lua
 ${LUA_LDIR}/luacheck/globbing.lua
 ${LUA_LDIR}/luacheck/init.lua
 ${LUA_LDIR}/luacheck/lexer.lua
-${LUA_LDIR}/luacheck/love_standard.lua
 ${LUA_LDIR}/luacheck/main.lua
 ${LUA_LDIR}/luacheck/multithreading.lua
-${LUA_LDIR}/luacheck/ngx_standard.lua
 ${LUA_LDIR}/luacheck/options.lua
 ${LUA_LDIR}/luacheck/parser.lua
 ${LUA_LDIR}/luacheck/profiler.lua
 ${LUA_LDIR}/luacheck/runner.lua
-${LUA_LDIR}/luacheck/stages.lua
+${LUA_LDIR}/luacheck/serializer.lua
 ${LUA_LDIR}/luacheck/stages/detect_bad_whitespace.lua
+${LUA_LDIR}/luacheck/stages/detect_compound_operators.lua
 ${LUA_LDIR}/luacheck/stages/detect_cyclomatic_complexity.lua
 ${LUA_LDIR}/luacheck/stages/detect_empty_blocks.lua
 ${LUA_LDIR}/luacheck/stages/detect_empty_statements.lua
@@ -34,6 +32,7 @@ ${LUA_LDIR}/luacheck/stages/detect_unini
 ${LUA_LDIR}/luacheck/stages/detect_unreachable_code.lua
 ${LUA_LDIR}/luacheck/stages/detect_unused_fields.lua
 ${LUA_LDIR}/luacheck/stages/detect_unused_locals.lua
+${LUA_LDIR}/luacheck/stages/init.lua
 ${LUA_LDIR}/luacheck/stages/linearize.lua
 ${LUA_LDIR}/luacheck/stages/name_functions.lua
 ${LUA_LDIR}/luacheck/stages/parse.lua

Index: pkgsrc/devel/lua-check/distinfo
diff -u pkgsrc/devel/lua-check/distinfo:1.2 pkgsrc/devel/lua-check/distinfo:1.3
--- pkgsrc/devel/lua-check/distinfo:1.2 Fri Nov 27 07:40:49 2026
+++ pkgsrc/devel/lua-check/distinfo     Fri Nov 27 07:48:27 2026
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2026/11/27 07:40:49 wiz Exp $
+$NetBSD: distinfo,v 1.3 2026/11/27 07:48:27 wiz Exp $
 
-BLAKE2s (luacheck-0.23.0.tar.gz) = bfc1e907a858f3c3c170cdf913102df5be2f0f0d8fa03ada4987bdd297680225
-SHA512 (luacheck-0.23.0.tar.gz) = d76e4b22f1e9d868a8531ad51fb98607e5bfb1fbbd55053105d9978ba6c0455de99202c53d4e199733ea997863b26527fb84e7e9717209fd588f1d02db9db028
-Size (luacheck-0.23.0.tar.gz) = 158201 bytes
-SHA1 (patch-src_luacheck_stages.lua) = b41bdf847244465447435197bf4a98514a20dc2c
+BLAKE2s (luacheck-1.2.0.tar.gz) = 18eedef13e1094777ca2d5fb7853d0229576aaa35c084c40d54611b48f0c71b1
+SHA512 (luacheck-1.2.0.tar.gz) = 2bfe38056bab71cdaa8377212cc92048e3178f2deb1da8d61b9cefc400a9b5691772805f8bc1c4b4584c9530751103a2feeca41187c2d9496e975df5be373ff0
+Size (luacheck-1.2.0.tar.gz) = 183209 bytes
 SHA1 (patch-src_luacheck_standards.lua) = 832597cae7215d1418657674ad1bf36dd85235e9



Home | Main Index | Thread Index | Old Index