Skip to content

Please replace wget with curl as the default downloader for Windows #273

@hishamhm

Description

@hishamhm

@leafo added HTTPS support for MoonRocks. I've just updated the code of luarocks upload for LuaRocks 2.2.0 to work with HTTPS, but for that we either need LuaSec (unavailable on Windows because of cfg.fs_use_modules=false) or Curl. Unfortunately Wget does not support multipart/form-data (see wget manpage), so we need a new default on Windows.

I see a bunch of binaries available here ( http://curl.haxx.se/download.html ) but I don't know which one to pick, and can't test which of the necessary libraries work (see at the bottom of that link).

I will commit the code for Curl support on luarocks upload now. To test it, you can create a dummy rockspec and upload it and then delete it on http://rocks.moonscript.org (just take an existing rockspec, rename it and edit the package field accordingly).

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions