aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Discard excess characters when a tool gives outHisham Muhammad2015-01-211-1/+1
|/ / | | | | | | an octal mode string that's too long. Fixes #53.
* | Make conversion more robust for Lua 5.3Hisham Muhammad2015-01-121-1/+1
| |
* | Make it more robust.Hisham Muhammad2015-01-121-1/+1
| | | | | | | | | | | | (I _think_ win32 needs something similar, but there's the complication of drive letters so I won't touch it now without proper testing.)
* | Catch error if filename is a directoryHisham Muhammad2015-01-121-1/+5
| |
* | Improve error checkingHisham Muhammad2015-01-121-0/+3
| |
* | Do not pack scm versionsHisham Muhammad2015-01-121-1/+1
| |
* | Error out on bad config files.Hisham Muhammad2015-01-122-36/+54
|/ | | | | | Alternative implementation to the one given by @Tieske, following discussion in #260. Closes #260. Closes #228.
* Apply change suggested by @siffiejoe.Hisham Muhammad2014-11-261-1/+1
| | | | | Thanks @catwell for catching this! Closes #295.
* Make test suite detect crashes on tests that should fail gracefully.Hisham Muhammad2014-11-262-1/+2
|
* Isolate the convenience hack, for readability.Hisham Muhammad2014-11-101-0/+2
|
* Silence complaints from `luarocks upload`. Closes #292.Hisham Muhammad2014-11-091-1/+1
|
* Fix typo. Closes #294.Hisham Muhammad2014-11-091-1/+1
|
* Provide a fallback for when the version number is 'scm',Hisham Muhammad2014-11-031-1/+2
| | | | | to avoid breaking Windows default paths (which assume something like c:\luarocks\2.2\ ) Closes #288.