| 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
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
| |
|
| |
|
| |
|
|\
| |
| | |
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."
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Don't report missing manifests in 'luarocks list'
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
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
|
|
|
|
|
| |
Additionally show constraints for direct deps and
versions used for all deps.
|
|
|
|
| |
Affects order when --modules and --deps flags are used.
|
| |
|
|
|
|
| |
search.find_suitable_rock now can't return a table.
|
|
|
|
|
|
| |
In practice search.find_suitable_rock is always
called with a precise query (no fuzzy name matching),
and not all callers handle table as return value correctly.
|
| |
|
| |
|
|\ |
|
| | |
|
|\ \
| |/
|/|
| | |
katlogic-master
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
Allows using new_version command to create tagged rockspecs
from untagged scm rockspecs. If not given, new version is copied
from passed tag, with leading 'v' stripped if it's present.
|
|
|
|
|
|
|
| |
* Don't confuse cases "MD5 changed with same URL" and "couldn't fetch"
* Don't check MD5 if it's not present in the old rockspec
* Don't drop errors in fs.get_md5
* Don't drop errors in fetch.find_base_dir
|
|
|
|
|
| |
The template rockspec is type checked, no need to check
if source table is present.
|
| |
|
|\
| |
| | |
provide a better error message for missing json libraries
|
| | |
|
| |
| |
| |
| | |
later fixed by #455, hence this still contained the same bug
|
| | |
|