Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add hidden command and option aliases | Paul Ouellette | 2020-01-14 | 1 | -7/+29 |
| | |||||
* | git: add support for shallow recommendations | Pedro Tammela | 2019-12-17 | 1 | -1/+10 |
| | | | | | | | | | | | | | In more recent versions of git, the .gitmodules file can be configured to recommend if a submodule should be cloned as shallow or not. Add support for this feature since it gives the rock maintainer more control over which submodules should be shallow cloned. The rock maintainer may set the boolean `shallow` to true or false in .gitmodules. If omitted it is treated as false. Signed-off-by: Pedro Tammela <pctammela@gmail.com> | ||||
* | win32: fix split root for quoted absolute path handling | Hisham Muhammad | 2019-12-12 | 2 | -19/+36 |
| | |||||
* | Refactor command line handling of namespaces | Paul Ouellette | 2019-12-02 | 20 | -113/+108 |
| | |||||
* | Add quotes around usernames to handle usernames with space on Windows | Stephen Baynham | 2019-12-02 | 1 | -2/+2 |
| | |||||
* | Add --no-manifest flag to skip creating/updating a global manifest | daurnimator | 2019-11-30 | 5 | -4/+25 |
| | |||||
* | dependency pinning: luarocks.lock file and --pin flag | Hisham Muhammad | 2019-11-29 | 10 | -113/+368 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for pinning dependencies in projects and rocks: * Adds a new flag called `--pin` which creates a `luarocks.lock` when building a rock with `luarocks build` or `luarocks make`. This lock file contains the exact version numbers of every direct or indirect dependency of the rock (in other words, it is the transitive closure of the dependencies.) For `make`, the `luarocks.lock` file is created in the current directory. The lock file is also installed as part of the rock in its metadata directory alongside its rockspec. When using `--pin`, if a lock file already exists, it is ignored and overwritten. * When building a rock with `luarocks make`, if there is a `luarocks.lock` file in the current directory, the exact versions specified there will be used for resolving dependencies. * When building a rock with `luarocks build`, if there is a `luarocks.lock` file in root of its sources, the exact versions specified there will be used for resolving dependencies. * When installing a `.rock` file with `luarocks install`, if the rock contains a `luarocks.lock` file (i.e., if its dependencies were pinned with `--pin` when the rock was built), the exact versions specified there will be used for resolving dependencies. | ||||
* | do not warn about skipping dependency checks | Hisham Muhammad | 2019-11-29 | 2 | -4/+1 |
| | | | | | | These are either caused by recursion of pinned dependencies or were explicitly requested by the user with --nodeps a.k.a. --deps-mode=none | ||||
* | refactor dependency scanning for reuse when building lockfile | Hisham Muhammad | 2019-11-29 | 8 | -111/+113 |
| | |||||
* | config: fix --unset | Hisham Muhammad | 2019-11-29 | 1 | -1/+1 |
| | |||||
* | repos: speed up file installs and deletes | Hisham Muhammad | 2019-11-29 | 1 | -24/+71 |
| | |||||
* | cache rockspecs and src.rocks and check timestamp | Hisham Muhammad | 2019-11-29 | 3 | -28/+52 |
| | |||||
* | Add --check-lua-versions flag (#1115) | Hisham Muhammad | 2019-11-23 | 10 | -49/+71 |
| | | | | Only check for availability of a rock for other Lua versions if the user explicitly requests so. | ||||
* | Improve jit detection to support moonjit (#1116) | François Perrad | 2019-11-22 | 1 | -1/+1 |
| | | | | | moonjit is a fork of LuaJIT, where jit.version = 'moonjit 2.1.1' Signed-off-by: Francois Perrad <francois.perrad@gadz.org> | ||||
* | Support make --no-doc (#1092) | Paul Ouellette | 2019-11-15 | 4 | -30/+32 |
| | | | | | | * Support make --no-doc * Add test for make --no-doc | ||||
* | repos: rollback on installation failure (#1101) | Hisham Muhammad | 2019-10-18 | 1 | -14/+54 |
| | |||||
* | manif.writer: make remove_from_manifest more resilient (#1096) | Hisham Muhammad | 2019-09-23 | 1 | -0/+9 |
| | | | Fixes #1095. | ||||
* | vers: add extra metamethod needed by Lua 5.4 (#1088) | Dude112113 | 2019-09-09 | 1 | -0/+6 |
| | |||||
* | fix Windows cross-compilation hack | Hisham Muhammad | 2019-09-05 | 2 | -13/+15 |
| | |||||
* | fix local search of manifests | Hisham Muhammad | 2019-09-05 | 1 | -1/+1 |
| | | | | | | | Since #1065 it was failing to find the unversioned `manifest` files inside `<rocks_tree>/lib/luarocks/rocks-5.x/`. The result was that `luarocks install foo` worked but then `luarocks show foo` didn't. | ||||
* | cfg: only override config file values with detected when giving flags | Hisham Muhammad | 2019-09-04 | 1 | -29/+32 |
| | |||||
* | Fix version detection | Hisham Muhammad | 2019-09-04 | 1 | -0/+3 |
| | |||||
* | cmd: avoid changing add_to_parser if command is missing | daurnimator | 2019-09-03 | 1 | -13/+12 |
| | |||||
* | cmd: catch errors loading command modules | Hisham Muhammad | 2019-09-03 | 1 | -11/+22 |
| | | | | This should be useful for external modules. | ||||
* | cmd: add compatibility mode for pre-argparse external commands | Hisham Muhammad | 2019-09-03 | 1 | -0/+15 |
| | | | | See #1070. | ||||
* | fs: fix Lua wrapper for interactive mode | Hisham Muhammad | 2019-09-03 | 2 | -2/+5 |
| | |||||
* | Fix manif.load_manifest changing current directory | Paul Ouellette | 2019-09-03 | 1 | -2/+2 |
| | |||||
* | build: fix --branch flag | Hisham Muhammad | 2019-09-03 | 4 | -20/+9 |
| | | | | | | | | | | | | The `--branch` flag is optional and takes a string argument. The `--branch` flag does not make sense for `luarocks make` because it does not fetch sources, it builds/installs based on whatever is in the current directory. This also adds tests that verify the behavior, but these don't run in Travis CI because of issues running a Git daemon there. They were verified locally. | ||||
* | Fix `luarocks build --pack-binary-rock --no-doc` | Paul Ouellette | 2019-09-03 | 1 | -4/+4 |
| | |||||
* | util: fix cleanup_path order | Hisham Muhammad | 2019-09-02 | 3 | -15/+18 |
| | | | | | | | | | | | This change ensures that the package path fixups done by the bin wrapper take effect. Commit 72d80a35 had the default behavior inverted, and affected its use in `luarocks.core.cfg`. Commit 0823c4dd62e accidentally removed the use of `flags["append"]` in `luarocks.cmd.path` and this slipped code review. This restores it. | ||||
* | cmd: fix linebreaks listing rocks trees | Hisham Muhammad | 2019-08-30 | 1 | -1/+2 |
| | |||||
* | cmd: include explicit preliminary cfg.init | Hisham Muhammad | 2019-08-30 | 1 | -0/+3 |
| | |||||
* | fs: make fs reinitializable | Hisham Muhammad | 2019-08-30 | 2 | -8/+18 |
| | | | | See #1069. | ||||
* | cmd: move cross-compilation hack to the right place | Hisham Muhammad | 2019-08-28 | 1 | -13/+12 |
| | |||||
* | Fix wrong versions in search failure error message | Paul Ouellette | 2019-08-27 | 2 | -3/+5 |
| | |||||
* | Fix build --no-doc | Paul Ouellette | 2019-08-27 | 1 | -0/+1 |
| | |||||
* | Merge PR #1035 | daurnimator | 2019-08-24 | 35 | -1225/+3089 |
|\ | |||||
| * | Rewrap some help messages to 80 cols | Paul Ouellette | 2019-08-22 | 2 | -27/+24 |
| | | |||||
| * | Show config text only when run with no arguments | Paul Ouellette | 2019-08-17 | 1 | -17/+11 |
| | | |||||
| * | writer.make_namespace_file: name has no namespace | Paul Ouellette | 2019-08-17 | 1 | -3/+1 |
| | | |||||
| * | Revert variable rename in cmd/make.lua | Paul Ouellette | 2019-08-17 | 1 | -6/+6 |
| | | |||||
| * | Simplify deps.get_deps_mode | Paul Ouellette | 2019-08-17 | 1 | -5/+1 |
| | | |||||
| * | Allow using - or _ in commands | Paul Ouellette | 2019-08-17 | 4 | -0/+6 |
| | | |||||
| * | Update to argparse 0.7.0 | Paul Ouellette | 2019-08-17 | 1 | -50/+115 |
| | | |||||
| * | Set option descriptions using argument | Paul Ouellette | 2019-08-17 | 2 | -2/+2 |
| | | |||||
| * | Use default -h flag | Paul Ouellette | 2019-08-17 | 26 | -26/+0 |
| | | |||||
| * | Hide --project-tree option | Paul Ouellette | 2019-08-17 | 1 | -2/+2 |
| | | |||||
| * | Fix epilog not showing with `luarocks help` | Paul Ouellette | 2019-08-02 | 1 | -3/+11 |
| | | | | | | | | | | | | Argparse will print the help when we call :parse(), so the epilog has to be set at that time. We also want to show an up to date config text when using `luarocks`, so update the epilog then. | ||||
| * | Add some missing descriptions | Paul Ouellette | 2019-08-01 | 4 | -4/+9 |
| | | |||||
| * | Remove unused --deps-mode option of test command | Paul Ouellette | 2019-08-01 | 1 | -1/+0 |
| | |