Skip Menu |
Report information
Id: 127374
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: sebastien.moretti [at] unil.ch
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: Moar



Subject: git-protocol not passed to MoarVM/dynasm.git
Date: Tue, 26 Jan 2016 11:53:09 +0100
To: rakudobug [...] perl.org
From: Sebastien Moretti <sebastien.moretti [...] unil.ch>
Download (untitled) / with headers
text/plain 617b
Hi I have issues with GIT and https (company restrictions) and have to use git with the git protocol. Hopefully rakudo Configure.pl includes an option to use git as protocol (--git-protocol=git). It works perfectly to clone nqp and MoarVM. Unfortunately when MoarVM Configure.pl is called, MoarVM tries to clone MoarVM/dynasm with the https protocol! The prefix option is properly passed to MoarVM Configure.pl but not the git protocol. I also tried --moar-option='--git-protocol=git' but for MoarVM Configure.pl this is an "Unknown option". Could you help me to solve this? Regards -- Sébastien Moretti
RT-Send-CC: perl6-compiler [...] perl.org
On Tue Jan 26 02:53:24 2016, sebastien.moretti@unil.ch wrote: Show quoted text
> Hi > > I have issues with GIT and https (company restrictions) and have to use > git with the git protocol. > Hopefully rakudo Configure.pl includes an option to use git as protocol > (--git-protocol=git). > > It works perfectly to clone nqp and MoarVM. > Unfortunately when MoarVM Configure.pl is called, MoarVM tries to clone > MoarVM/dynasm with the https protocol! > > The prefix option is properly passed to MoarVM Configure.pl but not the > git protocol. > I also tried --moar-option='--git-protocol=git' but for MoarVM > Configure.pl this is an "Unknown option". > > > Could you help me to solve this? > Regards > > -- > Sébastien Moretti >
MoarVM uses git submodules to pull in the customized 3rd party libraries it requires. For now, you could manually update the submodules in your MoarVM checkout to use the protocol that works for you. https://stackoverflow.com/questions/6631694/replace-git-submodule-protocol-from-git-to-http points at a similar request (but in the other direction) -- Will "Coke" Coleda
Subject: Re: [perl #127374] git-protocol not passed to MoarVM/dynasm.git
Date: Wed, 27 Jan 2016 11:45:39 +0100
To: "(via RT)" <perl6-bugs-followup [...] perl.org>
From: Bart Wiegmans <bartwiegmans [...] gmail.com>
Download (untitled) / with headers
text/plain 1.5k
I humbly suggest that rakudobrew, or perhaps rakudo Configure.pl, edit .gitmodules before running MoarVM Configure.pl if passed a different git protocol than https://.
That is probably a better solution than trying to find a lowest-common-denominator protocol which is supported everywhere, since it clearly won't be. :-)
(For instance, at $institute, git:// protocol is blocked).
Regards,
Bart

2016-01-26 20:29 GMT+01:00 Will Coleda via RT <perl6-bugs-followup@perl.org>:
Show quoted text
On Tue Jan 26 02:53:24 2016, sebastien.moretti@unil.ch wrote:
> Hi
>
> I have issues with GIT and https (company restrictions) and have to use
> git with the git protocol.
> Hopefully rakudo Configure.pl includes an option to use git as protocol
> (--git-protocol=git).
>
> It works perfectly to clone nqp and MoarVM.
> Unfortunately when MoarVM Configure.pl is called, MoarVM tries to clone
> MoarVM/dynasm with the https protocol!
>
> The prefix option is properly passed to MoarVM Configure.pl but not the
> git protocol.
> I also tried --moar-option='--git-protocol=git' but for MoarVM
> Configure.pl this is an "Unknown option".
>
>
> Could you help me to solve this?
> Regards
>
> --
> Sébastien Moretti
>

MoarVM uses git submodules to pull in the customized 3rd party libraries it requires.

For now, you could manually update the submodules in your MoarVM checkout to use the protocol that works for you.

https://stackoverflow.com/questions/6631694/replace-git-submodule-protocol-from-git-to-http points at a similar request (but in the other direction)


--
Will "Coke" Coleda

To: perl6-bugs-followup [...] perl.org
From: Sebastien Moretti <sebastien.moretti [...] unil.ch>
Date: Wed, 27 Jan 2016 10:12:43 +0100
Subject: Re: [perl #127374] git-protocol not passed to MoarVM/dynasm.git
Download (untitled) / with headers
text/plain 1.1k
Show quoted text
>> Hi >> >> I have issues with GIT and https (company restrictions) and have to use >> git with the git protocol. >> Hopefully rakudo Configure.pl includes an option to use git as protocol >> (--git-protocol=git). >> >> It works perfectly to clone nqp and MoarVM. >> Unfortunately when MoarVM Configure.pl is called, MoarVM tries to clone >> MoarVM/dynasm with the https protocol! >> >> The prefix option is properly passed to MoarVM Configure.pl but not the >> git protocol. >> I also tried --moar-option='--git-protocol=git' but for MoarVM >> Configure.pl this is an "Unknown option". >> >> >> Could you help me to solve this? >> Regards >> >> -- >> Sébastien Moretti >>
> > MoarVM uses git submodules to pull in the customized 3rd party libraries it requires. > > For now, you could manually update the submodules in your MoarVM checkout to use the protocol that works for you. > > https://stackoverflow.com/questions/6631694/replace-git-submodule-protocol-from-git-to-http points at a similar request (but in the other direction)
Thanks for the info. I missed that stackoverflow post. I managed to compile rakudo/nqp/moarvm now. -- Sébastien Moretti


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org