Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | find .luarocks directory and use its location as project root | Hisham Muhammad | 2018-05-31 | 1 | -2/+18 | |
| | ||||||
* | init: improve .gitignore, improve output | Hisham Muhammad | 2018-05-31 | 1 | -7/+31 | |
| | ||||||
* | Add --project-tree flag, for prepending a flag | Hisham Muhammad | 2018-05-31 | 2 | -0/+5 | |
| | ||||||
* | search: shorten repo paths displayed | Hisham Muhammad | 2018-05-31 | 1 | -1/+1 | |
| | ||||||
* | write_rockspec: do not print license when detected | Hisham Muhammad | 2018-05-31 | 1 | -10/+15 | |
| | ||||||
* | list: show tree in list title when using --tree | Hisham Muhammad | 2018-05-31 | 1 | -1/+3 | |
| | ||||||
* | help: minor cosmetic changes | Hisham Muhammad | 2018-05-31 | 1 | -8/+11 | |
| | ||||||
* | init: begin implementing `luarocks init` | Hisham Muhammad | 2018-05-31 | 2 | -0/+69 | |
| | ||||||
* | fs: wrap_script: allow hardcoding arguments, support wrapping luarocks | Hisham Muhammad | 2018-05-31 | 4 | -34/+89 | |
| | ||||||
* | Remove the empty file resulted when fs.download fails | George Roman | 2018-05-30 | 1 | -0/+1 | |
| | ||||||
* | write_rockspec: Add support for Lua 5.4 | Kim Alvefur | 2018-05-25 | 1 | -2/+11 | |
| | ||||||
* | Whitelist Lua 5.4 | Kim Alvefur | 2018-05-25 | 2 | -2/+2 | |
| | ||||||
* | Replace fs.chmod with fs.set_permissions | George Roman | 2018-05-17 | 15 | -43/+161 | |
| | ||||||
* | luarocks-admin: only create index.html if it already exists or --index is given | Hisham Muhammad | 2018-05-07 | 5 | -13/+27 | |
| | ||||||
* | luarocks-admin: make `add` work with file:// servers | Hisham Muhammad | 2018-05-07 | 2 | -8/+9 | |
| | ||||||
* | test.busted: add explicit fallback for finding Busted on Windows | Hisham Muhammad | 2018-05-07 | 1 | -1/+5 | |
| | ||||||
* | test: auto-install busted if not found | Hisham Muhammad | 2018-05-07 | 1 | -2/+26 | |
| | ||||||
* | deps: add fulfill_dependency for resolving a single dependency | Hisham Muhammad | 2018-05-07 | 2 | -43/+64 | |
| | ||||||
* | test: add --test-type flag for not auto-detected test types | Hisham Muhammad | 2018-05-07 | 3 | -6/+16 | |
| | ||||||
* | rockspec format: add `test_dependencies` | Hisham Muhammad | 2018-05-07 | 4 | -2/+34 | |
| | ||||||
* | path: change signature of root_dir(), make things more consistent | Hisham Muhammad | 2018-05-07 | 4 | -26/+16 | |
| | ||||||
* | test: initial implementation of `luarocks.test` | Hisham Muhammad | 2018-05-07 | 6 | -0/+191 | |
| | | | | | | | | | | | Adds: * `luarocks test` command * `luarocks.test` module * TODO: support running test from `build` as well * `luarocks.test.busted` test backend * TODO: add test-only dependency on Busted * `luarocks.test.command` test backend | |||||
* | rockspec format: add `test` | Hisham Muhammad | 2018-05-07 | 1 | -0/+8 | |
| | | | | Adds a top-level table `test` to the format | |||||
* | Make copy_contents have the same behaviour on Windows and on Unix | George Roman | 2018-04-24 | 2 | -8/+18 | |
| | ||||||
* | Some luacheck cleanups | Hisham Muhammad | 2018-04-23 | 5 | -13/+13 | |
| | ||||||
* | admin.cache: minor refactor | Hisham Muhammad | 2018-04-23 | 1 | -13/+19 | |
| | ||||||
* | Fix interpretation of `--` in parse_flags | Hisham Muhammad | 2018-04-23 | 1 | -6/+5 | |
| | | | | | Ensure that any further `--` after the first one is passed verbatim to the arguments array. | |||||
* | Update URL for reporting bugs | Hisham Muhammad | 2018-04-23 | 1 | -1/+1 | |
| | ||||||
* | queries: use metatable for default arch and substring fields | Hisham Muhammad | 2018-04-23 | 1 | -10/+12 | |
| | | | | | | | Store default values for the `arch` and `substring` fields of query objects in the metatable, to avoid storing them in the actual object for dependency listings, that are persisted in the manifest. | |||||
* | luarocks list: fix regression in display of version numbers | Hisham Muhammad | 2018-04-19 | 1 | -0/+3 | |
| | ||||||
* | rockspec: add missing references to build_dependencies | Hisham Muhammad | 2018-04-19 | 1 | -1/+2 | |
| | ||||||
* | Add config file format link in `luarocks help config` | Hisham Muhammad | 2018-04-16 | 2 | -0/+7 | |
| | | | | Closes #280. | |||||
* | check types in report_missing_dependencies | Hisham Muhammad | 2018-04-13 | 1 | -0/+6 | |
| | ||||||
* | Use a single load_manifest function throughout the program | Hisham Muhammad | 2018-04-13 | 5 | -19/+35 | |
| | ||||||
* | Display namespaces in `luarocks show` | Hisham Muhammad | 2018-04-13 | 4 | -34/+49 | |
| | ||||||
* | fixup: always check external dependencies, even with --nodeps | Hisham Muhammad | 2018-04-13 | 1 | -6/+7 | |
| | ||||||
* | Support build_dependencies in the show command | Hisham Muhammad | 2018-04-13 | 2 | -9/+22 | |
| | ||||||
* | Add support for build-only dependencies | Hisham Muhammad | 2018-04-13 | 6 | -31/+49 | |
| | | | | | | | | Adds the `build_dependencies` key to the rockspec format, for dependencies that are only triggered when building from source (e.g. via `luarocks build` or running `luarocks install` on a rockspec) and not when building from a packaged `.rock` file using `luarocks install`. | |||||
* | show: make --deps aware of namespaces | Hisham Muhammad | 2018-04-11 | 1 | -1/+4 | |
| | ||||||
* | queries: fix tostring() | Hisham Muhammad | 2018-04-11 | 1 | -1/+1 | |
| | ||||||
* | Try to isolate uses of namespaced name strings | Hisham Muhammad | 2018-04-11 | 13 | -71/+71 | |
| | | | | | | | | | | | | | Add asserts to uses of `name` arguments to check that they are not namespaced; rename namespace-able name arguments to `ns_name` and avoid some unrelated uses of the `name` argument that don't represent rock names (there are still others around, to be fixed eventually). This may cause some failures in some untested code paths with namespaced packages, but we hope to catch them with better testing. Better to be safe here than to perform filesystem operations on incorrect paths. | |||||
* | Make pack_installed_rock operate on query objects | Hisham Muhammad | 2018-04-11 | 2 | -8/+7 | |
| | ||||||
* | Read namespace on disk search as well | Hisham Muhammad | 2018-04-11 | 1 | -12/+20 | |
| | ||||||
* | Add support for namespaces. | Hisham Muhammad | 2018-04-11 | 32 | -387/+612 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For details of the new feature, see https://github.com/luarocks/luarocks/wiki/Namespaces This ended up being a huge commit because of some major refactoring motivated by the new feature: * new modules for some object types: * `luarocks.queries` - all functions that look for rocks in local or remote repositories now use objects constructed by this module: query objects contain the name, namespace and query constraints. Dependencies in a rockspec are also stored as query objects. * `luarocks.results` - all individual results produces from queries are returned in this format: result objects contain the name, namespace, version, arch and repo. * the `results` object was renamed to `result_tree`, to better reflect that it is not an array of `result` objects. * `luarocks.vers` was removed, its functionality was moved to better locations. Specifically on namespaces: * Commands that take a rock `name` can now take `namespace/name` (and alternately `--flags=namespace` so that URLs can be also installed with a nominal namespace). * Rocks installed from a namespace now create a `rock_namespace` file alongside `rock_manifest`, which is used when matching namespaced dependencies against locally-installed rocks. * Using namespaced dependencies in a rockspec, requires `rockspec_format = "3.0"`. * Tests under the `#namespaces` hashtag, all using a local repository. | |||||
* | Beginning support for namespaced queries | Hisham Muhammad | 2018-04-11 | 11 | -76/+132 | |
| | ||||||
* | add --porcelain to search help | Alec Larson | 2018-04-10 | 1 | -6/+7 | |
| | ||||||
* | write_rockspec: cleanup source.identifier | Hisham Muhammad | 2018-03-30 | 1 | -0/+1 | |
| | ||||||
* | Nicer title message for `luarocks list` | Hisham Muhammad | 2018-03-23 | 1 | -1/+1 | |
| | ||||||
* | upload: new flag --temp-key | Hisham Muhammad | 2018-03-20 | 3 | -1/+4 | |
| | | | | | | New flag `--temp-key` for `luarocks upload`, allowing you to easily upload rocks into an alternate account without disrupting the stored configuration of your main account. | |||||
* | Use posix.mkdtemp conditionally | Hisham Muhammad | 2018-03-13 | 1 | -1/+5 | |
| | | | | Closes #677. |