aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix: Purge command did not check permission for the tree to operate onThijs Schreijer2014-01-031-0/+4
|
* updated comments for exitcodesThijs Schreijer2013-12-264-8/+8
| | | | batch wrapper script (luarocks.bat) updated to auto-elevate if permission was denied
* specify error exitcodes, specifically 'permission denied'.Thijs Schreijer2013-12-256-10/+26
|
* normalize paths in help outputThijs Schreijer2013-12-231-5/+7
|
* Make sure value of tree is propagated correctly to commands.Hisham Muhammad2013-12-233-3/+27
|
* Merge pull request #206 from Tieske/verbose_flagHisham Muhammad2013-12-222-1/+10
|\ | | | | adds flag `--verbose` as equivalent for config file `verbose = true`
| * adds flag `--verbose` as equivalent for config file `verbose = true`Thijs Schreijer2013-12-222-1/+10
| |
* | take urls into account besides local pathsThijs Schreijer2013-12-221-1/+9
| |
* | Normalizes paths displayed from `search` module, used for searching and ↵Thijs Schreijer2013-12-222-1/+2
|/ | | | listing installed rocks
* Fix display of error message in loader.Hisham Muhammad2013-12-211-3/+3
|
* Fix regressions caused by #194. Thank you, integrated testing!Hisham Muhammad2013-12-201-10/+10
|
* Let's not use "built-in" terminology in this case: avoid confusion with the ↵Hisham Muhammad2013-12-201-3/+3
| | | | "builtin" build mode.
* Use same loop for both arraysHisham Muhammad2013-12-201-18/+9
|
* Let's be more conservative about this for now.Hisham Muhammad2013-12-201-5/+2
|
* Merge pull request #194 from rtsisyk/gh-177-option-for-builtin-packagesHisham Muhammad2013-12-203-12/+49
|\ | | | | Add a configuration option to specify manually installed rocks (#177)
| * Add a configuration option to specify manually installed rocks.Roman Tsisyk2013-11-303-12/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch adds a new configuration option - cfg.rocks_provided. This option contains a list of packages that are either builtin or manually installed outside of LuaRocks package management system: rocks_provided = { [module_name] = module_version.."-"..rockspec_version, -- ... } These settings are taken into account during dependency resolution and when search and install commands are used. An attempt to install a rock from the list causes an error. LuaRocks automatically adds following modules to the list: rocks_provided = { lua = lua_version.."-1", -- For Lua 5.2 or later: bit32 = lua_version.."-1", -- For LuaJIT: luajit = lj_version.."-1", jit = lj_version.."-1", ffi = lj_version.."-1", bit = lj_version.."-1", luabitop = lj_version.."-1" } where lua_version extracted from _VERSION (e.g. 5.2), lj_version extracted from jit.version (e.g. 2.0.2). Built-in values can be overridden by configuration options. Closes #177.
* | Merge pull request #188 from echiesse/masterHisham Muhammad2013-12-201-3/+9
|\ \ | | | | | | Fixed the error of not embedding the manifest in DLLs compiled by Visual Studio 2008…
| * | Fixed the error of not embedding the manifest in DLLs compiled by Visual ↵Eric Chiesse2013-11-301-3/+9
| | | | | | | | | | | | Studio 2008 in the case where the DLL is part of a module (inside a subdirectory). LusRocks was not correctly building modules with directory structure (like luasql.postgres) when compiling for win32.
* | | Add check that will be used to ensure no rocks without licenses are uploaded.Hisham Muhammad2013-12-181-1/+13
| | | | | | | | | | | | Closes #202.
* | | Prioritize "scm" over "cvs". This was underspecified before.Hisham Muhammad2013-12-181-1/+1
| | |
* | | Make default rocks_trees named as well.Hisham Muhammad2013-12-181-2/+2
| | |
* | | Add named trees, as suggested by @Tieske, plus tests.Hisham Muhammad2013-12-181-3/+16
| | |
* | | Propagate failure of MD5 correctly. Closes #184.Hisham Muhammad2013-12-134-4/+8
| | |
* | | Merge pull request #200 from fab13n/masterHisham Muhammad2013-12-131-2/+3
|\ \ \ | | | | | | | | Fixed an improper error message
| * | | Fixed an improper error messageFleutot2013-12-111-2/+3
| | | | | | | | | | | | | | | | | | | | Forgot to check that type=="string" before doing pattern matching on a field content. Was triggered when version was provided as a string in a luarock.
* | | | Make the download command work with the file:// protocolHisham Muhammad2013-12-121-3/+18
|/ / /
* | | Merge branch 'master' of github.com:keplerproject/luarocksHisham Muhammad2013-12-056-48/+112
|\ \ \
| * | | refactored debug output. Now all is set by using `verbose = true` in the ↵Thijs Schreijer2013-12-013-35/+30
| | | | | | | | | | | | | | | | | | | | | | | | config file instead of manually uncommenting code. Also moved to platform independent code, from Windows only
| * | | simplified priviledge test on WindowsThijs Schreijer2013-12-011-5/+2
| | |/ | |/|
| * | Merge branch 'master' of https://github.com/keplerproject/luarocks into ↵Thijs Schreijer2013-11-281-0/+33
| |\ \ | | | | | | | | | | | | command_quoting
| | * | removed unintended codeThijs Schreijer2013-11-281-9/+0
| | | |
| | * | fixes permission checks on Windows with VirtualStore redirectionThijs Schreijer2013-11-281-0/+42
| | | |
| * | | Merge branch 'master' of https://github.com/keplerproject/luarocks into ↵Thijs Schreijer2013-11-194-11/+26
| |\| | | | | | | | | | | | | | command_quoting
| | * | fixed type. Fixes #185Thijs Schreijer2013-11-181-1/+1
| | | |
| * | | fixed double quotes in io.popen commandsThijs Schreijer2013-11-192-1/+10
| | | |
| * | | Merge branch 'master' of https://github.com/keplerproject/luarocks into ↵Thijs Schreijer2013-11-133-5/+5
| |\ \ \ | | | | | | | | | | | | | | | command_quoting
| * | | | update get_md5() and check_md5() to also return an error message if it failsThijs Schreijer2013-11-133-13/+20
| | | | | | | | | | | | | | | | | | | | unquoted arguments of get_md5 command to prevent failure, needs further updating
| * | | | fixes LR install in location with spaces, quoting LR commandsThijs Schreijer2013-11-133-20/+43
| | | | | | | | | | | | | | | | | | | | NOTE: seems to be broken now, bug not found yet
* | | | | Improve error messageHisham Muhammad2013-12-051-1/+1
| | | | |
* | | | | Fix incorrect condition in testHisham Muhammad2013-12-051-1/+1
| |_|/ / |/| | |
* | | | Add --force flag.Hisham Muhammad2013-11-171-7/+12
| | | | | | | | | | | | | | | | Should be useful for François Perrad's work on the BuildRoot infrastructure for LuaRocks.
* | | | Make sure manifest unzips properly, to avoid stale manifests.Hisham Muhammad2013-11-171-1/+3
| | | |
* | | | Fix `luarocks path` now that luarocks.cfg no longer edits package.pathHisham Muhammad2013-11-141-2/+10
| |/ / |/| |
* | | Merge pull request #179 from akfidjeland/bugfix-deps-mode-orderHisham Muhammad2013-11-121-1/+1
|\ \ \ | | | | | | | | map_trees deals with both string and table trees
| * | | map_trees deals with both string and table treesAndreas Fidjeland2013-11-101-1/+1
| | |/ | |/| | | | | | | Fixes #178
* | | Merge branch 'master' of github.com:keplerproject/luarocksHisham Muhammad2013-11-121-1/+1
|\ \ \ | | |/ | |/|
| * | Merge pull request #182 from Tieske/fix_quotesThijs Schreijer2013-11-121-1/+1
| |\ \ | | | | | | | | added quoting to os command, failed with paths containing spaces
| | * | added quoting to os command, failed with paths containing spacesThijs Schreijer2013-11-121-1/+1
| | |/
* | / Allow the wrapper scripts to keep working even if LuaRocks is uninstalledHisham Muhammad2013-11-122-4/+4
|/ / | | | | | | | | (or if one is building them to run in another box without LuaRocks, for example, in cross-compiling scenarios).
* / Merge changes proposed by @siffiejoe in #172.Hisham Muhammad2013-11-123-6/+2
|/ | | | (Sorry about the clumsiness of not doing a proper merge.)