Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Slightly improve error messages in deploy/remove | Peter Melnichenko | 2016-10-20 | 1 | -5/+7 | |
| | | ||||||
| * | Add a test for sailor/sailorproject#138 | Peter Melnichenko | 2016-10-20 | 1 | -0/+12 | |
| | | ||||||
* | | Make sure brand-new rockspec table has the utility function. | Hisham | 2016-10-20 | 1 | -0/+3 | |
| | | ||||||
* | | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-20 | 5 | -100/+189 | |
|\| | ||||||
| * | Merge pull request #631 from mpeterv/fix-conflict-resolution | Hisham Muhammad | 2016-10-20 | 4 | -96/+188 | |
| |\ | | | | | | | Fix conflict resolution | |||||
| | * | Fix backup of wrapped scripts on deploy | Peter Melnichenko | 2016-10-20 | 1 | -26/+25 | |
| | | | | | | | | | | | | | | | When deploying script to bin/script.bat, check and back up bin/script.bat, not bin/script. | |||||
| | * | Add a test for wrapped script backup | Peter Melnichenko | 2016-10-20 | 1 | -0/+2 | |
| | | | ||||||
| | * | Fix conflict resolution on deploy/delete | Peter Melnichenko | 2016-10-19 | 2 | -78/+146 | |
| | | | | | | | | | | | | | | | | | | | | | | | | When deploying or deleting files, resolve conflicts purely based on module names and command names, not file names. Also, don't assume that in case of a conflict both packages have the same file providing the module or command; it can be false due to binary wrappers and `path_to_module("mod/init.lua")` == `path_to_module("mod.lua"). | |||||
| | * | Add a test for #302 | Peter Melnichenko | 2016-10-19 | 2 | -0/+23 | |
| |/ | ||||||
| * | Remove some useless code in luarocks.build | Peter Melnichenko | 2016-10-19 | 1 | -4/+1 | |
| | | | | | | | | Same as 6639022. | |||||
* | | Oops, messed with the module location. | Hisham | 2016-10-19 | 1 | -2/+2 | |
| | | ||||||
* | | Merge in Windows-compatible quoting. | Hisham | 2016-10-19 | 1 | -2/+2 | |
| | | ||||||
* | | Add format-check function in rockspec table. | Hisham | 2016-10-19 | 4 | -8/+8 | |
| | | | | | | | | This avoids sprinkling the luarocks.deps dependency everywhere. | |||||
* | | Add some useful rules to .gitignore | Hisham | 2016-10-19 | 1 | -0/+10 | |
| | | ||||||
* | | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-19 | 5 | -22/+33 | |
|\| | ||||||
| * | Fix tests on Windows with Lua 5.3 | Peter Melnichenko | 2016-10-19 | 1 | -4/+4 | |
| | | | | | | | | | | Don't install luafilesystem 1.6.1 on Windows with Lua 5.3, it fails. | |||||
| * | Fix installation of modules from files ending with "init.lua" | Peter Melnichenko | 2016-10-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | In builtin backend, when figuring out where to install a module and checking for special "init.lua" logic, trigger it only when the whole basename is "init.lua", not when it merely ends with it. Fixes incorrect installation when build.modules contains pairs like `["kainit"] = "kainit.lua"` - the module used to go to `kainit/kainit.lua` instead of just `kainit.lua`. | |||||
| * | Remove some useless code in build.builtin | Peter Melnichenko | 2016-10-19 | 1 | -4/+1 | |
| | | | | | | | | | | | | | | If `basename` is equal to `baseinfo` then, as `filename` is `baseinfo` plus ".lua", assignment `filename = basename..".lua"` has no effect and the if statement can be removed. Then `baseinfo` can be removed as unused. | |||||
| * | Run manif.update_manifest in repos.deploy_files | Peter Melnichenko | 2016-10-19 | 3 | -13/+26 | |
| | | | | | | | | | | | | | | | | Similarly to repos.delete_version, it's a good idea to update manifest immediately after altering what's deployed, even though in this case manifest was always updated by the caller. Also added more doc comments for repos functions. | |||||
* | | Refactor error message and add extra checks. | Hisham | 2016-10-19 | 4 | -17/+16 | |
| | | ||||||
* | | Avoid circular dependency. | Hisham | 2016-10-19 | 1 | -1/+1 | |
| | | ||||||
* | | Use luarocks-3 branch on Appveyor | Hisham | 2016-10-19 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-18 | 7 | -14/+39 | |
|\| | ||||||
| * | Regenerate manifest every time we delete a version. | Hisham | 2016-10-18 | 6 | -14/+24 | |
| | | | | | | | | | | | | | | This is a naive implementation of the solution suggested by @mpeterv for #268. I'm merging this since it does produce more correct behavior, at the cost of a performance regression. We need a function akin to update_manifest for removing packages from a manifest. | |||||
| * | Test case for issue #268 | Hisham | 2016-10-18 | 2 | -1/+15 | |
| | | ||||||
* | | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-15 | 6 | -8/+16 | |
|\| | ||||||
| * | Merge branch 'master' of https://github.com/keplerproject/luarocks | Hisham | 2016-10-15 | 6 | -8/+16 | |
| |\ | ||||||
| | * | Merge pull request #629 from mpeterv/change-lua-detection | Hisham Muhammad | 2016-10-14 | 3 | -4/+4 | |
| | |\ | | | | | | | | | Relax Lua version detection to support Ravi | |||||
| | | * | Relax Lua version detection to support Ravi | Peter Melnichenko | 2016-10-14 | 3 | -4/+4 | |
| | |/ | | | | | | | | | | | | | Ravi has "Ravi 5.3" as _VERSION. Don't use _VERSION:sub(5) to get Lua version, match " (5%.[123])$" instead. | |||||
| | * | Merge pull request #628 from mpeterv/fix-find-providers | Hisham Muhammad | 2016-10-12 | 1 | -3/+8 | |
| | |\ | | | | | | | | | Fix manif.find_{current,next}_provider returning "untracked" incorrectly | |||||
| | | * | Fix manif.find_{current,next}_provider returning "untracked" incorrectly | Peter Melnichenko | 2016-10-12 | 1 | -3/+8 | |
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `find_providers` function used by `manif.find_current_provider` and `manif.find_next_provider` needs relative path from a directory an installed file is deployed in (bin dir, lua dir, or lib dir) to the file. It then uses that path as key in manifest, converting it to module name beforehand for lua files and lib files. It happened to leave a leading slash in this relative path for lua and lib files. `path.path_to_module` has a workaround stripping leading dots caused by leading slashes. However, if the file doesn't have `.lua` extension, slashes are not converted to dots and the workaround doesn't trigger. The issue results in files falsely considered "untracked" and backed-up when reinstalling a different version of a rock, see sailorproject/sailor#138. The fix is to use correct relative paths without leading slashes. | |||||
| | * | Merge pull request #626 from robooo/new-tests | Hisham Muhammad | 2016-10-11 | 2 | -1/+4 | |
| | |\ | | | | | | | | | Fix of openssl location on TravisCI OSX build | |||||
| | | * | Fix of openssl location on TravisCI OSX build | roboo | 2016-10-10 | 2 | -2/+2 | |
| | | | | ||||||
| | | * | Fix of openssl location on TravisCI OSX build | roboo | 2016-10-10 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | Fix of openssl location on TravisCI OSX build | roboo | 2016-10-10 | 1 | -0/+3 | |
| | |/ | ||||||
| * / | Add missing file in test repo | Hisham | 2016-10-15 | 1 | -1/+2 | |
| |/ | ||||||
* | | Oops, my dev environment leaked in a commit, sorry. | Hisham | 2016-10-15 | 2 | -4/+2 | |
| | | ||||||
* | | Add missing file in test repo | Hisham | 2016-10-15 | 1 | -1/+2 | |
| | | ||||||
* | | Add tests for new flags | Hisham | 2016-10-14 | 1 | -0/+8 | |
| | | ||||||
* | | Add labels and issues_url metadata | Hisham | 2016-10-14 | 3 | -0/+15 | |
| | | ||||||
* | | Merge branch 'master' into luarocks-3 | Hisham | 2016-10-14 | 34 | -781/+780 | |
|\| | ||||||
| * | Fixup LUAROCKS_PREFIX when copying over site_config.lua. | Hisham | 2016-10-06 | 1 | -1/+1 | |
| | | | | | | | | See #625. | |||||
| * | Install site_config.lua after Makefile calls luarocks. | Hisham | 2016-10-06 | 1 | -3/+6 | |
| | | | | | | | | | | | | Otherwise, when luarocks removes a previous version it may end up deleting the site_config.lua file that was freshly installed. Closes #625. | |||||
| * | Merge branch 'master' of https://github.com/keplerproject/luarocks | Hisham | 2016-10-06 | 2 | -36/+99 | |
| |\ | ||||||
| | * | Merge pull request #624 from mpeterv/coroutineless-sortedpairs | Hisham Muhammad | 2016-10-06 | 2 | -36/+99 | |
| | |\ | | | | | | | | | Don't use coroutines in util.sortedpairs | |||||
| | | * | Rewrite util.sortedpairs to avoid using coroutines | Peter Melnichenko | 2016-10-06 | 1 | -36/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | util.sortedpairs is used in luarocks loader since @6dc745a. Openresty does not like coroutines being used from inside `require`, resulting in "attempt to yield across C-call boundary" error. New version of util.sortedpairs uses a prepared array of ordered keys instead of coroutines. Ref #620. | |||||
| | | * | Add tests for util.sortedpairs | Peter Melnichenko | 2016-10-06 | 1 | -0/+56 | |
| | |/ | ||||||
| * / | Make the workaround for older LuaRocks versions more robust. | Hisham | 2016-10-06 | 1 | -0/+24 | |
| |/ | ||||||
| * | Merge branch 'master' of https://github.com/keplerproject/luarocks | Hisham | 2016-10-05 | 1 | -1/+2 | |
| |\ | ||||||
| | * | Add Gitter badge, change Travis badge to svg | Hisham Muhammad | 2016-09-11 | 1 | -1/+2 | |
| | | |