Skip to content

Commit

Permalink
chore(deps): bump luarocks from 3.10.0 to 3.11.0 (for workgroups) (#1…
Browse files Browse the repository at this point in the history
…2735)

### Summary

What's new in LuaRocks 3.11.0:

* Features:
  * `luarocks build` and `luarocks install` no longer rebuild
    or reinstall if the version is already installed
    (`--force` overrides).
  * More aggressive caching of the manifest file (does not
    hit `luarocks.org` again if the cached manifest is younger
    than 10 seconds).
  * Drops stale lock files (older than 1 hour).
  * More informative error reports on bad configurations of
    Lua paths (`LUA_INCDIR`, `LUA_LIBDIR`).
  * Better error messages when lacking permissions.
  * Bumps vendored dkjson dependency to 2.7.
  * `--verbose` output now prints the LuaRocks configuration,
    for more informative bug reports.
* Fixes:
  * Passing `--global` always LuaRocks target the system tree.
  * Does not crash if `root_dir` is a table.
  * Does not try to lock rocks trees when using `--pack-binary-rock`
    or `--no-install`.
  * Checks permissions ahead of trying to lock trees,
    to provide better error messages.
  * Avoids LuaSec version mismatch by refusing to use LuaSec
    versions below 1.1.
  * Does not set up a "project environment" when running
    `make` on the LuaRocks sources.
  * Windows:
    * Avoid excessive calls to `icacls`, resulting in
      performance improvements.
    * Parses slashes correctly when reading a rock's `rock_manifest`.
    * Fix setting of environment variables.
    * install.bat sets LUALIB.
    * Improved help for `luarocks path`.

LuaRocks 3.11.0 contains new commits by @sewbacca and Hisham Muhammad.
You can find detailed credits in the Git history.

Signed-off-by: Aapo Talvensaari <[email protected]>
  • Loading branch information
bungle authored Mar 18, 2024
1 parent 58fc97d commit 2d481b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .requirements
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
KONG_PACKAGE_NAME=kong

OPENRESTY=1.25.3.1
LUAROCKS=3.10.0
LUAROCKS=3.11.0
OPENSSL=3.2.1
PCRE=10.43
LIBEXPAT=2.5.0
Expand Down
2 changes: 1 addition & 1 deletion build/luarocks/luarocks_repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def luarocks_repositories():
name = "luarocks",
build_file = "//build/luarocks:BUILD.luarocks.bazel",
strip_prefix = "luarocks-" + version,
sha256 = "e9bf06d5ec6b8ecc6dbd1530d2d77bdb3377d814a197c46388e9f148548c1c89",
sha256 = "25f56b3c7272fb35b869049371d649a1bbe668a56d24df0a66e3712e35dd44a6",
urls = [
"https://luarocks.org/releases/luarocks-" + version + ".tar.gz",
],
Expand Down
2 changes: 1 addition & 1 deletion changelog/unreleased/kong/bump-luarocks.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
message: "Bumped LuaRocks from 3.9.2 to 3.10.0"
message: "Bumped LuaRocks from 3.9.2 to 3.11.0"
type: dependency

1 comment on commit 2d481b4

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:2d481b4d4872bbf0e69a3f4598f56c42eb02d7fe
Artifacts available https://github.com/Kong/kong/actions/runs/8323910730

Please sign in to comment.