| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
There were already workarounds in place for some platforms.
This should make the behavior consistent.
Fixes #429.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
`tools.make_dir` used `mkdir -p <name>` while `-p` [is not an existing switch](https://docs.microsoft.com/windows-server/administration/windows-commands/mkdir) on Windows. The switch is also not necessary because plain `mkdir` on Windows also creates intermediate directories.
|
| |
|
|
|
|
| |
This ensures that luarocks.loader() gets a baseline configuration
|
|
|
|
|
|
|
| |
* fix deployment on non-wrapped binaries
Fixes #1374.
* Do not add .bat extension inside win32.wrap_script
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* fix(build) cmd option `--pin`
The `build` command `--pin` was asigned to the global parser. This fix
this issue by making it a command flag.
* fix(install) cmd option --pin
|
|\ |
|
| | |
|
|/
|
|
|
|
|
|
| |
As discussed in #1354. We're removing it from the default mirror
list since it is http:// and the https:// certificate is presenting
issues. We can reinstate it once the certificate issues are sorted!
Closes #1354.
|
| |
|
|\ |
|
|/ |
|
|
|
|
|
|
|
|
|
| |
This avoids having to fix every rockspec that uses github.com.
See https://github.blog/2021-09-01-improving-git-protocol-security-github/
For more context, see:
https://github.com/teal-language/tl/pull/494/
|
| |
|
|
|
|
|
|
|
| |
see discussion at
https://github.com/luarocks/luarocks/issues/1312#issuecomment-896155122
Fixes #1312
|
| |
|
|
|
| |
Fixes #1357.
|
|
|
|
| |
Fix a problem where 'files' were being sorted even though they should have
been inspected in the order of external_deps_patterns.
|
| |
|
|
|
|
|
| |
upload: support uploading pre-packaged .src.rock files
Co-authored-by: daurnimator <quae@daurnimator.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Added prepare flag in test command
* Added test for prepare flag in spec/test_spec.lua
Fixes #1303
|
| |
|
|
|
|
|
|
|
|
|
| |
The issue tracker does unfortunately contain quite a lot of low-quality
issues. I think issue templates can improve this for the future.
Adapted from these templates:
https://github.com/swaywm/sway/tree/master/.github/ISSUE_TEMPLATE
|
| |
|
|\ |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
| |
LuaRocks generally only checked whether to use a mirror in the first
operation, when it fetches the manifest. If the manifest fails to load, it
switches to the mirror and everything works from there. But if the manifest
fetches ok and the then actual rock download fails with a 504, it gives up,
instead of trying that in a mirror as well. Changing that to make it retry
every download on a mirror when the base URL matches one configured in
cfg.rocks_servers should make it much more resilient.
Fixes #1299.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Fix. Do not revoke permission from the current user
* Do not quote FS commands
* hotfix: remove stray character
Co-authored-by: Hisham Muhammad <hisham@gobolinux.org>
|
| |
|
|
|
|
|
|
| |
For environments other than UNIX, this will return false.
Suggested by @hishamhm.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The loading of the config file has been changed to support the XDG
Base Directory specification. More info here:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
If in a UNIX environment, LuaRocks will try loading a config file in
XDG_CONFIG_HOME. If this fails, try loading one in the old location
~/.luarocks.
This method clashed a bit with the old code that separated the setting
of confdirs and the loading of the config files. As we now change
cfg.homeconfdir depending on where we find the config file I found it
necessary to remove the function set_confdirs() and move some pieces
into the config loading logic.
|
|
|
|
|
|
|
| |
This is needed in order to follow the XDG Base Directory specification.
More info here:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
| |
|
|
|
|
|
|
|
|
|
| |
Don't set cfg.home_tree to nil in cfg.lua when the user is root.
Instead, do explicit checks if the user is root in cmd.lua.
This removes some confusion, as cfg.home_tree is later set by the
default system config file, so it will show up when running 'luarocks
config'.
|
|
|
|
|
|
| |
https://github.com/luarocks/luarocks/issues/1293
Co-authored-by: Hisham Muhammad <hisham@gobolinux.org>
|