aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Merge pull request #495 from keplerproject/md5compatIgnacio Burgueño2016-02-081-0/+8
|\ \ | | | | | | Add compatibility with lhf's lmd5 module.
| * | 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-018-47/+29
|\ \
| * \ Merge pull request #488 from jcgoble3/jcgoble3/url-updatePeter Melnichenko2016-01-252-2/+2
| |\ \ | | | | | | | | Update repo URLs to luarocks.org instead of rocks.moonscript.org
| | * | Update repo URLs to luarocks.org instead of rocks.moonscript.orgJonathan Goble2016-01-222-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.
| * | 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.
| | * Fix extension splitting in builting backendmpeterv2015-12-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes incorrect gcc command and error message when a file name doesn't contain a dot: Error: Build error: Failed compiling object .o becomes Error: Build error: Failed compiling object dotlessname
| * | Merge pull request #478 from mpeterv/viewable-coverageHisham Muhammad2016-01-041-19/+16
| |\ \ | | | | | | | | Upgrade to LuaCov 0.9.1, make coverage viewable
| | * | Upgrade to LuaCov 0.9.1, make coverage viewablempeterv2016-01-041-19/+16
| |/ /
* / / Make search order deterministic.Hisham2016-02-011-3/+4
|/ /
* | Merge pull request #473 from geoffleyland/add-git-ssh-supportHisham Muhammad2015-12-292-1/+33
|\ \ | | | | | | Add git+ssh support to fetchers, including both kinds of git ssh url
| * | Add git+ssh support to fetchers, including both kinds of git ssh urlGeoff Leyland2015-12-232-1/+33
| | |
* | | Merge pull request #476 from Tieske/masterThijs Schreijer2015-12-261-1/+1
|\ \ \ | |/ / |/| | fix missing variable expansion when using a self contained configuration
| * | fix missing variable expansion when using a self contained configurationThijs Schreijer2015-12-261-1/+1
| |/
* | Merge pull request #471 from mpeterv/fix-travisHisham Muhammad2015-12-221-0/+1
|\ \ | |/ |/| Install luabitop from src rock on travis
| * Install luabitop from src rock on travismpeterv2015-12-221-0/+1
|/ | | | | Fixes Travis failure when attempting to fetch luabitop sources from luajit.org, which has blocked downloads from travis recently.
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-12-061-1/+5
|\
| * Fix find_program() in configurempeterv2015-12-061-1/+5
| | | | | | | | | | | | which returns path to the program, not to the directory containing it. That causes errors when configuring without --with-lua. The fix is to apply 'dirname' if 'command -v' was a success.
* | Stricter version consistency checks.Hisham Muhammad2015-12-061-2/+29
|/
* Improve writability checks.Hisham Muhammad2015-12-053-10/+33
| | | | | | LuaRocks does `mkdir -p` (or equivalent), so we can check for the entire chain of parents for a writable directory. Closes #449.
* Merge pull request #464 from mpeterv/improve-ext-depsHisham Muhammad2015-12-051-19/+34
|\ | | | | Show candidate files when external deps are missing
| * Process external deps in sorted ordermpeterv2015-12-051-2/+2
| | | | | | | | | | Ensure consistent output for Lua 5.3 where key order of pairs() can change between two runs.
| * Show candidate files when external deps are missingmpeterv2015-12-051-18/+33
|/
* Merge pull request #462 from Tieske/test_xpolThijs Schreijer2015-12-021-4/+140
|\ | | | | Auto setup MSVC enviornments
| * removed /debug /release switches for setting up the enviornment. it does NOT ↵Thijs Schreijer2015-12-021-2/+1
| | | | | | | | determine linking against a debug runtime or release runtime.
| * Merge branch 'test_xpol' of github.com:Tieske/luarocks into test_xpolThijs Schreijer2015-12-011-1/+1
| |\
| | * Merge pull request #1 from ignacio/patch-1Thijs Schreijer2015-12-011-1/+1
| | |\ | | | | | | | | Fix typo
| | | * Fix typoIgnacio Burgueño2015-12-011-1/+1
| | |/
| * / added debug/release option for SDK detectionThijs Schreijer2015-12-011-1/+2
| |/
| * updated;Thijs Schreijer2015-12-011-9/+54
| | | | | | | | | | | | - output on checks done - commandline switch to disable the auto-search for ms tools - added debug libs to the SDK search
| * Merge branch 'master' of github.com:xpol/luarocks into test_xpolThijs Schreijer2015-12-011-1/+92
| |\
| | * User assertion for required condition check.xpol2015-11-031-3/+3
| | |
| | * Enable batch script delayed expansion and extensions.Xpol Wan2015-11-011-1/+1
| | | | | | | | | | | | This is required for Windows SDK setenv.cmd.
| | * Support Visual Studio Express Editions and cleanup code.Xpol Wan2015-11-011-14/+18
| | |
| | * Add support for Windows SDK v7.1 and v6.1.Xpol Wan2015-11-011-24/+60
| | | | | | | | | | | | Other Windows SDK versions requires a separate installation of Visual Studio.
| | * Move mingw test out of get_msvc_env_setup_cmd().Xpol Wan2015-10-271-3/+1
| | |
| | * Don't setup msvc when user desires MinGW.Xpol Wan2015-10-271-0/+2
| | |