aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Get rid of an implicit number to string conversionPeter Melnichenko2017-04-141-2/+2
| | | | | | | | Clearly tostring was implied instead of tonumber.
| * Make sure target directory exists when saving API config.Hisham2017-02-081-0/+5
| | | | | | | | Closes #676.
| * Improve error checking in ownership check.Hisham2017-01-084-7/+23
| | | | | | | | See #664.
| * Oops! Fix warning message.Hisham2017-01-061-1/+3
| |
| * Check ownership of cache directory and emit a warning.Hisham2017-01-066-9/+47
| | | | | | | | | | This prevents `sudo luarocks` to take over ownership of the user's ~/.cache/luarocks directory.
| * Remove outdated flagsHisham2016-12-181-1/+1
| |
| * Fix clobbered varible.Hisham2016-12-021-7/+7
| |
| * Check for specific directories instead of the root dir.Hisham2016-12-021-19/+20
| | | | | | | | | | Fixes problem in macOS 10.12. See http://lua-users.org/lists/lua-l/2016-12/msg00001.html
| * Avoid overwriting variable.Hisham2016-12-021-3/+3
| |
| * Avoid breaking test in release branches.Hisham2016-12-011-1/+1
| |
| * Fix duplicated error message on missing rock manifestPeter Melnichenko2016-11-141-4/+2
| | | | | | | | | | | | Fix incorrect merge on top of @66a4d40 resulting in duplicated "rock_manifest file not found" error message when updating manifest.
| * Move get_versions from luarocks.core.manif to luarocks.manif.Hisham2016-11-146-77/+76
| | | | | | | | | | All functions that were in core only for get_versions are moved out as well. Made possible by PR #654.
| * Minor luacheck cleanupsHisham2016-11-141-3/+3
| |
| * Do not require core modules from outside corePeter Melnichenko2016-11-131-1/+1
| |
| * Split pure version/deps operations into luarocks.vers modulePeter Melnichenko2016-11-1316-193/+197
| | | | | | | | | | | | | | luarocks.deps module used to contain version and dependency parsing functions as well as some high-level dependency handling: matching and resolving them. A lot of modules only need the parsing half. Split it into its own module, luarocks.vers.
| * List commands in `luarocks show`Peter Melnichenko2016-11-121-4/+16
| |
| * Fix module paths `luarocks show` displays for "asset" filesPeter Melnichenko2016-11-123-25/+28
| | | | | | | | | | | | | | | | Remove path.which that produced incorrect results for files with no .lua/.so/.dll extension, reimplement similar functionality in luarocks.repos (with support for commands as well) and use that instead. Ref #424.
| * luarocks.repos: refactor repos.package_{modules,commands}Peter Melnichenko2016-11-051-25/+29
| |
| * luarocks.repos: refactor recurse_rock_manifest_treePeter Melnichenko2016-11-051-18/+16
| |
| * Merge branch 'master' into luarocks-3Peter Melnichenko2016-11-043-185/+207
| |\
| * | Use optional lpeg feature when available.Hisham2016-11-011-0/+1
| | |
| * | Remove dead codeHisham2016-11-011-3/+0
| | |
| * | Fix merge of rocks_provided [2].Hisham2016-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is now a parameter, because depending on the rockspec version the set of default rocks_provided for a rockspec may change. This is to maintain compatibility with rocks provided by LuaRocks versions in rockspec format 1.0. When checking dependencies for a rockspec, we ensure we respect that to keep backward compatibility. When we check dependencies for the manifest as a whole, we can use the larger set of rocks_provided known by the current LuaRocks version.
| * | Fix merge of rocks_provided.Hisham2016-10-311-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is now a parameter, because depending on the rockspec version the set of default rocks_provided for a rockspec may change. This is to maintain compatibility with rocks provided by LuaRocks versions in rockspec format 1.0. When checking dependencies for a rockspec, we ensure we respect that to keep backward compatibility. When we check dependencies for the manifest as a whole, we can use the larger set of rocks_provided known by the current LuaRocks version.
| * | Merge branch 'new-cmd-dir' into luarocks-3Hisham2016-10-3032-345/+387
| |\ \
| | * \ Merge branch 'new-cmd-dir'Hisham2016-10-3066-2057/+2180
| | |\ \
| | | * | Fix references to writer.make_manifestHisham2016-10-291-4/+4
| | | | |
| | | * | Fix names of modules that no longer require _cmdHisham2016-10-292-0/+0
| | | | |
| | | * | Merge branch 'luarocks-3' into new-cmd-dirHisham2016-10-294-86/+167
| | | |\ \
| | | * | | Move admin commands to luarocks.admin.cmd.*; fix references to modules.Hisham2016-10-2910-35/+36
| | | | | |
| | | * | | Keep only command driver functions in luarocks.cmdHisham2016-10-285-1086/+36
| | | | | |
| | | * | | Keep only functions shared among commandsHisham2016-10-285-312/+9
| | | | | |
| | | * | | Move files that will live in base dir back.Hisham2016-10-2819-1896/+0
| | | | | |
| | | * | | Duplicate files to preserve git-blameHisham2016-10-2838-0/+3286
| | | | | |
| * | | | | Merge branch 'master' into luarocks-3Hisham2016-10-306-51/+86
| |\| | | |
| * | | | | "soft-revert" support for building static libs.Hisham2016-10-292-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is causing a conflict in the manifest file. Looks like we'll need to extend the manifest format anyway.
| * | | | | Fix references to writer.make_manifestHisham2016-10-291-4/+4
| | |_|/ / | |/| | |
| * | | | Adjust changes by @mpeterv in #638 to new locations.Hisham2016-10-292-67/+126
| | | | |
| * | | | Merge branch 'master' into luarocks-3Hisham2016-10-292-19/+41
| |\ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'master' into luarocks-3Hisham2016-10-283-32/+18
| |\ \ \ \
| * | | | | Fix merge.Hisham2016-10-281-1/+0
| | | | | |
| * | | | | Merge branch 'master' into luarocks-3Hisham2016-10-2714-43/+72
| |\ \ \ \ \
| * | | | | | Check rockspec_version before running type check.Hisham2016-10-251-5/+6
| | | | | | |
| * | | | | | Merge branch 'master' into luarocks-3Hisham2016-10-202-14/+22
| |\ \ \ \ \ \
| * | | | | | | Make sure brand-new rockspec table has the utility function.Hisham2016-10-201-0/+3
| | | | | | | |
| * | | | | | | Merge branch 'master' into luarocks-3Hisham2016-10-203-100/+164
| |\ \ \ \ \ \ \
| * | | | | | | | Add format-check function in rockspec table.Hisham2016-10-194-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids sprinkling the luarocks.deps dependency everywhere.
| * | | | | | | | Merge branch 'master' into luarocks-3Hisham2016-10-194-18/+29
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Refactor error message and add extra checks.Hisham2016-10-194-17/+16
| | | | | | | | | |
| * | | | | | | | | Avoid circular dependency.Hisham2016-10-191-1/+1
| | | | | | | | | |