From: Nikolay Dimitrov <picmaster@mail.bg>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: 侯名 <houm@neusoft.com>,
"meta-freescale@yoctoproject.org"
<meta-freescale@yoctoproject.org>
Subject: Re: "Repo Sync" FAILED: how to by-pass companies proxies ?
Date: Sat, 04 Apr 2015 09:37:43 +0300 [thread overview]
Message-ID: <551F86B7.2040500@mail.bg> (raw)
In-Reply-To: <CAP9ODKprfXvbzdUCnAScXwOyTXerExg=0xe-n9FdhEprKRwzeA@mail.gmail.com>
Hi Otavio,
On 04/03/2015 09:18 PM, Otavio Salvador wrote:
> Hello,
>
> On Fri, Apr 3, 2015 at 9:55 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>> On 04/03/2015 12:26 PM, 侯名 wrote:
>>>
>>> -----Original Message-----
>>> From: Nikolay Dimitrov [mailto:picmaster@mail.bg]
>>> Sent: Friday, April 03, 2015 11:41 AM
>>> To: Otavio Salvador; 侯名
>>> Cc: meta-freescale@yoctoproject.org
>>> Subject: Re: [meta-freescale] "Repo Sync" FAILED: how to by-pass companies
>>> proxies ?
>>>
>>> On 04/03/2015 06:08 AM, Otavio Salvador wrote:
>>>>
>>>> Hello Sir,
>>>>
>>>> On Thu, Apr 2, 2015 at 11:51 PM, 侯名 <houm@neusoft.com> wrote: ...
>>>>>
>>>>> My Company Proxy. Port 443/22. SSH is Blocked. So when I repo sync,
>>>>
>>>> ...
>>>>
>>>> Please take a look on following links, which might help:
>>>>
>>>> https://source.android.com/source/downloading.html#troubleshooting-net
>>>> work-issues
>>>>
>>>> http://elinux.org/Using_git_with_a_proxy
>>>>
>>>> It is a little tricky but should work.
>>>>
>>>> Best Wishes,
>>>
>>>
>>>> git config --global url."https://".insteadOf git://
>>>
>>>
>>>> Regards,
>>>> Nikolay
>>>
>>>
>>> [侯名] Thank you for your suggestion.
>>> I used your method, Configuring the proxy(user:password)
>>> and git(https instead of git).
>>> still does not work.
>>> And the error is the same as before.
>>
>>
>> Ahh, ok. I understood why it doesn't work. Here's a fixed manifest.xml,
>> which should work through your firewall:
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <manifest>
>>
>> <default sync-j="4" revision="master"/>
>>
>> <remote fetch="https://git.yoctoproject.org/git" name="yocto"/>
>> <remote fetch="https://github.com/Freescale" name="freescale"/>
>> <remote fetch="https://github.com/openembedded" name="oe"/>
>>
>> <project remote="yocto" revision="dizzy" name="poky" path="sources/poky"/>
>> <project remote="yocto" revision="dizzy" name="meta-fsl-arm"
>> path="sources/meta-fsl-arm"/>
>>
>> <project remote="oe" revision="dizzy" name="meta-openembedded"
>> path="sources/meta-openembedded"/>
>>
>> <project remote="freescale" revision="dizzy" name="fsl-community-bsp-base"
>> path="sources/base">
>> <copyfile dest="README" src="README"/>
>> <copyfile dest="setup-environment" src="setup-environment"/>
>> </project>
>>
>> <project remote="freescale" revision="dizzy" name="meta-fsl-arm-extra"
>> path="sources/meta-fsl-arm-extra"/>
>> <project remote="freescale" revision="dizzy" name="meta-fsl-demos"
>> path="sources/meta-fsl-demos"/>
>> <project remote="freescale" revision="dizzy" name="Documentation"
>> path="sources/Documentation"/>
>>
>> </manifest>
>
> You could send a patch for dizzy and master changing to use https?
> this does not seem to offer any drawback AFAIK and would make
> community life eaiser ;)
The only drawback I see is the slightly increased initial repo sync
time (tested with dizzy):
git: 3m25.530s
http: 3m41.163s (+7.6%)
This seems like an acceptable trade-off. I'll send the patches.
Regards,
Nikolay
next prev parent reply other threads:[~2015-04-04 6:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-03 2:51 "Repo Sync" FAILED: how to by-pass companies proxies ? 侯名
2015-04-03 3:08 ` Otavio Salvador
2015-04-03 3:41 ` Nikolay Dimitrov
2015-04-03 9:26 ` 侯名
2015-04-03 12:55 ` Nikolay Dimitrov
2015-04-03 18:18 ` Otavio Salvador
2015-04-04 6:37 ` Nikolay Dimitrov [this message]
2015-04-07 6:54 ` 侯名
2015-04-07 12:14 ` Otavio Salvador
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=551F86B7.2040500@mail.bg \
--to=picmaster@mail.bg \
--cc=houm@neusoft.com \
--cc=meta-freescale@yoctoproject.org \
--cc=otavio@ossystems.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.