aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mark release 2.2.2v2.2.2Hisham Muhammad2015-04-241-1/+1
|
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-04-231-1/+2
|\
| * Clip string.gsub results to just one when redacting url.Ignacio Burgueño2015-04-201-1/+1
| | | | | | | | We're not interested in printing the number of replacements performed.
| * Redact api tokens when using --verbose flagIgnacio Burgueño2015-04-201-1/+2
| | | | | | | | fixes #358
* | Install .md files as docsHisham Muhammad2015-04-231-1/+1
|/
* Update upload URL as well.Hisham Muhammad2015-04-201-1/+1
|
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-04-184-14/+79
|\
| * Merge pull request #349 from ignacio/build_only_depsIgnacio Burgueño2015-04-143-14/+72
| |\ | | | | | | Adds --only-deps flag to the 'build' command.
| | * Address issues spotted in the reviewIgnacio Burgueño2015-04-141-1/+1
| | |
| | * Adds --only-deps flag to install commandIgnacio Burgueño2015-04-142-4/+48
| | | | | | | | | | | | | | | | | | Introduces new function in 'install' module to only install the dependencies of a rock. Also adds the tests to the wip Lua test driver.
| | * Adds --only-deps flag to the 'build' command.Ignacio Burgueño2015-04-142-10/+24
| | | | | | | | | | | | | | | | | | As discussed in #287, adds a new flag (--only-deps) to the 'build' command, so only the dependencies of a rock are installed, and not the rock itself.
| * | Add git+https support.John Szakmeister2015-04-141-0/+7
| |/
* / MoonRocks → LuaRocks.org transition complete!Hisham Muhammad2015-04-181-1/+1
|/
* Update function documentation,Hisham Muhammad2015-04-131-2/+3
| | | | as suggested by @ignacio in #347.
* Decided to step back in turn this into a warning.Hisham Muhammad2015-04-131-2/+2
| | | | `luarocks list` on an empty ~/.luarocks is a valid use case.
* Fail when given an invalid tree.Hisham Muhammad2015-04-131-1/+4
|
* Fix crash on `luarocks --tree=/path list`.Hisham Muhammad2015-04-131-1/+2
| | | | Closes #347.
* Restore comment about second return,Hisham Muhammad2015-04-081-2/+3
| | | | | but put it in the right function. https://github.com/keplerproject/luarocks/pull/346#discussion_r28008668
* bail out on bad config files, fixes #228Thijs Schreijer2015-04-082-6/+6
|
* And also hide the startup logo for RC.Xpol Wan2015-04-021-1/+1
|
* Add options to hide the MSVC tools' startup logo.Xpol Wan2015-04-011-2/+2
|
* Fix summary detection in long paragraphsmpeterv2015-03-261-8/+5
| | | | | | | * `if summary then` branch was never taken as `summary` isn't assigned by then * Removing newlines in summary is useless since they have been replced with space already * `detect_description()` doesn't use rockspec argument any more
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-03-262-0/+6
|\
| * Revert incorrect remove of cmake_generator support. Only windows (msvc) ↵Xpol Wan2015-03-262-0/+6
| | | | | | | | default cmake_generator are removed.
* | Remove debugging print.Hisham Muhammad2015-03-261-1/+0
|/
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-03-241-1/+1
|\
| * Actually direct users to the bug trackermpeterv2015-03-241-1/+1
| | | | | | | | For some reason 53e0c65 didn't take effect.
* | Don't overwrite --detailed when given by the user.Hisham Muhammad2015-03-241-6/+12
|/ | | | See https://twitter.com/Nymphium/status/580098018201882624
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-03-241-1/+1
|\
| * A missing CWD returns "" for fs.current_dir on Ubuntu...Hisham Muhammad2015-03-241-1/+1
| |
* | A missing CWD returns "" for lfs.current_dir() on UbuntuHisham Muhammad2015-03-241-1/+1
| |
* | Really test for missing parameters.Hisham Muhammad2015-03-241-1/+13
|/ | | | | If we have a test for that, then it must have caused trouble in the past.
* Let's try harder to fail if CWD does not exist.Hisham Muhammad2015-03-242-3/+8
|
* Fix inconsistency in --homepage flag in `luarocks doc` and `luarocks ↵Hisham Muhammad2015-03-232-3/+3
| | | | | | write_rockspec`. `luarocks doc` now uses --home.
* Fix --lib flag (and my last commit goof...)Hisham Muhammad2015-03-233-5/+3
|
* Fix tests: new flag parser detected invalid flags in the testsuite.Hisham Muhammad2015-03-232-2/+4
|
* Add support for space in long option assignments.Hisham Muhammad2015-03-233-22/+100
| | | | | | | | | | | | | | Support assignments in long option in two tokens, so that ``` luarocks --only-from /foo/bar build luasocket ``` is accepted as a synonym to: ``` luarocks --only-from=/foo/bar build luasocket ``` (This is consistent with the GNU getopt handling of "--" long options.) Closes #65.
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-03-231-2/+3
|\
| * Fix confusing error when unpack fails due to network errormpeterv2015-03-231-2/+3
| | | | | | | | | | Before: `Error: .` After: `Error: Failed downloading http://bad_url`
* | Fail nicely if CWD does not exist. Fixes #147.Hisham Muhammad2015-03-233-5/+13
|/
* Expose platform and processor to home config files.Hisham Muhammad2015-03-192-6/+14
| | | | | | | | | | platform is a {string:boolean} table, with things such as platform.unix = true and platform.linux = true. processor is the same machine arch string you get when packing a binary rock (eg. "x86", "x86_64", "powerpc"). Closes #296.
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-03-195-45/+89
|\
| * Merge pull request #330 from mpeterv/hg-supportHisham Muhammad2015-03-194-1/+41
| |\ | | | | | | Improve hg support
| | * Improve hg supportmpeterv2015-03-194-1/+41
| | | | | | | | | | | | | | | | | | * Allow fetching from remote hg repos using hg+http, hg+https and hg+ssh protocols; * Fix incorrect branch cloning.
| * | Refactor persist.save_from_tablempeterv2015-03-191-36/+34
| | | | | | | | | | | | | | | | | | | | | | | | * Update docstrings; * Improve string quoting (don't produce broken code for strings with backslashes); * Use same function for writing keys and values; * Don't use same name (write_table) for two different functions.
| * | Refactor persist.load_into_tablempeterv2015-03-191-8/+14
| |/ | | | | | | | | | | * Add docstring for run_file helper function; * Do not read file twice on Lua > 5.1, use load instead of loadfile; * Update docstring for persist.load_into_table.
* / Don't use user tree when running as root. Fixes #303.Hisham Muhammad2015-03-192-1/+6
|/
* Merge pull request #326 from mpeterv/fix-redact-apiHisham Muhammad2015-03-181-3/+3
|\ | | | | Fix url redacting when Luasocket is used
| * Fix url redacting when Luasocket is usedmpeterv2015-03-181-3/+3
| | | | | | | | | | Move definition of redact_api_url up so that it is visible in both Luasocket and Luasocket-less versions of Api:request
* | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-03-181-1/+1
|\ \