summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* do not warn about skipping dependency checksHisham Muhammad2019-11-292-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 lockfileHisham Muhammad2019-11-298-111/+113
|
* config: fix --unsetHisham Muhammad2019-11-291-1/+1
|
* repos: speed up file installs and deletesHisham Muhammad2019-11-291-24/+71
|
* cache rockspecs and src.rocks and check timestampHisham Muhammad2019-11-293-28/+52
|
* Add --check-lua-versions flag (#1115)Hisham Muhammad2019-11-2310-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 Perrad2019-11-221-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 Ouellette2019-11-154-30/+32
| | | | | | * Support make --no-doc * Add test for make --no-doc
* repos: rollback on installation failure (#1101)Hisham Muhammad2019-10-181-14/+54
|
* manif.writer: make remove_from_manifest more resilient (#1096)Hisham Muhammad2019-09-231-0/+9
| | | Fixes #1095.
* vers: add extra metamethod needed by Lua 5.4 (#1088)Dude1121132019-09-091-0/+6
|
* fix Windows cross-compilation hackHisham Muhammad2019-09-052-13/+15
|
* fix local search of manifestsHisham Muhammad2019-09-051-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 flagsHisham Muhammad2019-09-041-29/+32
|
* Fix version detectionHisham Muhammad2019-09-041-0/+3
|
* cmd: avoid changing add_to_parser if command is missingdaurnimator2019-09-031-13/+12
|
* cmd: catch errors loading command modulesHisham Muhammad2019-09-031-11/+22
| | | | This should be useful for external modules.
* cmd: add compatibility mode for pre-argparse external commandsHisham Muhammad2019-09-031-0/+15
| | | | See #1070.
* fs: fix Lua wrapper for interactive modeHisham Muhammad2019-09-032-2/+5
|
* Fix manif.load_manifest changing current directoryPaul Ouellette2019-09-031-2/+2
|
* build: fix --branch flagHisham Muhammad2019-09-034-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 Ouellette2019-09-031-4/+4
|
* util: fix cleanup_path orderHisham Muhammad2019-09-023-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 treesHisham Muhammad2019-08-301-1/+2
|
* cmd: include explicit preliminary cfg.initHisham Muhammad2019-08-301-0/+3
|
* fs: make fs reinitializableHisham Muhammad2019-08-302-8/+18
| | | | See #1069.
* cmd: move cross-compilation hack to the right placeHisham Muhammad2019-08-281-13/+12
|
* Fix wrong versions in search failure error messagePaul Ouellette2019-08-272-3/+5
|
* Fix build --no-docPaul Ouellette2019-08-271-0/+1
|
* Merge PR #1035daurnimator2019-08-2435-1225/+3089
|\
| * Rewrap some help messages to 80 colsPaul Ouellette2019-08-222-27/+24
| |
| * Show config text only when run with no argumentsPaul Ouellette2019-08-171-17/+11
| |
| * writer.make_namespace_file: name has no namespacePaul Ouellette2019-08-171-3/+1
| |
| * Revert variable rename in cmd/make.luaPaul Ouellette2019-08-171-6/+6
| |
| * Simplify deps.get_deps_modePaul Ouellette2019-08-171-5/+1
| |
| * Allow using - or _ in commandsPaul Ouellette2019-08-174-0/+6
| |
| * Update to argparse 0.7.0Paul Ouellette2019-08-171-50/+115
| |
| * Set option descriptions using argumentPaul Ouellette2019-08-172-2/+2
| |
| * Use default -h flagPaul Ouellette2019-08-1726-26/+0
| |
| * Hide --project-tree optionPaul Ouellette2019-08-171-2/+2
| |
| * Fix epilog not showing with `luarocks help`Paul Ouellette2019-08-021-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 descriptionsPaul Ouellette2019-08-014-4/+9
| |
| * Remove unused --deps-mode option of test commandPaul Ouellette2019-08-011-1/+0
| |
| * Remove duplication between build and make commandsPaul Ouellette2019-08-012-45/+29
| |
| * Fix some failing testsPaul Ouellette2019-08-018-24/+45
| |
| * Add completion commandPaul Ouellette2019-08-011-1/+33
| |
| * Add argparsePaul Ouellette2019-08-012-1/+2014
| |
| * Rewrap some lines and fix some bugsPaul Ouellette2019-08-019-28/+21
| |
| * args["foo"] --> args.foo, flags --> argsPaul Ouellette2019-08-0125-178/+178
| |
| * Misc. fixesPaul Ouellette2019-08-014-6/+4
| |