aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | Allow passing --force and --force-fast to `luarocks install` in all casesPeter Melnichenko2016-05-101-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.
* | | | | | | | | | | | | | | --force-fast in help summary.Hisham2016-05-101-1/+1
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | Rename broken --force=fast to --force-fastPeter Melnichenko2016-05-106-11/+12
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Refactor check_outdated() to avoid loops with unconditional breaksPeter Melnichenko2016-05-101-15/+7
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Fix `luarocks list --outdated`Peter Melnichenko2016-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compare latest available version with latest installed version, not with lexicographically smallest installed version.
* | | | | | | | | | | | | | Fix some typos in messagesPeter Melnichenko2016-05-102-2/+2
|/ / / / / / / / / / / / /
* | | | | | | | | | / / / Set permissions explicitly when copying or moving files.Hisham2016-05-0310-40/+60
| |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | |
* | | | | | | | | | | | Shorten code a bit.Hisham2016-05-031-7/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Feature-test rather than version-testHisham2016-05-031-4/+2
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #504 from Alloyed/fix-temp-filesHisham Muhammad2016-05-035-21/+55
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Use mkstemp()/mkdtemp() where available
| * | | | | | | | | | | | Use mkdtemp() where availableKyle McLamb2016-03-275-21/+55
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #524 from mpeterv/better-suitable-rock-errHisham Muhammad2016-05-035-23/+95
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show supported Lua versions on fail in search.find_suitable_rock
| * | | | | | | | | | | | | Show if rock is supported on other Lua versions on search failmpeterv2016-04-193-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."
| * | | | | | | | | | | | | Show search error in functions using find_suitable_rockmpeterv2016-04-193-4/+7
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | Add support for the --tree argument to the path commandRyan Hartlage2016-04-182-4/+10
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | Merge pull request #537 from mpeterv/silent-missing-manifHisham Muhammad2016-04-183-8/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | Don't report missing manifests in 'luarocks list'
| * | | | | | | | | | | | Don't report missing manifests in 'luarocks list'mpeterv2016-04-073-8/+10
| |/ / / / / / / / / / /
* | | | | | | | | | | | Fix loud archive unpackingmpeterv2016-04-141-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.
* | | | | | | | | | | | Quote archive name when unpackingmpeterv2016-04-141-2/+2
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also use vars.TAR instead of literal "tar" when unpacking .tar.bz2
* | | | | | | | | | | luarocks show: split direct and indirect depsmpeterv2016-03-221-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally show constraints for direct deps and versions used for all deps.
* | | | | | | | | | | luarocks show: print modules and deps sortedmpeterv2016-03-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Affects order when --modules and --deps flags are used.
* | | | | | | | | | | Fix stat error on `luarocks download <provided rock> --all`mpeterv2016-03-201-9/+14
| | | | | | | | | | |
* | | | | | | | | | | Refactor download.downloadmpeterv2016-03-201-18/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | search.find_suitable_rock now can't return a table.
* | | | | | | | | | | Don't handle multiple rock queries in find_suitable_rockmpeterv2016-03-203-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.
* | | | | | | | | | | Doc fixes for luarocks.searchmpeterv2016-03-191-7/+11
| | | | | | | | | | |
* | | | | | | | | | | Implement magical rockspec picking for "luarocks make"mpeterv2016-03-171-9/+58
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-03-141-4/+7
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Add HaikuOS as platformDaniel Lemos2016-03-141-4/+7
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'master' of https://github.com/katlogic/luarocks into ↵Hisham2016-03-141-3/+25
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | katlogic-master
| * | | | | | | | | | | Implement MSYS2 supportKarel Tuma2016-02-231-3/+25
| | | | | | | | | | | |
* | | | | | | | | | | | Make sure deps-mode is respected when recursing the dependency chain.Hisham2016-03-011-1/+1
|/ / / / / / / / / / /
* | | | | | | | | | | Compatibility with lua-zlibmpeterv2016-02-191-20/+36
| | | | | | | | | | |
* | | | | | | | | | | Fix trailing space in dep.show_dep on dep without constraintsmpeterv2016-02-131-5/+9
| | | | | | | | | | |
* | | | | | | | | | | Add --tag option for luarocks new_versionmpeterv2016-02-111-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.
* | | | | | | | | | | Fix update_source_section in new_versionmpeterv2016-02-111-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
* | | | | | | | | | | Remove a redundant check in new_versionmpeterv2016-02-111-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The template rockspec is type checked, no need to check if source table is present.
* | | | | | | | | | | Fix "missing argument" message for new_versionmpeterv2016-02-111-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #483 from Tieske/errmsg_jsonPeter Melnichenko2016-02-111-6/+15
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | provide a better error message for missing json libraries
| * | | | | | | | | | | 2nd occurence of the json error message also updatedThijs Schreijer2016-01-101-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | removed duplicate code, this part seems copy-pasted from the part that was ↵Thijs Schreijer2016-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | later fixed by #455, hence this still contained the same bug
| * | | | | | | | | | | provide a better error message for missing json librariesThijs Schreijer2016-01-101-3/+12
| | | | | | | | | | | |
* | | | | | | | | | | | Add compatibility with lhf's lmd5 module.Philipp Janda2016-02-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #494.
* | | | | | | | | | | | Fix docs for path.which_i and some of its usersmpeterv2016-02-022-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It actually accepts file name of the module as in manifest.repository[package][version].modules[module], not the module name.
* | | | | | | | | | | | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-02-016-26/+11
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Do not handle cfg.local_cache == nil in luarocks.cachempeterv2016-01-111-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfg.local_cache is always set by defaults. Fixes #479.
| * | | | | | | | | | | | Report unknown commands consistentlympeterv2016-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now both 'luarocks foo' and 'luarocks help foo' print 'Unknown command: foo'.
| * | | | | | | | | | | | Remove two unnecessary require callsmpeterv2016-01-112-2/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | luarocks make: ignore 'rockspec' directory when no argument givenmpeterv2016-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without an argument luarocks make looks if there is only one rockspec in the current directory. Consider only files as potential rockspec to avoid strange error when current directory contains a directory ending with 'rockspec'.
| * | | | | | | | | | | | Merge pull request #467 from mpeterv/build-builtin-errorsHisham Muhammad2016-01-111-8/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | Improve builtin build backend errors
| | * | | | | | | | | | | Improve error handling in builtin backendmpeterv2015-12-191-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show error message from fs.copy when failed to install a file. Nice for Lua module files, since their existence is not checked beforehand. Also remove extra 'local ok, err' declarations.