aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use optional lpeg feature when available.Hisham2016-11-011-0/+1
|
* Remove dead codeHisham2016-11-011-3/+0
|
* Deploy new filesHisham2016-10-311-13/+17
|
* 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-3033-346/+389
|\
| * Merge branch 'new-cmd-dir'Hisham2016-10-3078-2084/+2279
| |\
| | * 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-295-86/+180
| | |\
| | * | Move admin commands to luarocks.admin.cmd.*; fix references to modules.Hisham2016-10-2910-35/+36
| | | |
| | * | This doesn't produce an error, only a warning.Hisham2016-10-291-1/+2
| | | |
| | * | 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
|\| | |
| * | | Merge pull request #641 from mpeterv/missing-deps-check-changes-slurpHisham Muhammad2016-10-306-52/+87
| |\ \ \ | | | | | | | | | | Get rid of repeated missing deps checks
| | * | | Get rid of repeated missing deps checksPeter Melnichenko2016-10-306-52/+87
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not report missing dependencies on manifest update, which is now done more often. Instead do it at the end of commands that may alter manifest (install, build, make, remove - excluding purge). For reporting reuse format used when showing missing deps to be installed. Do not report missing indirect dependencies, only direct ones.
* | | | "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-293-19/+54
|\| | | |/ |/|
| * Merge pull request #638 from mpeterv/remove-without-manifest-rebuildHisham Muhammad2016-10-292-64/+122
| |\ | | | | | | Remove packages without manifest rebuild
| | * Update manifest after removal without rebuildingPeter Melnichenko2016-10-282-9/+84
| | | | | | | | | | | | | | | | | | | | | Rename `manif.update_manifest` to `manif.add_to_manifest`. Add `manif.remove_from_manifest` that performs reverse action. Use it in `repos.delete_version` to avoid rebuilding manifest everytime a package is removed.
| | * manif.update_manifest: do not update manifest if rebuiltPeter Melnichenko2016-10-281-8/+4
| | |
| | * manif.update_manifest: load manifest as localPeter Melnichenko2016-10-281-1/+1
| | |
| | * Rename a variable in manif.update_manifestPeter Melnichenko2016-10-281-6/+6
| | | | | | | | | | | | | | | `repo` sometimes means root dir and sometimes means rock dir. At least do not reuse the same variable for both.
| | * Refactor store_results in luarocks.manif (2)Peter Melnichenko2016-10-281-21/+8
| | | | | | | | | | | | | | | Do not accept a hook function to call after storing results. Simply call it on the outside after calling store_results.
| | * Refactor store_results in luarocks.manifPeter Melnichenko2016-10-281-22/+22
| | | | | | | | | | | | | | | | | | Instead of passing a function and its arguments to a helper function for it to call it, make a copy of result, and return it, call the function on the outer level and pass the result to helper.
| * | Improve performance of manif_core.get_versionsPeter Melnichenko2016-10-291-11/+10
| |/ | | | | | | | | | | | | | | | | | | To get all installed versions of a package using deps_mode, instead of deeply merging all manifests of corresponding trees, shallowly merge only tables related to that package. This affects speed of manifest manipulation and dependency resolution. Minimal performance testing suggests 3x-4x speed-up on reinstallation of a package using `luarocks make`.
| * Merge pull request #637 from mpeterv/fix-win-abs-pathHisham Muhammad2016-10-282-8/+44
| |\ | | | | | | Fix absolute path detection on Windows
| | * Fix absolute path detection on WindowsPeter Melnichenko2016-10-281-8/+31
| | | | | | | | | | | | | | | | | | Do not use "^[%.a-zA-Z]?:?[\\/]" as a pattern when checking if a path is absolute on Windows. Check if there is a directory separator after an optional drive letter instead.
| | * Add test for #632.Hisham2016-10-281-0/+13
| | |
* | | Merge branch 'master' into luarocks-3Hisham2016-10-285-33/+40
|\| |
| * | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-10-284-32/+39
| |\|
| | * Refactor windows argument quoting functionsPeter Melnichenko2016-10-281-21/+9
| | | | | | | | | | | | Use string replacements instead of functions in calls to gsub.
| | * Move Unix-specific fs.Q implementation into luarocks.fs.unixPeter Melnichenko2016-10-282-11/+9
| | |
| | * Add a few tests for fs.QPeter Melnichenko2016-10-281-0/+21
| | |
| * | Prefer versioned Lua interpreter if it exists.Hisham2016-10-281-1/+1
| |/ | | | | | | | | | | | | | | | | | | This avoids in practice a problem that occurs in this scenario: 1. user installs Lua 5.1, gets lua and lua5.1 binaries 2. user installs LuaRocks, it detects and uses lua 3. user installs Lua 5.2, gets lua and lua5.2 binaries (lua is replaced) 4. user installs LuaRocks with --lua-version=5.2, it detects and uses lua 5. luarocks-5.1 now uses lua, which is Lua 5.2, rockspecs get passed the wrong value of $(LUA)
* | Fix merge.Hisham2016-10-281-1/+0
| |
* | Merge branch 'master' into luarocks-3Hisham2016-10-2717-82/+136
|\|
| * Support user-defined platforms array.Hisham2016-10-261-30/+57
| | | | | | | | | | Let the user set their own custom platform entries, but also provide fallbacks to make sure things work.
| * Check if header matches interpreter.Hisham2016-10-261-0/+12
| |
| * Improve check of Lua interpreterHisham2016-10-261-38/+39
| | | | | | | | | | (e.g. allow it to find `lua5.1` when lua is 5.3 and only `--lua-version=5.1` is given).
| * Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-10-2615-16/+24
| |\
| | * Merge pull request #635 from mpeterv/rock-name-caseHisham Muhammad2016-10-2610-7/+22
| | |\ | | | | | | | | Make rock name arguments case insensitive
| | | * Add two tests for uppercase rock name argumentsPeter Melnichenko2016-10-262-1/+13
| | | |
| | | * Treat rock name arguments in case insensitive wayPeter Melnichenko2016-10-268-6/+9
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Internally package names are lowercased, however, rockspec may contain a name with uppercase letters, which will be displayed by `luarocks show`. Some commands, like `luarocks search`, `luarocks install` and `luarocks build`, support this and convert input name to lowercase before passing it to interanl functions. Do the same thing in other commands accepting rock names.
| | * Remove some unused locals and importsPeter Melnichenko2016-10-206-9/+2
| | |