On 21 December 2015 at 19:37, Geoff Leyland <geoff_leyl...@fastmail.fm> wrote:
> 2) There doesn't seem to be a protocol on which luarocks will talk to a 
> *private* repository on bitbucket.
> git:// seems to be unauthenticated, so doesn't really work for private 
> repositories.
> Luarocks doesn't seem to understand ssh:// urls.
> https:// nearly gets there:  I can get a zip of the repository with:
>
> source = { url = 
> "https://<username>:<password>@bitbucket.org/<username>/<repo>/get/master.zip"
>  }
>
> But the top level directory of the zip is unhelpfully named "<repo>-<hash>", 
> rather than the "<repo>-master" you get from github.  This means that you 
> can't set source.dir to the name of this directory (since every time you 
> commit the new hash you... change the hash of the head).

And you're sure "master" doesn't work?
Usually websites just feed that piece of the url directly to git: on
e.g. github you can use <hash> or `master` or `master^` or any other
git commit-ish

------------------------------------------------------------------------------
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to