Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: reorganize and speed up unit tests | Hisham Muhammad | 2024-02-27 | 1 | -0/+76 |
| | |||||
* | fix(fs): make current_dir always return 1 arg only | Hisham Muhammad | 2024-02-27 | 1 | -1607/+0 |
| | |||||
* | fix: better normalization for paths and slashes | Hisham Muhammad | 2024-02-23 | 1 | -15/+16 |
| | | | | Fixes #1195. | ||||
* | fix deployment on non-wrapped binaries (#1375) | Hisham Muhammad | 2022-02-16 | 1 | -2/+2 |
| | | | | | | | * fix deployment on non-wrapped binaries Fixes #1374. * Do not add .bat extension inside win32.wrap_script | ||||
* | editorconfig: trim trailing whitespace | Hisham Muhammad | 2021-03-16 | 1 | -71/+71 |
| | |||||
* | tests: shorter descriptions | Hisham Muhammad | 2020-02-14 | 1 | -1/+1 |
| | |||||
* | fs.lua: fix error message when source file is missing | Hisham Muhammad | 2020-02-05 | 1 | -1/+3 |
| | | | | Fixes #1147. | ||||
* | win32: fix split root for quoted absolute path handling | Hisham Muhammad | 2019-12-12 | 1 | -0/+34 |
| | |||||
* | Add quotes around usernames to handle usernames with space on Windows | Stephen Baynham | 2019-12-02 | 1 | -3/+3 |
| | |||||
* | Tests: add tests for fs.is_file and fs.is_dir with symlinks | Hisham Muhammad | 2019-06-06 | 1 | -0/+36 |
| | | | | Regression test for #1021. | ||||
* | Tests: add test for fs.wrap_script | Hisham Muhammad | 2019-04-19 | 1 | -13/+53 |
| | |||||
* | Tests: add shebang test for fs.is_lua | Hisham Muhammad | 2018-09-26 | 1 | -0/+6 |
| | |||||
* | fs: fix rwx_to_number, add negated mask mode | Hisham Muhammad | 2018-07-26 | 1 | -0/+22 |
| | | | | Fixes #856. | ||||
* | fs: make unpack_archive platform-agnostic using specific fs functions | Hisham Muhammad | 2018-07-18 | 1 | -0/+16 |
| | | | | | | | Use luarocks.tools.tar for handling tar files, and add platform-specific functions fs.zip, fs.unzip, fs.bunzip2, fs.gunzip, giving them native implementations using Lua modules or alternative implementations using third-party tools. | ||||
* | Add general improvements to the fs module | George Roman | 2018-07-16 | 1 | -17/+19 |
| | |||||
* | Update the behavior of fs.set_permissions on Windows | George Roman | 2018-07-16 | 1 | -4/+4 |
| | |||||
* | Tests: add tests for the dynamic commands | George Roman | 2018-07-16 | 1 | -0/+57 |
| | |||||
* | Tests: minor cleanups | Hisham Muhammad | 2018-07-01 | 1 | -5/+5 |
| | |||||
* | cfg, cmd: major reorganization | Hisham Muhammad | 2018-07-01 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * `--lua-dir` flag, specifying a prefix for the Lua installation to be used. This reconfigures LuaRocks entirely, including allowing a LuaRocks which is itself running using one Lua 5.x version to manage packages for a different Lua 5.y version. The resulting configuration can be checked with `luarocks config --lua-dir=<path>`. * requiring `luarocks.core.cfg` no longer has side-effects * configuration now needs to be initialized with `cfg.init([lua_data])`, where `lua_data` is a table with the configuration of the VM: * `lua_version` - e.g. `"5.3"` * `luajit_version` - e.g. `"2.1.0-beta3"` * `lua_interpreter` - e.g. `"lua5.3"` * `lua_bindir` - e.g. `"/usr/local/bin"` * `lua_libdir` - e.g. `"/usr/local/lib"` * `lua_incdir` - e.g. `"/usr/local/include/lua-5.3"` * `cfg.init` can be called multiple times, reconfiguring the global state. This is important since `luarocks.loader` now calls it, and the `--lua-dir` command line can override the configuration and reconfigure LuaRocks. * `site_config_*` is no more: LuaRocks is no longer dependent on a properly-written site_config file. Instead, it can *optionally* use `luarocks.core.hardcoded` for hardcoded values, or detect its configuration at runtime, based on OS detection, arg[-1] or command-line flags. * reduction of moving parts in the configuration: * `cfg.platforms` is no longer a globally-visible table; instead, `cfg` provides an API of read-only functions: `is_platform`, `each_platform`, `print_platforms`. * `cfg.*_proxy` options are no longer configured via the config files, but rather via the standard `*_proxy` environment variables. * `"windows"` is now the more general platform name of the Windows family. This is technically a breaking change but I don't expect it to cause problems with real-world rockspecs. * internal code reorganization in `luarocks.cmd` module | ||||
* | fs: make module loading side-effect free, require explicit init() | Hisham Muhammad | 2018-07-01 | 1 | -0/+1 |
| | |||||
* | Tests: improve the tests for the fs module | George Roman | 2018-06-21 | 1 | -4/+139 |
| | |||||
* | Fix the collecting of coverage data from unit tests | George Roman | 2018-06-12 | 1 | -1/+2 |
| | |||||
* | Tests: collect coverage data from unit tests (#814) | George Roman | 2018-06-05 | 1 | -0/+11 |
| | |||||
* | Fix failing Appveyor tests | George Roman | 2018-06-04 | 1 | -0/+1 |
| | |||||
* | Tests: replace #blackbox with #integration and #whitebox with #unit | George Roman | 2018-06-04 | 1 | -1/+1 |
| | |||||
* | Update fs_spec to use test_env temporary path utility | George Roman | 2018-05-29 | 1 | -9/+1 |
| | |||||
* | Add tests for fs.download | George Roman | 2018-05-28 | 1 | -0/+62 |
| | |||||
* | Improve fs module tests | George Roman | 2018-05-22 | 1 | -0/+289 |
| | |||||
* | Add more tests for the fs module | George Roman | 2018-05-18 | 1 | -31/+172 |
| | |||||
* | Update fs module tests to use fs.set_permissions | George Roman | 2018-05-17 | 1 | -130/+186 |
| | |||||
* | Make copy_contents have the same behaviour on Windows and on Unix | George Roman | 2018-04-24 | 1 | -14/+3 |
| | |||||
* | Add tests for some filesystem functions | George Roman | 2018-04-19 | 1 | -4/+658 |
| | |||||
* | Tests: add unit test for fs.is_file | Hisham Muhammad | 2018-02-22 | 1 | -0/+36 |
| | |||||
* | Reorganize test suite files | Hisham Muhammad | 2018-01-08 | 1 | -1/+1 |
| | |||||
* | Add a few tests for fs.Q | Peter Melnichenko | 2016-10-28 | 1 | -0/+21 |