Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2016-05-22 | Infer name and version for `luarocks write-rockspec [path]` | Peter Melnichenko | 1 | -29/+26 | |
* Default path for `write-rockspec` is now `.`. * Use `scm` as default version in all cases. * Infer rock name as base directory of current path when passing `.` as path. As a result, `luarocks write-rockspec` with no arguments creates an scm rockspec. | |||||
2016-05-22 | Fix behaviour of `luarocks write-rockspec` with two args | Peter Melnichenko | 1 | -0/+1 | |
It accepts name, version and location. If two are given, the first one is considered the name and the second the location, but the version is also set to the location. Reset it to allow guessing it or using default (scm). | |||||
2016-05-18 | Fix luarocks.repos module mutation | Peter Melnichenko | 1 | -3/+2 | |
Don't set repos.ok and repos.err | |||||
2016-05-17 | Added tests for new install functionality | roboo | 2 | -2/+31 | |
2016-05-16 | Refactor match_dep() | Peter Melnichenko | 1 | -31/+15 | |
* Instead of applying blacklist and sorting versions in separate steps do a single pass over the list. * On success return just the version instead of {name = name, version = version} since rock name is stored inside dependency table already. | |||||
2016-05-14 | Return missing deps listing in `luarocks install` output | Peter Melnichenko | 1 | -4/+21 | |
2016-05-10 | Allow passing --force and --force-fast to `luarocks install` in all cases | Peter Melnichenko | 1 | -1/+1 | |
When installing an old version of a rock that breaks existing dependencies, removing previously installed version fails, and --force is suggested. However, when installing using a rockspec or a source rock --force and --force-fast are not forwarded to build command. | |||||
2016-05-10 | Rename broken --force=fast to --force-fast | Peter Melnichenko | 7 | -11/+13 | |
2016-05-10 | Refactor check_outdated() to avoid loops with unconditional breaks | Peter Melnichenko | 1 | -15/+7 | |
2016-05-10 | Fix `luarocks list --outdated` | Peter Melnichenko | 1 | -1/+1 | |
Compare latest available version with latest installed version, not with lexicographically smallest installed version. | |||||
2016-05-10 | Fix some typos in messages | Peter Melnichenko | 2 | -2/+2 | |
2016-05-10 | Announce each missing dep before its install | Peter Melnichenko | 1 | -41/+31 | |
Instead of lising all missing deps before installing all of them, announce each missing dep right before installing it. Also show current rock versions for missing deps. | |||||
2016-05-10 | Don't spam 'Updating manifest for...' | Peter Melnichenko | 1 | -2/+0 | |
Installation success message is enough and is more important (what's a manifest and why users should care?) | |||||
2016-05-10 | Use same messages for installing binary and source rocks | Peter Melnichenko | 3 | -18/+16 | |
Move successful installation announcement into an util function. Don't print that the rock was "built": sometimes there is nothing to build (pure Lua rocks), and for C rocks compilation commands are printed already. | |||||
2016-05-10 | Shorten logging for `luarocks install` | Peter Melnichenko | 2 | -2/+2 | |
Instead of mentioning URL twice in Installing URL... Using URL... switching to 'build' mode simply print Installing URL and don't print URL at all when it's the argument to `luarocks install` (it's a bit redundant), only when it's a result of a search. | |||||
2016-05-08 | Fix some luacheck warnings in install.bat | Peter Melnichenko | 1 | -6/+3 | |
2016-05-03 | Set permissions explicitly when copying or moving files. | Hisham | 10 | -40/+60 | |
2016-05-03 | Shorten code a bit. | Hisham | 1 | -7/+1 | |
2016-05-03 | Feature-test rather than version-test | Hisham | 1 | -4/+2 | |
2016-04-18 | Add support for the --tree argument to the path command | Ryan Hartlage | 4 | -4/+12 | |
2016-04-19 | Show if rock is supported on other Lua versions on search fail | mpeterv | 3 | -19/+88 | |
Supporting changes: * Change structure of manifest cache: map from repo_url to tables mapping from lua versions to manifests. * New manif_core cache_manifest and get_cached_manifest functions to hide cache implementation. * lua_version optional argument for functions between search.find_suitable_rock and manifest loader. Main changes: * Add a helper function supported_lua_versions that checks which Lua versions can satisfy a query. * Use this helper function when a search for a rock failed, in search.find_suitable_rock, if constraints can be satisfied under a different Lua version mention that in the error message. Examples of error messages: * Constraint "sailor": "sailor supports only Lua 5.1 and Lua 5.2 but not Lua 5.3." * Constraint "sailor 0.5": "sailor 0.5 supports only Lua 5.1 and Lua 5.2 but not Lua 5.3." * Constraint "sailor >= 0.5": "Matching sailor versions support only Lua 5.1 and Lua 5.2 but not Lua 5.3." | |||||
2016-04-19 | Show search error in functions using find_suitable_rock | mpeterv | 3 | -4/+7 | |
2016-04-18 | Update LuaCov | mpeterv | 1 | -1/+1 | |
2016-04-18 | Update LuaSec | Hisham | 1 | -1/+1 | |
2016-04-14 | Fix loud archive unpacking | mpeterv | 1 | -3/+9 | |
In luarocks.fs.unix.tools.unpack_archive execute commands in quiet mode (that is, silenced by default, but not with --verbose), like in luarocks.fs.unzip and luarocks.fs.win32.tools.unpack_archive. | |||||
2016-04-14 | Quote archive name when unpacking | mpeterv | 1 | -2/+2 | |
Also use vars.TAR instead of literal "tar" when unpacking .tar.bz2 | |||||
2016-04-10 | A number of tests for the luaRocks test suite. | Mihai Branescu | 1 | -1/+9 | |
2016-04-07 | Don't report missing manifests in 'luarocks list' | mpeterv | 3 | -8/+10 | |
2016-04-03 | install.bat: fix Wow6432Node substitution | mpeterv | 1 | -1/+1 | |
2016-03-27 | Use mkdtemp() where available | Kyle McLamb | 5 | -21/+55 | |
2016-03-22 | Add tests for more flags | Cameron Moy | 1 | -0/+10 | |
2016-03-22 | luarocks show: split direct and indirect deps | mpeterv | 1 | -2/+28 | |
Additionally show constraints for direct deps and versions used for all deps. | |||||
2016-03-22 | luarocks show: print modules and deps sorted | mpeterv | 1 | -1/+3 | |
Affects order when --modules and --deps flags are used. | |||||
2016-03-21 | Add few more tests for command_line | bhattigurjot | 1 | -1/+5 | |
2016-03-21 | Add tests for command_line | bhattigurjot | 1 | -0/+2 | |
2016-03-20 | Fix stat error on `luarocks download <provided rock> --all` | mpeterv | 1 | -9/+14 | |
2016-03-20 | Refactor download.download | mpeterv | 1 | -18/+13 | |
search.find_suitable_rock now can't return a table. | |||||
2016-03-20 | Don't handle multiple rock queries in find_suitable_rock | mpeterv | 3 | -36/+25 | |
In practice search.find_suitable_rock is always called with a precise query (no fuzzy name matching), and not all callers handle table as return value correctly. | |||||
2016-03-19 | Add tests for search query | bhattigurjot | 1 | -0/+3 | |
2016-03-19 | Add split_server_url test for handling local cache | bhattigurjot | 1 | -0/+1 | |
2016-03-19 | Small addition to test suite #GSoC | roboo | 2 | -0/+9 | |
2016-03-19 | Doc fixes for luarocks.search | mpeterv | 1 | -7/+11 | |
2016-03-17 | Implement magical rockspec picking for "luarocks make" | mpeterv | 2 | -11/+62 | |
2016-03-14 | Add HaikuOS as platform | Daniel Lemos | 1 | -4/+7 | |
2016-03-01 | Make sure deps-mode is respected when recursing the dependency chain. | Hisham | 1 | -1/+1 | |
2016-02-29 | Test that 'unzip' is present in the $PATH. | Hisham | 1 | -3/+5 | |
2016-02-23 | Implement MSYS2 support | Karel Tuma | 1 | -3/+25 | |
2016-02-19 | Compatibility with lua-zlib | mpeterv | 1 | -20/+36 | |
2016-02-13 | Fix trailing space in dep.show_dep on dep without constraints | mpeterv | 1 | -5/+9 | |
2016-02-11 | Add a test for luarocks new_version --tag | mpeterv | 1 | -0/+1 | |