aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | Add compatibility with lhf's lmd5 module.Philipp Janda2016-02-071-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #494.
* | | | | | | | | | | | Fix docs for path.which_i and some of its usersmpeterv2016-02-022-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It actually accepts file name of the module as in manifest.repository[package][version].modules[module], not the module name.
* | | | | | | | | | | | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham2016-02-016-26/+11
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Do not handle cfg.local_cache == nil in luarocks.cachempeterv2016-01-111-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfg.local_cache is always set by defaults. Fixes #479.
| * | | | | | | | | | | | Report unknown commands consistentlympeterv2016-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now both 'luarocks foo' and 'luarocks help foo' print 'Unknown command: foo'.
| * | | | | | | | | | | | Remove two unnecessary require callsmpeterv2016-01-112-2/+1
| | | | | | | | | | | | |
| * | | | | | | | | | | | luarocks make: ignore 'rockspec' directory when no argument givenmpeterv2016-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without an argument luarocks make looks if there is only one rockspec in the current directory. Consider only files as potential rockspec to avoid strange error when current directory contains a directory ending with 'rockspec'.
| * | | | | | | | | | | | Merge pull request #467 from mpeterv/build-builtin-errorsHisham Muhammad2016-01-111-8/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | Improve builtin build backend errors
| | * | | | | | | | | | | Improve error handling in builtin backendmpeterv2015-12-191-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show error message from fs.copy when failed to install a file. Nice for Lua module files, since their existence is not checked beforehand. Also remove extra 'local ok, err' declarations.
| | * | | | | | | | | | | Fix extension splitting in builting backendmpeterv2015-12-191-2/+2
| | | |_|_|_|_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes incorrect gcc command and error message when a file name doesn't contain a dot: Error: Build error: Failed compiling object .o becomes Error: Build error: Failed compiling object dotlessname
* | / | | | | | | | | | Make search order deterministic.Hisham2016-02-011-3/+4
|/ / / / / / / / / / /
* / / / / / / / / / / Add git+ssh support to fetchers, including both kinds of git ssh urlGeoff Leyland2015-12-231-0/+32
|/ / / / / / / / / /
* | | | | | | | | | Improve writability checks.Hisham Muhammad2015-12-053-10/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LuaRocks does `mkdir -p` (or equivalent), so we can check for the entire chain of parents for a writable directory. Closes #449.
* | | | | | | | | | Process external deps in sorted ordermpeterv2015-12-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure consistent output for Lua 5.3 where key order of pairs() can change between two runs.
* | | | | | | | | | Show candidate files when external deps are missingmpeterv2015-12-051-18/+33
| | | | | | | | | |
* | | | | | | | | | Merge branch 'master' of https://github.com/keplerproject/luarocksHisham Muhammad2015-12-012-5/+7
|\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge pull request #453 from Tieske/default_config_locationHisham Muhammad2015-12-011-1/+1
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | write config directory only if explictly given, use defaults otherwise
| | * | | | | | | | | | write config directory only if explictly given, use defaults otherwiseThijs Schreijer2015-11-141-1/+1
| | | |_|_|_|_|_|/ / / | | |/| | | | | | | |
| * / | | | | | | | | fix: bad errormessage and missing quotesThijs Schreijer2015-11-252-4/+6
| |/ / / / / / / / /
* / / / / / / / / / Make sure --local always implies --tree=home.Hisham Muhammad2015-12-011-0/+5
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Alternative fix for problem mentioned in #352.
* | | | | | | | | Merge pull request #413 from Tieske/unversion_LRHisham Muhammad2015-11-071-10/+26
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Win installer: Unversion LR target path
| * | | | | | | | | explicit warn when enviornment variable given filename doesn't existThijs Schreijer2015-10-271-9/+25
| | | | | | | | | |
| * | | | | | | | | fixed bad reference to main LuaRocks install path, should fix AppVeyor failuresThijs Schreijer2015-07-201-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #440 from mpeterv/fix-patch-errorHisham Muhammad2015-10-191-11/+6
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Fix patch error message when source is different
| * | | | | | | | | | Fix patch error message when source is differentmpeterv2015-10-171-11/+6
| | |_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | check_patched() relies on throwing and catching string 'nomatch'. Pass 0 as the second argument for error() when throwing to avoid location info being added to the message. Fixes lack of error when patch should fail with "source is different" error.
* / | | | | | | | | Fix empty line handling in patch.luampeterv2015-10-171-1/+6
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Interpret empty lines in hunk bodies as empty context lines, that is, add a space to them. This is consistent with command-line patch tool behaviour. Fixes #434.
* | | | | | | | | Revert accidental commit.Hisham Muhammad2015-09-302-4/+2
| | | | | | | | |
* | | | | | | | | Use env for setting MACOSX_DEPLOYMENT_TARGET.Hisham Muhammad2015-09-303-4/+6
| |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | See #422.
* | | | | | | | add set_time function for tar module without lfsHisham Muhammad2015-09-222-0/+6
| | | | | | | |
* | | | | | | | Merge pull request #426 from usstwxy/patch-1Hisham Muhammad2015-09-221-3/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Update tar.lua
| * | | | | | | | Update tar.luaWXY2015-09-211-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | fix a bug occured when unrar some .tar files using this module
* | | | | | | | | missing to close file descriptorTsT2015-09-211-0/+1
| |_|_|_|_|/ / / |/| | | | | | |
* | | | | | | | We use lzlib, not lua-zlibHisham Muhammad2015-09-211-1/+1
|/ / / / / / /
* / / / / / / Fix git cloning command when using git+http protocolmpeterv2015-07-101-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git+http and git+https pass '--' instead of '--depth=1' option. As '--branch' option was passed after depth, it caused the former to be interpreted as an extra argument by git. Pass '--branch' first instead.
* | | | | | Merge branch 'master' of github.com:keplerproject/luarocks into pref_versionedThijs Schreijer2015-07-011-1/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/luarocks/cfg.lua
| * \ \ \ \ \ Merge pull request #404 from ignacio/url_to_base_dirHisham Muhammad2015-07-011-1/+6
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Strip only known extensions
| | * | | | | | Strip known extensionsIgnacio Burgueño2015-06-301-1/+6
| | | |_|/ / / | | |/| | | |
| * | | | | | Merge pull request #398 from Tieske/refactor_cfgHisham Muhammad2015-07-011-97/+133
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | Refactor cfg config file loading
| | * | | | | added error message in case of a bad platform valueThijs Schreijer2015-06-261-0/+6
| | | | | | |
| | * | | | | added correct order for platform overridesThijs Schreijer2015-06-261-1/+27
| | | | | | |
| | * | | | | integrated cfg.platform and cfg.platformsThijs Schreijer2015-06-251-47/+47
| | | | | | |
| | * | | | | refactored the loading of the config files in a more structural manner, ↵Thijs Schreijer2015-06-251-39/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | removing duplicate code and error handling.
| | * | | | | `detected` was only retained in `cfg` through multiple copies, removed by ↵Thijs Schreijer2015-06-251-47/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | directly operating on `cfg.platform`
* | | | | | | prefer versioned config files and directories over non-versioned onesThijs Schreijer2015-06-301-97/+133
|/ / / / / /
* | | | | | Make wording of help summaries consistent.Hisham Muhammad2015-06-293-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As noted by @mpeterv in https://github.com/keplerproject/luarocks/pull/400#issuecomment-116307146 Changed them so they all use imperative verb form.
* | | | | | Merge pull request #400 from ignacio/400-config-helpHisham Muhammad2015-06-291-1/+16
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | 'config' command does not have a help message
| * | | | | Changes wording as suggestedIgnacio Burgueño2015-06-291-1/+1
| | | | | |
| * | | | | Adds help to 'luarocks config' commandIgnacio Burgueño2015-06-261-1/+16
| | | | | |
* | | | | | Add '--rockspec-format' option for write_rockspec commandmpeterv2015-06-262-12/+15
|/ / / / / | | | | | | | | | | | | | | | | | | | | '--rockspec-format' option allows selecting rockspec format version when writing a rockspec.
* | | | | Don't restrict the generator override to mingwIgnacio Burgueño2015-06-251-1/+1
| | | | |