Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of https://github.com/keplerproject/luarocks | Hisham | 2016-05-25 | 16 | -428/+335 |
|\ | |||||
| * | Merge pull request #561 from mpeterv/common-fs-tools-funcs | Hisham Muhammad | 2016-05-22 | 7 | -303/+195 |
| |\ | | | | | | | Move common `luarocks.fs.{unix,win32}.tools` functions into a new module | ||||
| | * | Move common implementation of tools.dir_iterator | Peter Melnichenko | 2016-05-22 | 3 | -28/+14 |
| | | | |||||
| | * | Move common implementation of tools.execute_string | Peter Melnichenko | 2016-05-22 | 3 | -33/+17 |
| | | | |||||
| | * | Expose tools.command_at function | Peter Melnichenko | 2016-05-22 | 2 | -8/+16 |
| | | | |||||
| | * | fs.win32.tools: move a local function closer to its usage | Peter Melnichenko | 2016-05-22 | 1 | -11/+10 |
| | | | |||||
| | * | fs.tools: move common 'get_md5' function | Peter Melnichenko | 2016-05-22 | 3 | -44/+22 |
| | | | |||||
| | * | fs.tools: move common directory stack functions | Peter Melnichenko | 2016-05-22 | 3 | -93/+47 |
| | | | |||||
| | * | Move common implementation of fs.use_downloader into fs.tools module | Peter Melnichenko | 2016-05-22 | 5 | -92/+61 |
| | | | |||||
| | * | Add fs.quiet_stderr function | Peter Melnichenko | 2016-05-22 | 4 | -6/+20 |
| | | | |||||
| * | | Merge pull request #560 from mpeterv/write-rockspec-default-args | Hisham Muhammad | 2016-05-22 | 2 | -30/+29 |
| |\ \ | | |/ | |/| | Infer name and version for `luarocks write-rockspec` without args | ||||
| | * | Update tests for `luarocks write-rockspec` | Peter Melnichenko | 2016-05-22 | 1 | -1/+3 |
| | | | |||||
| | * | Infer name and version for `luarocks write-rockspec [path]` | Peter Melnichenko | 2016-05-22 | 1 | -29/+26 |
| |/ | | | | | | | | | | | | | | | | | | | * Default path for `write-rockspec` is now `.`. * Use `scm` as default version in all cases. * Infer rock name as base directory of current path when passing `.` as path. As a result, `luarocks write-rockspec` with no arguments creates an scm rockspec. | ||||
| * | Fix behaviour of `luarocks write-rockspec` with two args | Peter Melnichenko | 2016-05-22 | 1 | -0/+1 |
| | | | | | | | | | | | | | | It accepts name, version and location. If two are given, the first one is considered the name and the second the location, but the version is also set to the location. Reset it to allow guessing it or using default (scm). | ||||
| * | Fix luarocks.repos module mutation | Peter Melnichenko | 2016-05-18 | 1 | -3/+2 |
| | | | | | | | | Don't set repos.ok and repos.err | ||||
| * | Merge pull request #555 from robooo/master | Peter Melnichenko | 2016-05-17 | 2 | -2/+31 |
| |\ | | | | | | | Added tests for new install functionality | ||||
| | * | Added tests for new install functionality | roboo | 2016-05-17 | 2 | -2/+31 |
| |/ | |||||
| * | Refactor match_dep() | Peter Melnichenko | 2016-05-16 | 1 | -31/+15 |
| | | | | | | | | | | | | | | | | * Instead of applying blacklist and sorting versions in separate steps do a single pass over the list. * On success return just the version instead of {name = name, version = version} since rock name is stored inside dependency table already. | ||||
| * | Merge pull request #551 from mpeterv/new-output | Hisham Muhammad | 2016-05-15 | 5 | -60/+63 |
| |\ | | | | | | | Change output and order of deps installation | ||||
| | * | Return missing deps listing in `luarocks install` output | Peter Melnichenko | 2016-05-14 | 1 | -4/+21 |
| | | | |||||
| | * | Announce each missing dep before its install | Peter Melnichenko | 2016-05-10 | 1 | -41/+31 |
| | | | | | | | | | | | | | | | | | | Instead of lising all missing deps before installing all of them, announce each missing dep right before installing it. Also show current rock versions for missing deps. | ||||
| | * | Don't spam 'Updating manifest for...' | Peter Melnichenko | 2016-05-10 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | Installation success message is enough and is more important (what's a manifest and why users should care?) | ||||
| | * | Use same messages for installing binary and source rocks | Peter Melnichenko | 2016-05-10 | 3 | -18/+16 |
| | | | | | | | | | | | | | | | | | | | | | Move successful installation announcement into an util function. Don't print that the rock was "built": sometimes there is nothing to build (pure Lua rocks), and for C rocks compilation commands are printed already. | ||||
| | * | Shorten logging for `luarocks install` | Peter Melnichenko | 2016-05-10 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of mentioning URL twice in Installing URL... Using URL... switching to 'build' mode simply print Installing URL and don't print URL at all when it's the argument to `luarocks install` (it's a bit redundant), only when it's a result of a search. | ||||
* | | | Fixes #465 ensuring the binaries are +x. | Hisham | 2016-05-25 | 1 | -0/+1 |
| | | | |||||
* | | | Merge branch 'master' of https://github.com/keplerproject/luarocks | Hisham | 2016-05-15 | 1 | -1/+1 |
|\| | | |||||
| * | | Merge pull request #552 from mpeterv/install-force | Peter Melnichenko | 2016-05-14 | 1 | -1/+1 |
| |\ \ | | | | | | | | | Allow passing --force to `luarocks install` in all cases | ||||
| | * | | Allow passing --force and --force-fast to `luarocks install` in all cases | Peter Melnichenko | 2016-05-10 | 1 | -1/+1 |
| |/ / | | | | | | | | | | | | | | | | | | | When installing an old version of a rock that breaks existing dependencies, removing previously installed version fails, and --force is suggested. However, when installing using a rockspec or a source rock --force and --force-fast are not forwarded to build command. | ||||
* / / | --force-fast in help summary. | Hisham | 2016-05-10 | 1 | -1/+1 |
|/ / | |||||
* | | Rename broken --force=fast to --force-fast | Peter Melnichenko | 2016-05-10 | 7 | -11/+13 |
| | | |||||
* | | Refactor check_outdated() to avoid loops with unconditional breaks | Peter Melnichenko | 2016-05-10 | 1 | -15/+7 |
| | | |||||
* | | Fix `luarocks list --outdated` | Peter Melnichenko | 2016-05-10 | 1 | -1/+1 |
| | | | | | | | | | | Compare latest available version with latest installed version, not with lexicographically smallest installed version. | ||||
* | | Fix some typos in messages | Peter Melnichenko | 2016-05-10 | 2 | -2/+2 |
|/ | |||||
* | Fix some luacheck warnings in install.bat | Peter Melnichenko | 2016-05-08 | 1 | -6/+3 |
| | |||||
* | Merge pull request #549 from keplerproject/permissions | Hisham Muhammad | 2016-05-07 | 10 | -40/+60 |
|\ | | | | | Set permissions explicitly when copying or moving files. | ||||
| * | Set permissions explicitly when copying or moving files. | Hisham | 2016-05-03 | 10 | -40/+60 |
|/ | |||||
* | Shorten code a bit. | Hisham | 2016-05-03 | 1 | -7/+1 |
| | |||||
* | Feature-test rather than version-test | Hisham | 2016-05-03 | 1 | -4/+2 |
| | |||||
* | Merge pull request #504 from Alloyed/fix-temp-files | Hisham Muhammad | 2016-05-03 | 5 | -21/+55 |
|\ | | | | | Use mkstemp()/mkdtemp() where available | ||||
| * | Use mkdtemp() where available | Kyle McLamb | 2016-03-27 | 5 | -21/+55 |
| | | |||||
* | | Merge pull request #524 from mpeterv/better-suitable-rock-err | Hisham Muhammad | 2016-05-03 | 5 | -23/+95 |
|\ \ | | | | | | | Show supported Lua versions on fail in search.find_suitable_rock | ||||
| * | | Show if rock is supported on other Lua versions on search fail | mpeterv | 2016-04-19 | 3 | -19/+88 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Supporting changes: * Change structure of manifest cache: map from repo_url to tables mapping from lua versions to manifests. * New manif_core cache_manifest and get_cached_manifest functions to hide cache implementation. * lua_version optional argument for functions between search.find_suitable_rock and manifest loader. Main changes: * Add a helper function supported_lua_versions that checks which Lua versions can satisfy a query. * Use this helper function when a search for a rock failed, in search.find_suitable_rock, if constraints can be satisfied under a different Lua version mention that in the error message. Examples of error messages: * Constraint "sailor": "sailor supports only Lua 5.1 and Lua 5.2 but not Lua 5.3." * Constraint "sailor 0.5": "sailor 0.5 supports only Lua 5.1 and Lua 5.2 but not Lua 5.3." * Constraint "sailor >= 0.5": "Matching sailor versions support only Lua 5.1 and Lua 5.2 but not Lua 5.3." | ||||
| * | | Show search error in functions using find_suitable_rock | mpeterv | 2016-04-19 | 3 | -4/+7 |
| | | | |||||
* | | | Merge pull request #543 from ryanplusplus/SupportTreeArgumentForPathCommand | Hisham Muhammad | 2016-05-03 | 4 | -4/+12 |
|\ \ \ | |/ / |/| | | Add support for the --tree argument to the path command | ||||
| * | | Add support for the --tree argument to the path command | Ryan Hartlage | 2016-04-18 | 4 | -4/+12 |
|/ / | |||||
* | | Merge pull request #541 from BranescuMihai/master | Hisham Muhammad | 2016-04-18 | 1 | -1/+9 |
|\ \ | | | | | | | New tests for the luaRocks test suite. | ||||
| * | | A number of tests for the luaRocks test suite. | Mihai Branescu | 2016-04-10 | 1 | -1/+9 |
| | | | |||||
* | | | Merge pull request #537 from mpeterv/silent-missing-manif | Hisham Muhammad | 2016-04-18 | 3 | -8/+10 |
|\ \ \ | | | | | | | | | Don't report missing manifests in 'luarocks list' | ||||
| * | | | Don't report missing manifests in 'luarocks list' | mpeterv | 2016-04-07 | 3 | -8/+10 |
| |/ / | |||||
* | | | Update LuaCov | mpeterv | 2016-04-18 | 1 | -1/+1 |
| | | |