keplerproject/luarocks — Issue #64: Tilde in --only-from
Author: agladysh
Created: 2012-02-27 16:33:14+00:00
State: open

This says that it can't find a manifest:

$ luarocks make --local --pack-binary-rock --only-from=~/private-rocks some-rock-1.0.1-1.rockspec

Warning: Failed searching manifest: Failed loading manifest: Failed loading manifest for ~/projects/pk-billing/server/rocks: cannot open ~/projects/pk-billing/server/rocks/manifest: No such file or directory

The error message is highly misleading. Hisham, I remember that some time ago we discussed auto-expansion of `~` in paths and you refused to do that. But maybe you could add some heuristics to the error reporting, so that if path is prefixed with `~`, it would hint that maybe user should use ${HOME} instead.

(BTW, I believe this MUST be a failure, not a warning — since it is --*only*-from.)