aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added nil check for tsfd in http_request()Evan Wies2014-02-131-2/+4
| | | | | | | | | | | If the opening of the cache timestamp file fails, then tsfd would be nil. write is then invoked on it yielding: /usr/local/share/lua/5.1/luarocks/fs/lua.lua:592: attempt to index local 'tsfd' (a nil value) This changeset simply adds the check for nil. It does no further error reporting, so luarocks doesn't crash, but it also doesn't report that the cache was not updated nor that anything out of the ordinary happened.
* When a server times out, stop using it and move down the mirrors list.Hisham Muhammad2014-02-084-18/+27
|
* Refactor and improve logic for detecting base directory.Hisham Muhammad2014-02-083-27/+40
|
* Install default doc files if the rockspec does not include any.Hisham Muhammad2014-02-081-1/+25
|
* Have separate fs.dir and fs.list_dir functions.Hisham Muhammad2014-02-087-88/+91
| | | | The first returns an iterator, the second one a table.
* Merge branch 'master' of github.com:keplerproject/luarocksHisham Muhammad2014-02-031-6/+0
|\
| * remove dead local variable wrap_bin_scriptsFrançois Perrad2014-01-311-6/+0
| | | | | | now, the job is done by a call to repos.should_wrap_bin_scripts()
* | Make `luarocks doc` return something meaningful even for rocks that are not ↵Hisham Muhammad2014-02-031-10/+34
|/ | | | installed.
* Merge branch 'master' of github.com:keplerproject/luarocksHisham Muhammad2014-01-298-7/+25
|\
| * Merge pull request #226 from Tieske/branch_optionThijs Schreijer2014-01-295-3/+21
| |\ | | | | | | add --branch=<branchname> option
| | * added help info to build and make commandsThijs Schreijer2014-01-292-0/+8
| | |
| | * updated the `--branch` option to work through updating the rockspec ↵Thijs Schreijer2014-01-292-8/+6
| | | | | | | | | | | | | | | | | | `source.branch` field Additionally a fix for the `git` module, to use command quoting
| | * adds a --branch=<branchname> option. The branchename is passed as BRANCH to ↵Thijs Schreijer2014-01-282-1/+13
| | | | | | | | | | | | the rockspec environment
| * | Merge pull request #224 from Tieske/help_updateHisham Muhammad2014-01-291-1/+2
| |\ \ | | | | | | | | mention --verbose option in help
| | * | mention --verbose option in helpThijs Schreijer2014-01-171-1/+2
| | | |
| * | | unquoted path fails when spaces are in the filenameThijs Schreijer2014-01-271-1/+1
| | |/ | |/|
| * | Merge pull request #223 from ignacio/patch-2Hisham Muhammad2014-01-161-2/+1
| |\ \ | | | | | | | | show --modules will output one module per line
| | * | Use \n as separator to keys_as_stringIgnacio Burgueño2014-01-161-1/+1
| | | |
| | * | show --modules will output one module per lineIgnacio Burgueño2014-01-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As suggested by @agladysh in #210 So the output of, say, `luarocks show --modules oauth` will be: ~~~~ OAuth.helpers OAuth OAuth.coreLuaNode OAuth.coreLuaSocket ~~~~ instead of ~~~~ OAuth.helpers OAuth OAuth.coreLuaNode OAuth.coreLuaSocket ~~~~
* | | | Fix logic to report errors when loading config.lua. Closes #228. Please ↵Hisham Muhammad2014-01-291-1/+1
| | | | | | | | | | | | | | | | reopen if problem persists.
* | | | Why was this here? :)Hisham Muhammad2014-01-161-4/+0
|/ / /
* / / Fix documentation. Thanks @ignacio!Hisham Muhammad2014-01-161-1/+8
|/ /
* | Add git+http fetch module to be used in case of "git clone http://..." URLs.Hisham Muhammad2014-01-152-2/+19
| |
* | This constant needs to be global.Hisham Muhammad2014-01-151-1/+1
| |
* | Merge branch 'master' of github.com:keplerproject/luarocksHisham Muhammad2014-01-151-1/+1
|\|
| * Merge pull request #222 from Tieske/fic_docHisham Muhammad2014-01-131-1/+1
| |\ | | | | | | Fix doc on windows
| | * bugfix doc on windowsThijs Schreijer2014-01-131-1/+1
| | | | | | | | | | | | | | | - path with spaces could not be opened - missing parameter for 'start'
* | | Catch undeclared globals in rockspecsHisham Muhammad2014-01-124-8/+39
|/ /
* / Prepare to release version 2.1.2v2.1.2Hisham Muhammad2014-01-101-1/+1
|/
* Use --homepage, which is less ambiguous.Hisham Muhammad2014-01-101-2/+2
|
* Check if unzip failedHisham Muhammad2014-01-101-1/+7
|
* Don't quote URL on Windows. Doesn't seem to work:Hisham Muhammad2014-01-101-1/+1
| | | | https://twitter.com/pchapuis/status/414119212739604480
* Quote URLs. I wonder if it works properly with `start` on Windows.Hisham Muhammad2014-01-102-2/+2
|
* Fix bug when docs are missingHisham Muhammad2014-01-101-2/+2
|
* Enhancements for `luarocks doc` UIHisham Muhammad2014-01-101-2/+27
|
* Add doc commandHisham Muhammad2014-01-101-0/+1
|
* Factor out function for use by luarocks.docHisham Muhammad2014-01-101-12/+22
|
* Add textileHisham Muhammad2014-01-101-1/+1
|
* Modifications based on suggestions by @agladyshHisham Muhammad2014-01-101-1/+4
|
* Add fs.browser commandHisham Muhammad2014-01-102-0/+8
|
* Remove spurious commented codeHisham Muhammad2014-01-101-47/+1
|
* Add default web browsersHisham Muhammad2014-01-101-0/+3
|
* First go on `luarocks doc`Hisham Muhammad2014-01-101-0/+146
|
* Looks like I ran the test suite locally in the wrong branchHisham Muhammad2014-01-091-1/+0
|
* Add missing commit of luarocks-admin command changesHisham Muhammad2014-01-091-6/+5
|
* Performance improvementsHisham Muhammad2014-01-0910-84/+108
|
* Add help on --deps-modeHisham Muhammad2014-01-074-3/+26
|
* Merge branch 'master' of github.com:keplerproject/luarocksHisham Muhammad2014-01-041-0/+4
|\
| * Fix: Purge command did not check permission for the tree to operate onThijs Schreijer2014-01-031-0/+4
| |
* | Improvements to the write_rockspec command.Hisham Muhammad2014-01-041-14/+52
|/ | | | Let's make this more and more automagical over time. :)