Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test fixture for creating/deleting files in a patch. | Hisham Muhammad | 2017-10-04 | 2 | -0/+35 |
| | |||||
* | Patches now can create a new files from /dev/null (#692) | Evgeny Shulgin | 2017-10-04 | 1 | -1/+13 |
| | |||||
* | Make Makefiles install site_config.lua in new location. | Hisham Muhammad | 2017-10-04 | 2 | -3/+4 |
| | | | | Fixes #735. | ||||
* | Fix: handle missing dependencies section in manifest. | Hisham Muhammad | 2017-10-04 | 1 | -2/+2 |
| | | | | Closes #718. | ||||
* | Use versioned files only. (#734) | Hisham Muhammad | 2017-10-04 | 16 | -227/+161 |
| | | | | | | | | Let's take the opportunity of a new major version to make an important cleanup: getting rid of the error-prone unversioned configuration files. This drops support for: * Unversioned config.lua -> use config-5.x.lua * Unversioned luarocks/site_config.lua -> it always generates luarocks/core/site_config_5_x.lua * Unversioned lib/luarocks/rocks -> it always uses lib/luarocks/rocks-5.x | ||||
* | Fix detection of directories on Windows | Sebastian Thomschke | 2017-10-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Function tools.delete performs a test to determine if a path is a file or a directory to select the appropriate delete command rmdir vs del. The current test however results in rmdir being used on files too, which then results in a build abortion with error "The directory name is invalid.". E.g. if exist "c:\luarocks\share\lua\5.2\luasocket_3_0rc1_2-socket.lua\" ( echo "I am a folder" ) else ( echo "I am a file" ) wrongly prints "I am a folder" (tested on Windows 10) Whereas if exist "c:\luarocks\share\lua\5.2\luasocket_3_0rc1_2-socket.lua\*" ( echo "I am a folder" ) else ( echo "I am a file" ) correctly prints "I am a file" (tested on Windows 10) This fixes #670 (Also see https://stackoverflow.com/a/1466528/1793220 ) | ||||
* | Makefile.setup.inc: do not include trailing slash in LUADIR | Daniel Hahler | 2017-10-04 | 1 | -1/+1 |
| | | | | | LUADIR is used with a following slash everywhere, and it looks confusing when seeing "//" during the build. | ||||
* | Use __tostring to represent versions as strings. | Hisham Muhammad | 2017-10-03 | 2 | -20/+9 |
| | |||||
* | Safer comparison number. | Hisham Muhammad | 2017-10-03 | 1 | -2/+2 |
| | | | | | Ensures the special values for dev versions are higher than versions like 20171002. | ||||
* | Revert commited `make build` changes in src/bin | Peter Melnichenko | 2017-09-30 | 2 | -4/+2 |
| | |||||
* | Travis: cache Busted and LuaCov as well | Hisham Muhammad | 2017-09-29 | 1 | -3/+2 |
| | |||||
* | Travis: fix use of cache | Hisham Muhammad | 2017-09-29 | 1 | -2/+2 |
| | |||||
* | Travis: speed up build | Hisham Muhammad | 2017-09-29 | 3 | -5/+7 |
| | |||||
* | Merge branch 'refactor/download' | Hisham Muhammad | 2017-09-29 | 1 | -31/+47 |
|\ | |||||
| * | Refactor download() function | Hisham Muhammad | 2017-09-29 | 1 | -31/+47 |
| | | |||||
* | | Travis: add cache | Hisham Muhammad | 2017-09-29 | 1 | -0/+13 |
|/ | |||||
* | Fix: don't eat up one slash when fixing the path | Hisham Muhammad | 2017-09-29 | 1 | -1/+1 |
| | |||||
* | Nicer title message for `luarocks search` | Hisham Muhammad | 2017-09-29 | 1 | -1/+2 |
| | |||||
* | Revise README.md for test/ | Hisham Muhammad | 2017-09-29 | 1 | -19/+24 |
| | |||||
* | Changes to the output of the test suite | Hisham Muhammad | 2017-09-29 | 2 | -4/+3 |
| | |||||
* | Document cache option. | Hisham Muhammad | 2017-09-29 | 2 | -0/+4 |
| | |||||
* | Be stricter when autodetecting `source.dir` | Hisham Muhammad | 2017-09-29 | 1 | -7/+6 |
| | | | | | Only assume directory is the location when the tarball contains only a single directory at the top level. | ||||
* | Add a changelog with ongoing LuaRocks 3 changes. | Hisham Muhammad | 2017-09-29 | 1 | -0/+33 |
| | |||||
* | Remove debugging code | Hisham Muhammad | 2017-09-29 | 1 | -1/+0 |
| | |||||
* | Make sure package paths only reference current Lua version | Hisham Muhammad | 2017-09-29 | 4 | -12/+18 |
| | |||||
* | Merge pull request #732 from mikz/patch-1 | Hisham Muhammad | 2017-09-29 | 1 | -1/+1 |
|\ | | | | | read just one line when checking md5 | ||||
| * | read just one line when checking md5 | Michal Cichra | 2017-09-26 | 1 | -1/+1 |
|/ | | | | in some cases reading the whole file fails (on macOS High Sierra, LuaJIT) this is timing dependent and waiting between spawning and reading solves the issue as well | ||||
* | Speed up type checking | Hisham Muhammad | 2017-09-13 | 2 | -4/+9 |
| | |||||
* | Fix version cache | Hisham Muhammad | 2017-09-13 | 1 | -9/+9 |
| | |||||
* | Merge branch 'luarocks-3' | Hisham Muhammad | 2017-09-13 | 79 | -2294/+2521 |
|\ | |||||
| * | Add sanity check for lua.h | Hisham Muhammad | 2017-04-17 | 1 | -0/+9 |
| | | |||||
| * | Get rid of an implicit number to string conversion | Peter Melnichenko | 2017-04-14 | 1 | -2/+2 |
| | | | | | | | | Clearly tostring was implied instead of tonumber. | ||||
| * | 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 | ||||
| * | Make sure target directory exists when saving API config. | Hisham | 2017-02-08 | 1 | -0/+5 |
| | | | | | | | | Closes #676. | ||||
| * | Improve error checking in ownership check. | Hisham | 2017-01-08 | 4 | -7/+23 |
| | | | | | | | | See #664. | ||||
| * | Merge pull request #664 from luarocks/check_cache_owner | Hisham Muhammad | 2017-01-07 | 6 | -9/+49 |
| |\ | | | | | | | Check cache owner | ||||
| | * | Oops! Fix warning message. | Hisham | 2017-01-06 | 1 | -1/+3 |
| | | | |||||
| | * | Check ownership of cache directory and emit a warning. | Hisham | 2017-01-06 | 6 | -9/+47 |
| |/ | | | | | | | | | This prevents `sudo luarocks` to take over ownership of the user's ~/.cache/luarocks directory. | ||||
| * | Remove outdated flags | Hisham | 2016-12-18 | 1 | -1/+1 |
| | | |||||
| * | Fix clobbered varible. | Hisham | 2016-12-02 | 1 | -7/+7 |
| | | |||||
| * | Check for specific directories instead of the root dir. | Hisham | 2016-12-02 | 1 | -19/+20 |
| | | | | | | | | | | Fixes problem in macOS 10.12. See http://lua-users.org/lists/lua-l/2016-12/msg00001.html | ||||
| * | Avoid overwriting variable. | Hisham | 2016-12-02 | 1 | -3/+3 |
| | | |||||
| * | Avoid breaking test in release branches. | Hisham | 2016-12-01 | 2 | -3/+3 |
| | | |||||
| * | Fix duplicated error message on missing rock manifest | Peter Melnichenko | 2016-11-14 | 1 | -4/+2 |
| | | | | | | | | | | | | Fix incorrect merge on top of @66a4d40 resulting in duplicated "rock_manifest file not found" error message when updating manifest. | ||||
| * | Remove outdated file from list, and automate check for the future | Hisham | 2016-11-14 | 2 | -1/+16 |
| | | |||||
| * | Move get_versions from luarocks.core.manif to luarocks.manif. | Hisham | 2016-11-14 | 6 | -77/+76 |
| | | | | | | | | | | All functions that were in core only for get_versions are moved out as well. Made possible by PR #654. | ||||
| * | Minor luacheck cleanups | Hisham | 2016-11-14 | 1 | -3/+3 |
| | | |||||
| * | Merge pull request #654 from mpeterv/split-deps | Hisham Muhammad | 2016-11-14 | 17 | -195/+199 |
| |\ | | | | | | | Split out luarocks.vers from luarocks.deps | ||||
| | * | Do not require core modules from outside core | Peter Melnichenko | 2016-11-13 | 1 | -1/+1 |
| | | | |||||
| | * | Split pure version/deps operations into luarocks.vers module | Peter Melnichenko | 2016-11-13 | 17 | -194/+198 |
| |/ | | | | | | | | | | | | | luarocks.deps module used to contain version and dependency parsing functions as well as some high-level dependency handling: matching and resolving them. A lot of modules only need the parsing half. Split it into its own module, luarocks.vers. |