aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | Merge branch 'master' into luarocks-3Hisham2016-10-185-13/+24
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'master' into luarocks-3Hisham2016-10-152-4/+9
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Oops, my dev environment leaked in a commit, sorry.Hisham2016-10-152-4/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Add labels and issues_url metadataHisham2016-10-143-0/+15
| | | | | | | | | | | |
| * | | | | | | | | | | Merge branch 'master' into luarocks-3Hisham2016-10-147-105/+123
| |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Tweak tests for luarocks-3 branch.Hisham2016-07-282-2/+4
| | | | | | | | | | | | |
| * | | | | | | | | | | | Move sortedpairs to core; used by luarocks.loader.Hisham2016-07-282-62/+63
| | | | | | | | | | | | |
| * | | | | | | | | | | | Fix field name building in type_check.luaHisham2016-07-281-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port fix by @mpeterv in 5f069526966ae37319ba745644a43e0cf64ad62c
| * | | | | | | | | | | | Merge branch 'master' into luarocks-3Hisham2016-07-286-8/+16
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Core modules reorganization.Hisham2016-06-3058-1518/+1420
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Isolate all modules used by luarocks.loader in a luarocks.core.* namespace. Core modules can only require other core modules, and they only use require() at the top-level chunk. In other words, after luarocks.loader is setup, package.path can be altered at will and it should not affect the ability of luarocks.loader to run, and the luarocks.loader modules should not interfere with modules loaded later. This was motivated by @robooo's GSoC work on porting the LuaRocks test suite to Lua using Busted. Busted itself runs using luarocks.loader, and we need to ensure that the modules loaded by the tests do not conflict with the ones used by luarocks.loader. A circular dependency between luarocks.manif and luarocks.search was removed by creating a separate luarocks.manif.writer module. Also, luarocks-admin commands were moved to a luarocks.admin.* namespace.
| * | | | | | | | | | | | | Merge branch 'master' into luarocks-3Hisham2016-06-294-6/+5
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | Remove now unused function deps.deps_mode_to_flagPeter Melnichenko2016-06-131-4/+0
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Remove 'run' interface for commandsPeter Melnichenko2016-06-1325-32/+0
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Merge branch 'master' into luarocks-3Peter Melnichenko2016-06-132-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into luarocks-3Peter Melnichenko2016-06-1358-741/+577
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge pull request #472 from geoffleyland/luarocks-3Hisham Muhammad2016-05-031-1/+24
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an archive contains one top level directory, assume it's the one we're looking for.
| | * | | | | | | | | | | | | | | | Actually use rockspec.source.dir_setGeoff Leyland2015-12-241-1/+1
| | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | fetch.get_sources only searches the directory for the one true dir if the ↵Geoff Leyland2015-12-231-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rockspec's source.dir was not set
| | * | | | | | | | | | | | | | | | If source.dir can't be found in a downloaded package in fetch.get_sources, ↵Geoff Leyland2015-12-231-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but we find that the package only contains one directory, then use that directory. This helps for downloads from bitbucket, where the top-level directory of a zip download of master has a commit hash in its name.
| * | | | | | | | | | | | | | | | | Merge branch 'siffiejoe-staticlibs' into luarocks-3Hisham2016-05-033-1/+41
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'staticlibs' of https://github.com/siffiejoe/luarocks into ↵Hisham2016-05-033-1/+41
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | siffiejoe-staticlibs
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge remote-tracking branch 'upstream/master' into staticlibsPhilipp Janda2014-05-276-8/+389
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'staticlibs' of https://github.com/siffiejoe/luarocks into ↵Philipp Janda2014-05-271-2/+2
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | staticlibs
| | | | * | | | | | | | | | | | | | | | | | avoid the need for plugin support in mingwPhilipp Janda2014-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | handle static libraries for multiple versions of a rockPhilipp Janda2014-05-271-0/+5
| | | |/ / / / / / / / / / / / / / / / / /
| | | * | | | | | | | | | | | | | | | | | build static libraries for builtin build typePhilipp Janda2014-05-272-1/+36
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Merge branch 'master' into luarocks-3Hisham2016-05-0312-60/+166
| |\| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Merge branch 'master' into luarocks-3mpeterv2016-04-1620-196/+374
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/luarocks/deps.lua
| * | | | | | | | | | | | | | | | | | | | | avoid "missing dependency" errors for defaultsPierre Chapuis2016-01-021-1/+4
| | |_|_|_|/ / / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Fix util.popen_readGeoff Leyland2015-12-221-2/+2
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | Merge branch 'master' into luarocks-3Hisham Muhammad2015-12-056-34/+79
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | Add explicit macosx_deployment_target option for Mac users.Hisham Muhammad2015-11-293-3/+47
| | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into luarocks-3Hisham Muhammad2015-11-162-21/+28
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | If LUAROCKS_CONFIGURE is given and is invalid, do not silently switch to a ↵Hisham Muhammad2015-10-241-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default path. Fail instead (and report that when the user checks the configuration.)
| * | | | | | | | | | | | | | | | | | | | | | Support install_pass in CMake. Fixes #431.Hisham Muhammad2015-10-231-4/+18
| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | Support "luajit" as a provided dependency in rockspec format 3.0Hisham Muhammad2015-10-193-11/+22
| | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into luarocks-3Hisham Muhammad2015-10-031-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into luarocks-3Hisham Muhammad2015-09-222-0/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | Fix merge conflict.Hisham Muhammad2015-09-221-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | Support SCM repos with names ending with ".lua".Hisham Muhammad2015-09-221-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #425.
| * | | | | | | | | | | | | | | | | | | | | | | | Merge branch 'master' into luarocks-3Hisham Muhammad2015-09-214-100/+141
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into luarocks-3Hisham Muhammad2015-06-294-4/+19
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into luarocks-3Hisham Muhammad2015-06-294-41/+60
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Bump format to 3.0 in the luarocks-3 branch.Hisham Muhammad2015-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Check that rockspec format is at least 3.0 before fetching submodulesmpeterv2015-06-262-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For utility, add deps.format_is_at_least(rockspec, version) function.
| * | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for git submodulesmpeterv2015-06-251-8/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When fetching rock sources using git, run `git submodule update --init --recursive` after cloning. When using git >= 1.8.4, also pass `--depth=1` to fetch only the last commit of each submodule.
* | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve error checking in ownership check.Hisham2017-09-124-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See #664.
* | | | | | | | | | | | | | | | | | | | | | | | | | | | Oops! Fix warning message.Hisham2017-09-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | | | | | | | | Check ownership of cache directory and emit a warning.Hisham2017-09-126-9/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents `sudo luarocks` to take over ownership of the user's ~/.cache/luarocks directory.
* | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sanity check for lua.hHisham Muhammad2017-09-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | |