| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Don't set repos.ok and repos.err
|
|\
| |
| | |
Added tests for new install functionality
|
|/ |
|
|
|
|
|
|
|
|
| |
* 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.
|
|\
| |
| | |
Change output and order of deps installation
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Installation success message is enough and is more important
(what's a manifest and why users should care?)
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | | |
Allow passing --force to `luarocks install` in all cases
|
|/ /
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Compare latest available version with latest installed version,
not with lexicographically smallest installed version.
|
|/ |
|
| |
|
|\
| |
| | |
Set permissions explicitly when copying or moving files.
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
Use mkstemp()/mkdtemp() where available
|
| | |
|
|\ \
| | |
| | | |
Show supported Lua versions on fail in search.find_suitable_rock
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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."
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Add support for the --tree argument to the path command
|
|/ / |
|
|\ \
| | |
| | | |
New tests for the luaRocks test suite.
|
| | | |
|
|\ \ \
| | | |
| | | | |
Don't report missing manifests in 'luarocks list'
|
| |/ / |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix loud archive unpacking
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
In luarocks.fs.unix.tools.unpack_archive execute commands in quiet
mode (that is, silenced by default, but not with --verbose), like
in luarocks.fs.unzip and luarocks.fs.win32.tools.unpack_archive.
|
|/ /
| |
| |
| | |
Also use vars.TAR instead of literal "tar" when unpacking .tar.bz2
|
|\ \
| |/
|/| |
install.bat: fix Wow6432Node substitution
|
|/ |
|
|\
| |
| | |
Add tests for more flags
|
| | |
|
|\ \
| |/
|/| |
Show dependency constraints in `luarocks show`
|
| |
| |
| |
| |
| | |
Additionally show constraints for direct deps and
versions used for all deps.
|