Commit Graph

20 Commits

Author SHA256 Message Date
35775fdd39 Accepting request 1169656 from home:smolsheep:upgrades
- Update to version 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.
- Updates from version 3.10.0
  Features:
  * Introduce file-based locking for concurrent access control.
    Previously, LuaRocks would produce undefined behavior when
    running two instances at the same time.
  * Rockspec quality-of-life improvements:
  * Using an unknown build.type now automatically implies a build
    dependency for luarocks-build-<build.type>.
  * Improve rockspec.source.dir autodetection.
  * builtin build mode now automatically inherits include and
    libdirs from external_dependencies if not set explicitly.
  * improved and simplified Lua interpreter search.
  * lua_interpreter config value is deprecated in favor of
    variables.LUA which contains the full interpreter path.
  * luarocks-admin remove now supports the file:// protocol for
    managing local rocks servers.
  * Bundled dkjson library, so that luarocks upload does not
    require an external JSON library.
  * New flags for luarocks init: --no-gitignore,
    --no-wrapper-scripts, --wrapper-dir.
  * luarocks config now attempts updating the system config by
    default when local_by_default is false.
  * New flag for luarocks path: --full, for use with --lr-path and
    --lr-cpath.
  Fixes:
  * luarocks build no longer looks for Lua headers when installing
    pure-Lua rocks.
  * luarocks build table in rockspecs now gets some additional
    validation to prevent crashes on malformed rockspecs.
  * build.builtin now compiles C modules in a temporary directory,
    avoiding name clashes
  * build_dependencies now correctly installs dependencies for the
    Lua version that LuaRocks is running on, and not the one it is
    building for with --lua-version.
  * build_dependencies can now use a dependency available in any
    rocks tree (system, user, project).
  * luarocks config now prints boolean values correctly on Lua 5.1.
  * luarocks config now ensures the target directory exists when
    saving a configuration.
  * luarocks init now injects the project's package.(c)path in the
    Lua wrapper.
  * luarocks lint no longer crashes if a rockspec misses a
    description field.
  * luarocks test now handles malformed command entries gracefully.
  * if --lua-* flags are given in the CLI, the hardcoded values are
    never used.
  * the "no downloader" error is now shown only once, and not once
    per failed mirror.
  * project dir is always presented normalized
  * catch the failure to setup LUA_BINDIR early.
  * when using --pack-binary-rock and a zip program is unavailable,
    report that instead of failing cryptically.
  * More graceful handling when failing to create a local cache.
  * Avoid confusion with macOS multiarch binaries on system
    detection.
  * Add --tree to the rocks trees list.
  * Better support for LuaJIT versions with extra suffixes in their
    version numbers.
  * Don't use floats to parse Lua version number.
  * Various fixes related to path normalization.
- Updates from version 3.9.2:
  * Configuration now honors typical compiler environment variables
    for all build backends such as MAKE, CC, AR, RANLIB
  * luarocks test now checks/installs all dependency kinds (build,
    runtime, test), so you don't need to run luarocks make
    --only-deps in CI environments to get all dependencies needed
    to run a test
  * Fixed crash if variables.LUA* are unset in configuration
  * Fix luarocks test --prepare behavior for non-Busted tests
  * Internal API fixes
  * path.path_to_module: accept custom file extensions in package
    path variables
  * persist.save_from_table: ensure directory exists when saving a
    file

OBS-URL: https://build.opensuse.org/request/show/1169656
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=34
2024-04-23 14:15:08 +00:00
853e3d1f10 Accepting request 1120584 from home:mbjoerkelund:branches:devel:languages:lua
This revision fix the luarocks-admin link, as it was previously pointing to luarocks instead of luarocks-admin, and thus not working properly.
The luarocks-admin CLI has only a few commands such as "make-manifest", and these are not available in the default luarocks CLI. These commands may be required when building a new package and since "luarocks make-manifest" errors, it would not work.

OBS-URL: https://build.opensuse.org/request/show/1120584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=32
2023-10-26 14:59:24 +00:00
40d4f1e403 Accepting request 1037545 from Kernel:tools
- Fix missing dependency on lua-macros (boo#1205612)

OBS-URL: https://build.opensuse.org/request/show/1037545
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=30
2022-11-23 13:14:17 +00:00
Callum Farmer
690a07d182 Accepting request 1000928 from home:gmbr3:Lua
- Own /usr/lib/luarocks

OBS-URL: https://build.opensuse.org/request/show/1000928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=28
2022-09-02 15:14:45 +00:00
Callum Farmer
5fa9e09511 Accepting request 1000887 from home:gmbr3:Lua
- Add lib64.patch:
  * Fix luarocks placing files in incorrect libdir

OBS-URL: https://build.opensuse.org/request/show/1000887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=27
2022-09-02 12:43:18 +00:00
Callum Farmer
ca54343efb Accepting request 998768 from home:Pi-Cla:branches:devel:languages:lua
- Add Requires: zip
  * Without it, luarocks fails when passed with arguments: make --pack-binary-rock

OBS-URL: https://build.opensuse.org/request/show/998768
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=25
2022-08-23 14:23:04 +00:00
Callum Farmer
71dc5e1bd3 Accepting request 998414 from home:Pi-Cla:branches:devel:languages:lua
- Update to version 3.9.1:
  * `builtin` build mode now always respects CC, CFLAGS and LDFLAGS
  * Check that lua.h version matches the desired Lua version
  * Check that the version of the Lua C library matches the desired Lua version
  * Fixed deployment of non-wrapped binaries
  * Fixed crash when `--lua-version` option is malformed
  * Fixed help message for `--pin` option
  * Unix: use native methods and don't always rely on $USER to determine user

OBS-URL: https://build.opensuse.org/request/show/998414
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=23
2022-08-22 11:04:25 +00:00
Callum Farmer
4fbbc69a6f Accepting request 941407 from home:gmbr3:Lua
- Update to version 3.8.0:
  * Support GitHub's protocol security changes transparently
  * luarocks test has a new flag --prepare that checks, downloads
    and installs the tool requirements and rockspec dependencies
    but does not run the test suite for the rockspec being tested.
  * Code tweaks so that LuaRocks can run on a Lua interpreter
    built without the debug library.

OBS-URL: https://build.opensuse.org/request/show/941407
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=22
2021-12-18 15:10:22 +00:00
7e56124e55 Accepting request 900192 from home:gmbr3:Lua
- Update to version 3.7.0
  * Improved connectivity resiliency
  * On Unix, it now respects environment variables $XDG_CACHE_HOME
    and $XDG_CONFIG_HOME
  * Fixes check for the default Lua version set in the user's
    home configuration
- Remove deprecated option --versioned-rocks-dir

OBS-URL: https://build.opensuse.org/request/show/900192
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=20
2021-06-15 16:35:21 +00:00
9a55c86aa4 Accepting request 873479 from home:gmbr3:Lua
upd

OBS-URL: https://build.opensuse.org/request/show/873479
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=18
2021-02-18 18:19:31 +00:00
94e285a88a Accepting request 820554 from home:gmbr3:Active
- Update to version 3.3.1
  * Fix downgrades of rocks containing directories: stop it from creating spurious 0-byte files where directories have been
  * Fix error message when attempting to copy a file that is missing
  * For the changes made in 3.3.0 see https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md#whats-new-in-luarocks-330

OBS-URL: https://build.opensuse.org/request/show/820554
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=15
2020-07-13 06:23:12 +00:00
d37bb375d5 - Add lua54 as new build target
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=14
2020-07-06 19:05:54 +00:00
2386e05b63 Accepting request 726833 from home:mcepl:branches:devel:languages:lua
Upstream release.

OBS-URL: https://build.opensuse.org/request/show/726833
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=12
2019-08-28 20:48:54 +00:00
Marguerite Su
6808a978ff Accepting request 705509 from home:jayvdb:branches:devel:languages:lua
Fix Lua 5.3 and Update to v3.1.2

OBS-URL: https://build.opensuse.org/request/show/705509
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=10
2019-05-27 04:11:43 +00:00
39636f5b62 - Upgrade to 3.0.4
* Version 3.* is a large rewrite including changes of format,
      so full changelog is too long, and can be found on
      https://github.com/luarocks/luarocks/blob/master/CHANGELOG.md

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=9
2018-10-31 09:26:34 +00:00
Tomáš Chvátal
1f0351a2d5 Factoryauto name detection fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=5
2017-07-15 07:33:45 +00:00
Tomáš Chvátal
ad87b71976 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=4 2017-07-14 13:11:38 +00:00
Tomáš Chvátal
fda70a5884 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=3 2017-07-14 13:09:37 +00:00
Tomáš Chvátal
2c42156d20 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=2 2017-07-14 13:08:59 +00:00
Tomáš Chvátal
4c65324a13 osc copypac from project:devel:languages:lua package:luarocks revision:7
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luarocks?expand=0&rev=1
2017-07-14 13:07:32 +00:00