Hi Hisham,
On Tue, Jun 10, 2014 at 3:47 PM, Hisham <h...@hisham.hm> wrote:
> On 10 June 2014 15:18, Ryan Pusztai <rpusz...@gmail.com> wrote:
> > Hi,
> >
> > I hope this is not known, but I am writting a new rockspec and created a
> > "release"/tag on GitHub named 'v2.0' and added it in my rockspec as
> > `source.tag="v2.0"` and I get this as an error:
> >
> > ```
> > $ luarocks pack luaunit-2.0-1.rockspec
> > Cloning into 'luaunit'...
> > fatal: remote error:
> >
> >
> > Error: Failed cloning git repository.
> > ```
> >
> > Should I be able to use 'v2.0' as the `source.tag`?
>
> Strange, "v2.0" should be valid, I'm pretty sure other rockspecs use
> dots in tags. Are you sure the tag is the source of your problem?
>
Well I changed the tag name to 'v2_0' and the error went away. I am using
GitHub site [1] to create the releases. You can poke around and see that
the name and tag are different values. So it was not the name that needed
to change only the tag. I am using Git v1.9.1 on Ubuntu 14.04 amd64.
I added 2 rockspecs [2] under "rockspec" and one is for v2.0 [3] and you
can change the `source.tag` to "v2.0" because it is still there in the repo
and see the same error. Does that help? Please check that I wrote this
correctly. It is my first one I am sure I messed something up ;)
--
Regards,
Ryan
[1] https://github.com/rjpcomputing/luaunit/releases
[2] https://github.com/rjpcomputing/luaunit/tree/master/rockspec
[3]
https://github.com/rjpcomputing/luaunit/blob/master/rockspec/luaunit-2.0-1.rockspec
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers