aboutsummaryrefslogtreecommitdiff
path: root/lfw (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-05-10Announce each missing dep before its installPeter Melnichenko1-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-10Don't spam 'Updating manifest for...'Peter Melnichenko1-2/+0
Installation success message is enough and is more important (what's a manifest and why users should care?)
2016-05-10Use same messages for installing binary and source rocksPeter Melnichenko3-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-10Shorten logging for `luarocks install`Peter Melnichenko2-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-08Fix some luacheck warnings in install.batPeter Melnichenko1-6/+3
2016-05-03Set permissions explicitly when copying or moving files.Hisham10-40/+60
2016-05-03Shorten code a bit.Hisham1-7/+1
2016-05-03Feature-test rather than version-testHisham1-4/+2
2016-04-18Add support for the --tree argument to the path commandRyan Hartlage4-4/+12
2016-04-19Show if rock is supported on other Lua versions on search failmpeterv3-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-19Show search error in functions using find_suitable_rockmpeterv3-4/+7
2016-04-18Update LuaCovmpeterv1-1/+1
2016-04-18Update LuaSecHisham1-1/+1
2016-04-14Fix loud archive unpackingmpeterv1-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-14Quote archive name when unpackingmpeterv1-2/+2
Also use vars.TAR instead of literal "tar" when unpacking .tar.bz2
2016-04-10A number of tests for the luaRocks test suite.Mihai Branescu1-1/+9
2016-04-07Don't report missing manifests in 'luarocks list'mpeterv3-8/+10
2016-04-03install.bat: fix Wow6432Node substitutionmpeterv1-1/+1
2016-03-27Use mkdtemp() where availableKyle McLamb5-21/+55
2016-03-22Add tests for more flagsCameron Moy1-0/+10
2016-03-22luarocks show: split direct and indirect depsmpeterv1-2/+28
Additionally show constraints for direct deps and versions used for all deps.
2016-03-22luarocks show: print modules and deps sortedmpeterv1-1/+3
Affects order when --modules and --deps flags are used.
2016-03-21Add few more tests for command_linebhattigurjot1-1/+5
2016-03-21Add tests for command_linebhattigurjot1-0/+2
2016-03-20Fix stat error on `luarocks download <provided rock> --all`mpeterv1-9/+14
2016-03-20Refactor download.downloadmpeterv1-18/+13
search.find_suitable_rock now can't return a table.
2016-03-20Don't handle multiple rock queries in find_suitable_rockmpeterv3-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-19Add tests for search querybhattigurjot1-0/+3
2016-03-19Add split_server_url test for handling local cachebhattigurjot1-0/+1
2016-03-19Small addition to test suite #GSoCroboo2-0/+9
2016-03-19Doc fixes for luarocks.searchmpeterv1-7/+11
2016-03-17Implement magical rockspec picking for "luarocks make"mpeterv2-11/+62
2016-03-14Add HaikuOS as platformDaniel Lemos1-4/+7
2016-03-01Make sure deps-mode is respected when recursing the dependency chain.Hisham1-1/+1
2016-02-29Test that 'unzip' is present in the $PATH.Hisham1-3/+5
2016-02-23Implement MSYS2 supportKarel Tuma1-3/+25
2016-02-19Compatibility with lua-zlibmpeterv1-20/+36
2016-02-13Fix trailing space in dep.show_dep on dep without constraintsmpeterv1-5/+9
2016-02-11Add a test for luarocks new_version --tagmpeterv1-0/+1
2016-02-11Add --tag option for luarocks new_versionmpeterv1-8/+18
Allows using new_version command to create tagged rockspecs from untagged scm rockspecs. If not given, new version is copied from passed tag, with leading 'v' stripped if it's present.
2016-02-11Fix update_source_section in new_versionmpeterv1-22/+37
* Don't confuse cases "MD5 changed with same URL" and "couldn't fetch" * Don't check MD5 if it's not present in the old rockspec * Don't drop errors in fs.get_md5 * Don't drop errors in fetch.find_base_dir
2016-02-11Remove a redundant check in new_versionmpeterv1-3/+0
The template rockspec is type checked, no need to check if source table is present.
2016-02-11Fix "missing argument" message for new_versionmpeterv1-1/+1
2016-02-07Add compatibility with lhf's lmd5 module.Philipp Janda1-0/+8
Closes #494.
2016-02-02Fix docs for path.which_i and some of its usersmpeterv2-24/+24
It actually accepts file name of the module as in manifest.repository[package][version].modules[module], not the module name.
2016-02-01Make search order deterministic.Hisham1-3/+4
2016-01-22Update repo URLs to luarocks.org instead of rocks.moonscript.orgJonathan Goble2-2/+2
Previously, this used an old URL and downloaded over HTTP, in cleartext. This commit updates to the URL that the old one redirects to, and changes to HTTPS encryption for security. HTTPS is currently impossible on rocks.moonscript.org because the security certificate for that domain expired in May 2015.
2016-01-11Do not handle cfg.local_cache == nil in luarocks.cachempeterv1-14/+1
cfg.local_cache is always set by defaults. Fixes #479.
2016-01-11Report unknown commands consistentlympeterv1-1/+1
Now both 'luarocks foo' and 'luarocks help foo' print 'Unknown command: foo'.
2016-01-11Remove two unnecessary require callsmpeterv2-2/+1