Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prepare for release 2.4.3.v2.4.32.4.3 | Hisham Muhammad | 2017-09-12 | 4 | -6/+6 |
| | |||||
* | Improve error checking in ownership check. | Hisham | 2017-09-12 | 4 | -7/+23 |
| | | | | See #664. | ||||
* | Oops! Fix warning message. | Hisham | 2017-09-12 | 1 | -1/+3 |
| | |||||
* | Check ownership of cache directory and emit a warning. | Hisham | 2017-09-12 | 6 | -9/+47 |
| | | | | | This prevents `sudo luarocks` to take over ownership of the user's ~/.cache/luarocks directory. | ||||
* | Add sanity check for lua.h | Hisham Muhammad | 2017-09-12 | 1 | -0/+9 |
| | |||||
* | Make sure target directory exists when saving API config. | Hisham | 2017-09-12 | 1 | -0/+5 |
| | | | | Closes #676. | ||||
* | Fix clobbered varible. | Hisham | 2017-09-12 | 1 | -7/+7 |
| | |||||
* | Check for specific directories instead of the root dir. | Hisham | 2017-09-12 | 1 | -19/+20 |
| | | | | | Fixes problem in macOS 10.12. See http://lua-users.org/lists/lua-l/2016-12/msg00001.html | ||||
* | List commands in `luarocks show` | Peter Melnichenko | 2017-09-12 | 1 | -4/+16 |
| | |||||
* | Fix module paths `luarocks show` displays for "asset" files | Peter Melnichenko | 2017-09-12 | 2 | -4/+28 |
| | | | | | | | | Instead of using 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. Ref #424. | ||||
* | Formatting fix for recent addition to `make` help message | Peter Melnichenko | 2017-09-12 | 1 | -1/+2 |
| | |||||
* | Merge pull request #728 from mpeterv/test-fixes | Peter Melnichenko | 2017-09-11 | 2 | -9/+8 |
|\ | | | | | Fix spec failure under LuaJIT 2.1.0-beta3 + other test fixes | ||||
| * | Clarify test_env.need_rock description wrt return value | Peter Melnichenko | 2017-09-11 | 2 | -2/+4 |
| | | |||||
| * | Use dkjson instead of lua-cjson for upload test | Peter Melnichenko | 2017-09-11 | 1 | -4/+1 |
| | | | | | | | | lua-cjson fails to build under LuaJIT 2.1.0-beta3. | ||||
| * | Pass correct rockspec to upload tests that should fail for other reasons | Peter Melnichenko | 2017-09-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | Most tests simply check that some command succeeds or fails. When failure is expected, failure reason is not checked. In this case, upload commands was failing because passed rockspec did not exist and not for reason tests planned. | ||||
| * | Remove www. from rock repository URL in tests | Peter Melnichenko | 2017-09-11 | 1 | -1/+1 |
| | | | | | | | | www.luarocks.org redirects to luarocks.org. | ||||
* | | Merge pull request #725 from RussDragon/pp/5639/help_addition | Peter Melnichenko | 2017-09-11 | 1 | -0/+2 |
|\ \ | |/ |/| | Additional help-info added to luarocks help make about --only-deps flag. | ||||
| * | Additional help-info added to luarocks help make about --only-deps flag. | Philipp Pa | 2017-08-24 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #717 from alkino/master | Hisham Muhammad | 2017-07-10 | 1 | -1/+1 |
|\ | | | | | Forget deprecated options from command line help. | ||||
| * | Forget deprecated options from command line help. | Nicolas Cornu | 2017-07-07 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #716 from robooo/test_suite_fix | Hisham Muhammad | 2017-07-10 | 1 | -2/+2 |
|\ \ | |/ |/| | Change setup/teardown in make tests to before/after due to wrong use | ||||
| * | Change setup/teardown in make tests to before/after due to wrong use | roboo | 2017-07-06 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #715 from robooo/test_suite_fix | Hisham Muhammad | 2017-07-05 | 1 | -0/+1 |
|\ | | | | | Added LPeg dependency for lxsh to luarocks make tests | ||||
| * | Added LPeg dependency for lxsh to luarocks make tests | roboo | 2017-07-05 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #691 from Izaron/config-fail | Hisham Muhammad | 2017-04-14 | 1 | -1/+1 |
|\ | | | | | Fixed wrong "interp" in the configure file | ||||
| * | Fixed wrong "interp" in the configure file | Evgeny Shulgin | 2017-04-14 | 1 | -1/+1 |
|/ | | | Fixed wrong "interp" instead of "where" in the configure file | ||||
* | Merge pull request #683 from mpeterv/fix-impl-conv | Peter Melnichenko | 2017-03-15 | 1 | -2/+2 |
|\ | | | | | Get rid of an implicit number to string conversion | ||||
| * | Get rid of an implicit number to string conversion | Peter Melnichenko | 2017-03-14 | 1 | -2/+2 |
|/ | | | | Clearly tostring was implied instead of tonumber. | ||||
* | Add Travis hook for CodeCov | Hisham | 2016-12-05 | 1 | -0/+6 |
| | |||||
* | Add Gitter hook for CodeCov | Hisham | 2016-12-05 | 1 | -0/+6 |
| | |||||
* | Avoid breaking test in release branches. | Hisham | 2016-12-01 | 2 | -3/+3 |
| | |||||
* | Merge branch 'master' of https://github.com/keplerproject/luarocks | Hisham | 2016-11-29 | 0 | -0/+0 |
|\ | |||||
| * | Update gitter badge link (keplerproject -> luarocks) [ci skip] | Peter Melnichenko | 2016-11-10 | 1 | -1/+1 |
| | | |||||
* | | Update Gitter link | Hisham | 2016-11-10 | 1 | -1/+1 |
|/ | |||||
* | keplerproject/luarocks -> luarocks/luarocks | Hisham | 2016-11-07 | 2 | -4/+4 |
| | |||||
* | Merge pull request #644 from mpeterv/fix-conflict-resolve | Hisham Muhammad | 2016-11-03 | 9 | -189/+328 |
|\ | | | | | Fix conflict resolution on deploy/remove w.r.t. C/Lua modules with same name | ||||
| * | Fix and refactor conflict resolution on deploy/delete | Peter Melnichenko | 2016-11-01 | 2 | -183/+205 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor repos.deploy_files and repos.delete_version to make relationships between properties of deployed files clearer and to avoid converting back and forth between related properties. Location of each deployable file in its rock manifest is pair deploy_type - the first subtree name ("bin", "lib", or "lua") and file_path - remaining path from the subtree to the file. These components determine where each file is physically located. Conflicts are considered based on two other properties: type and name of an item a file provides. Type can be "command" or "module". For items deployed using non-versioned names pairs (type, name) should be unique. Conversion from (deploy_type, file_path) to (item_type, item_name) is obvious, using path.path_to_module() for modules. Reversing this conversion is necessary for moving files between versioned and non-versioned locations on conflicts, and also for path.which function used in luarocks.show. However, rock tree manifest only allows to get file_path, which is not enough for modules - deploy_type can be both "lua" and "lib". Currently path.which infers deploy_type based on extension, falling back to "lib" if it's unknown, causing luarocks.show to display wrong paths (#424). This commit does not address that but adds relevant funcionality. Currently conflict resolution assumes that both files in conflict have same deploy_type and errors on conflict between a C module and a Lua module. This commit fixes that, inferring deploy_type for files with unknown extension using rock manifest. | ||||
| * | Add a test for conflict resolution with mixed deploy types | Peter Melnichenko | 2016-11-01 | 7 | -6/+123 |
| | | |||||
* | | Use ("%q"):format() for quoting in persist | Peter Melnichenko | 2016-11-02 | 1 | -1/+1 |
| | | |||||
* | | Fix persist for multiline strings ending with closing bracket prefix | Peter Melnichenko | 2016-11-02 | 1 | -1/+2 |
| | | |||||
* | | Add a few tests for luarocks.persist | Peter Melnichenko | 2016-11-02 | 1 | -0/+55 |
|/ | | | | One fails. | ||||
* | Correct comment to match filename. | Hisham | 2016-11-01 | 1 | -1/+1 |
| | |||||
* | Use optional lpeg feature when available. | Hisham | 2016-11-01 | 1 | -0/+1 |
| | |||||
* | Remove dead code | Hisham | 2016-11-01 | 1 | -3/+0 |
| | |||||
* | Merge pull request #641 from mpeterv/missing-deps-check-changes-slurp | Hisham Muhammad | 2016-10-30 | 6 | -52/+87 |
|\ | | | | | Get rid of repeated missing deps checks | ||||
| * | Get rid of repeated missing deps checks | Peter Melnichenko | 2016-10-30 | 6 | -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. | ||||
* | Merge pull request #638 from mpeterv/remove-without-manifest-rebuild | Hisham Muhammad | 2016-10-29 | 2 | -64/+122 |
|\ | | | | | Remove packages without manifest rebuild | ||||
| * | Update manifest after removal without rebuilding | Peter Melnichenko | 2016-10-28 | 2 | -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 rebuilt | Peter Melnichenko | 2016-10-28 | 1 | -8/+4 |
| | | |||||
| * | manif.update_manifest: load manifest as local | Peter Melnichenko | 2016-10-28 | 1 | -1/+1 |
| | |