Re: jhbuild, behind proxy compiling gnome-todo

Hashem Nasarat <[email protected]> Wed, 27 Jan 2016 09:12:16 -0500
Newsgroups gmane.comp.gnome.love
Message-ID <[email protected]>
yay! Nice determination, and thanks for explaining what worked.

On 01/27/2016 07:15 AM, Jay Aurabind wrote:
> i figured out why jhbuild wont respect my settings. I was giving wrong
> keys for the repo config variable. I found the correct ones from
> modulesets/ in jhbuild source. And for submodules, i would manually
> replace the submodule url once it fails. For example, now I have these
> statements in my config:
>
> repos['git.gnome.org'] = 'https://git.gnome.org/browse/'
> repos['git.freedesktop.org'] = 'http://anongit.freedesktop.org/git/'
> repos['wayland.freedesktop.org'] = 'http://anongit.freedesktop.org/git/wayland'
> repos['gstreamer.freedesktop.org'] =
> 'http://anongit.freedesktop.org/git/gstreamer'
> repos['pulseaudio.freedesktop.org'] =
> 'http://anongit.freedesktop.org/git/pulseaudio'
> repos['telepathy.freedesktop.org'] =
> 'http://anongit.freedesktop.org/git/telepathy'
> repos['modemmanager.freedesktop.org'] =
> 'http://anongit.freedesktop.org/git/ModemManager'
> repos['git.savannah.nongnu.org'] = 'http://git.savannah.gnu.org/r/'
> repos['github.com'] = 'https://github.com/'
>
> I cannot put "repo['freedesktop.org']=" and expect it to work.
>
> Finally issue solved!
>
> On 22 January 2016 at 13:49, Jay Aurabind <[email protected]> wrote:
>> On 22 January 2016 at 13:31, Tobias Mueller <[email protected]> wrote:
>>> Hi!
>>>
>>> On Fri, Jan 22, 2016 at 09:41:35AM +0530, Jay Aurabind wrote:
>>>> Thank you Tobias. This looks like a complex hack.
>>> Yep. It's 2016 already.  We haven't mastered network proxies yet.
>>> And it's getting worse when they MITM you.
>>> Even worse, when they don't speak a weird TLS dialect.
>>> But it's getting better. The number of places you need to put the proxy
>>> information is getting lower...
>>>
>>>> I would like to put the line 'exec socat..' inside an 'if' so that it
>>>> is executed only if I have http_proxy or allies exported already.
>>>> Could also please tell me what needs to the corresponding line in the
>>>> else part?
>>> It's a bash script.  So you can try to make use of it's facilities.
>>> I think 'test -z "${http_proxy}"' could work, but I'm but my bash-fu is weak.
>>>
>>> Tell us your results!  We should expect more people behind (corporate) proxies
>>> and we should enable them to hack on GNOME.
>>
>> Yep, I'll give it a try this weekend, and share the results.
>>
>> Thanks!
>>>
>>> HTH,
>>>    Tobi
>>
>>
>>
>> --
>>
>> Thanks and Regards,
>> Aurabindo J
>
>
>