In the link to help with the "ssh stuff 
<https://www.appveyor.com/docs/how-to/private-git-sub-modules>", it says:

Check sub-modules path
Anchor link for: check sub modules path 
<https://www.appveyor.com/docs/how-to/private-git-sub-modules#check-sub-modules-path>

First of all you have to check sub-modules URLs in .gitmodules to make sure 
they are in SSH format. For GitHub it should be something like:

url = [email protected]:{owner}/{repo}.git

<https://www.appveyor.com/docs/how-to/private-git-sub-modules#check-sub-modules-path>
Based on this, I tried Pkg.clone("[email protected]:EricForgy/Pages.jl.git") 
thinking this is "SSH Format". It works for 0.4, but not for 0.5. When I 
try https as Tomas suggested, it still prompts me for my password, which I 
presume is related to "SSH Format".

Is this a bug in 0.5? I did not find it in the issue 
<https://github.com/JuliaLang/julia/issues/13472> provided. I tend to 
think Pkg.clone("[email protected]:EricForgy/Pages.jl.git") should work in 0.5 
since this is "SSH Format".

Thanks.


On Sunday, February 21, 2016 at 10:22:34 AM UTC+8, Isaiah wrote:
>
> Was I just unlucky or is there a difference between 0.4 and 0.5 with 
>> regard to URL formats?
>>
>
> Trunk (0.5-dev) has switched to libgit2, whereas 0.4 used command line 
> git. There are still some open issues, although I think most have 
> work-arounds. If Tomas's suggestion doesn't help, start here: 
> https://github.com/JuliaLang/julia/issues/13472
>
> On Sat, Feb 20, 2016 at 12:27 PM, Eric Forgy <[email protected] 
> <javascript:>> wrote:
>
>> Thanks Isaiah.
>>
>> I bit the bullet and tried the "ssh stuff". I was able to get it to work 
>> and my tests passed for Julia 0.4 (yay!), but the tests on latest master 
>> failed with an error:
>>
>> INFO: Cloning Pages from [email protected]:EricForgy/Pages.jl.git
>> ERROR: GitError(Code:ERROR, Class:Net, Unsupported URL protocol)
>>
>> Was I just unlucky or is there a difference between 0.4 and 0.5 with 
>> regard to URL formats?
>>
>> In 0.4, this worked: 
>>
>> Pkg.clone("[email protected]:EricForgy/Pages.jl.git")
>>
>> But, from the error message, it seems this isn't working on 0.5?
>>
>> Any idea?
>>
>> On Saturday, February 20, 2016 at 10:19:00 PM UTC+8, Isaiah wrote:
>>>
>>> That error means git is trying to show a username prompt, but can't 
>>> because there is no input device attached. You need the "ssh stuff" so that 
>>> git on the appveyor build machine can be authenticated to clone the 
>>> second private repo.
>>>
>>
>

Reply via email to