| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Supports main options and init and lint commands
|
|
|
|
|
| |
Load luarocks.core.cfg first so that luarocks.loader knows it is running
inside LuaRocks.
|
|
|
|
|
|
|
| |
Instead of a fixed list of commands, a dynamic list of modules
residing within the `luarocks.cmd.external.<cmd_name>` in the Lua path
will be dynamically added. This allows extending LuaRocks with
additional commands.
Same for `luarocks.admin.cmd.external.<cmd_name>`.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
This should fix a bug reported by @tomasguisasola on 2014-07-07.
|
|
|
|
|
|
|
| |
HTTPS is set as default for uploading.
HTTP is still default for downloading to keep dependencies low and because the
HTTPS code is new; might be changed in the future.
See #273 and #240.
|
| |
|
|
|
|
| |
(Sorry about the clumsiness of not doing a proper merge.)
|
|
|
|
| |
program was launched.
|
| |
|
|
|
|
| |
git-svn-id: http://luarocks.org/svn/luarocks/trunk@79 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
|
|
|
|
| |
git-svn-id: http://luarocks.org/svn/luarocks/trunk@28 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
|
|
git-svn-id: http://luarocks.org/svn/luarocks/trunk@1 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
|