aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactored the loading of the config files in a more structural manner, ↵Thijs Schreijer2015-06-251-39/+45
| | | | removing duplicate code and error handling.
* `detected` was only retained in `cfg` through multiple copies, removed by ↵Thijs Schreijer2015-06-251-47/+45
| | | | directly operating on `cfg.platform`
* do not reuse environmentsThijs Schreijer2015-06-251-26/+31
|
* fix travis-ci errorThijs Schreijer2015-06-251-1/+3
|
* removed accidental reintroduced lineThijs Schreijer2015-06-251-1/+0
|
* config.lua is not being integrated, bug introduced in #385Thijs Schreijer2015-06-251-7/+13
|
* Don't shadow filename variable: fixes error message.Hisham Muhammad2015-06-241-2/+2
|
* Merge pull request #393 from Tieske/target_stuffHisham Muhammad2015-06-241-11/+11
|\ | | | | add target cpu info to configuration
| * oops... remove debug stuffThijs Schreijer2015-06-241-9/+0
| |
| * - site_config remains local, not exposedThijs Schreijer2015-06-241-11/+20
| | | | | | | | - added field 'target_cpu' to `cfg` and config file environments
* | Merge pull request #394 from ignacio/build_mandatoryHisham Muhammad2015-06-241-1/+2
|\ \ | | | | | | Make 'build' field in rockspecs mandatory.
| * | Make 'build' field in rockspecs mandatory.Ignacio Burgueño2015-06-241-1/+2
| |/ | | | | | | | | | | | | | | | | Rockspecs must have a 'build' field. If by any chance, it is not needed (see #379), add this: ````lua build = { type = "none" } ````
* | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-06-247-14/+65
|\|
| * Merge pull request #385 from Tieske/masterThijs Schreijer2015-06-201-9/+17
| |\ | | | | | | Read os variables from config files
| | * fix: use same environment table for the system config file as well.Thijs Schreijer2015-06-181-23/+16
| | |
| | * fixed typoThijs Schreijer2015-06-171-1/+1
| | |
| | * added 2 functions to the global environment of the config-file loader ↵Thijs Schreijer2015-06-161-1/+16
| | | | | | | | | | | | sandbox; `os_getenv()` and `__dump_env()`
| * | Allows luarocks.cfg to be used without being installed.Ignacio Burgueño2015-06-191-1/+1
| | | | | | | | | | | | This allows to address the issue #386
| * | Factors the code to check for a tool. Changes 'not found' message wording.Ignacio Burgueño2015-06-186-10/+36
| | | | | | | | | | | | | | | Adds the function fs.is_tool_available to check if a given tool (git, hg, cmake, etc) is available.
| * | Checks if tool is installed (svn, cvs, hg)Ignacio Burgueño2015-06-183-2/+15
| | |
| * | Checks if git is installedIgnacio Burgueño2015-06-171-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | When sources are to be fetched using git, check beforehand it is available in the path instead of causing an error. It will show the message: `Error: 'git' program not found. Is git installed? You may want to edit variables.GIT` and exit. refs #381
* / Remove `--extensions` flag. Fixes #391.Hisham Muhammad2015-06-243-8/+0
|/ | | | | Instead of enabling extensions, use a higher value for `rockspec_format` when writing rockspecs.
* Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-05-252-2/+12
|\
| * Merge pull request #371 from ignacio/proxiesHisham Muhammad2015-05-192-2/+12
| |\ | | | | | | Support for configuring proxy via environment variable
| | * Trust the user :)Ignacio Burgueño2015-04-171-5/+0
| | |
| | * Deal with 'no_proxy' env varIgnacio Burgueño2015-04-172-0/+12
| | | | | | | | | | | | If the 'no_proxy' environment variable, delegate to the downloader to deal with it.
| | * Drop use of config.proxyIgnacio Burgueño2015-04-172-2/+5
| | | | | | | | | | | | Alwways fallback to defined downloader if https_proxy env var is set.
* | | Correct use of which_config. Fixes #374.Hisham Muhammad2015-05-251-4/+4
|/ /
* | Add `luarocks config` command for querying LuaRocks settings.Hisham Muhammad2015-05-186-19/+91
| |
* | fixes #365Thijs Schreijer2015-05-051-0/+1
| |
* | Back to scmHisham Muhammad2015-04-241-1/+1
| |
* | 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
|