Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

git-protocol not passed to MoarVM/dynasm.git #5088

Open p6rt opened 8 years ago

p6rt commented 8 years ago

Migrated from rt.perl.org#127374 (status was 'open')

Searchable as RT127374$

p6rt commented 8 years ago

From sebastien.moretti@unil.ch

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

p6rt commented 8 years ago

From @coke

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

p6rt commented 8 years ago

The RT System itself - Status changed from 'new' to 'open'

p6rt commented 8 years ago

From @bdw

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 :

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

p6rt commented 8 years ago

From sebastien.moretti@unil.ch

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