aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert incorrect remove of cmake_generator support. Only windows (msvc) ↵Xpol Wan2015-03-262-0/+6
| | | | default cmake_generator are removed.
* 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
|\ \
| * | Open file in 'rbIgnacio Burgueño2015-03-181-1/+1
| |/
* | Merge branch 'master' of https://github.com/keplerproject/luarocksXpol Wan2015-03-181-6/+11
|\|
| * Make it a bit more robust.Hisham Muhammad2015-03-171-1/+1
| |
| * Redact API URL to hide API key.Hisham Muhammad2015-03-171-6/+11
| | | | | | | | Problem pointed out by @ignacio in #273.
| * Back to our regularly scheduled programmingHisham Muhammad2015-03-171-1/+1
| |
| * Release LuaRocks 2.2.1v2.2.1Hisham Muhammad2015-03-171-1/+1
| |
* | Remove commented code after remove cfg.cmake_generator.Xpol Wan2015-03-181-3/+0
| |
* | Better cmake support.Xpol Wan2015-03-182-13/+10
|/ | | | | 1. Let cmake choose the generator. 2. use `cmake --build` to build without needs of make (nmake mingwin-make ...)
* Don't crash when modules table is missing.Hisham Muhammad2015-03-121-1/+3
|
* Use the system-installed stat.Hisham Muhammad2015-03-111-0/+1
| | | | | | Avoids clashes with other versions of stat that may be installed in /usr/local, or somewhere else in the $PATH. Closes #314.
* Test success of patching in `unpack`. Closes #316.Hisham Muhammad2015-03-091-2/+4
| | | | Includes test cases for the test suite! Yay!
* We're always using the internal patch module.Hisham Muhammad2015-03-092-7/+0
| | | | See #316.
* Don't crash when asking for help on invalid cmd.Hisham Muhammad2015-03-041-1/+1
|
* Code cleanups suggested by luacheck.Hisham Muhammad2015-03-017-36/+36
|
* Remove unused assignment.Hisham Muhammad2015-02-281-1/+0
|
* Direct users to the bug trackerHisham Muhammad2015-02-251-1/+1
|
* Support more file extensions as source files.Hisham Muhammad2015-02-181-1/+4
| | | | | | | This "guesses" the location of files instead of confirming in the filesystem that they are really under share/ or lib/, but this is used by the module loader, so we better not load luarocks.fs and the whole kitchen sink at this point.
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-02-154-6/+3
|\
| * Removed some unused and global variablesmpeterv2015-02-154-6/+3
| |
* | Fix behavior of `luarocks pack` on Windows.Hisham Muhammad2015-02-151-1/+1
|/ | | | | It was failing when a path contained spaces due to lack of quoting. Closes #308.
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-01-211-2/+4
|\
| * Merge pull request #298 from seclorum/masterHisham Muhammad2015-01-151-2/+4
| |\ | | | | | | OSX 10.10 Yosemite sw_vers update
| | * Safer guards for OSX Deployment target selection..Jay Vaughan2014-12-091-1/+3
| | |
| | * OSX 10.10 Yosemite sw_vers updateJay Vaughan2014-12-051-2/+2
| | |