All of lore.kernel.org
 help / color / mirror / Atom feed
* Introduction and Request for HTTP Git Access
@ 2010-11-09 16:31 Ryan_D_Phillips
  2010-11-09 17:02 ` Denys Dmytriyenko
  2010-11-09 18:05 ` Scott Garman
  0 siblings, 2 replies; 10+ messages in thread
From: Ryan_D_Phillips @ 2010-11-09 16:31 UTC (permalink / raw)
  To: poky

Good Day!

My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux Developer, currently a software developer architecting an embedded firmware solution on OE for my employer. With the release of Yocto, we are extremely interested in trying it out and possibly contributing to the project. My cohort working with me is Sean Hudson (irc: darknighte), and is someone who you may see contributions from as well.

A major stumbling block we must work around is the restrictive firewall and git checkouts. We have found out the git-http-backend works extremely well, and are requesting this support on git.pokylinux.org. We suspect other people within larger corporations would have a similar problem, and by adding this support would help the community at large.

I can help out in any way possible.

Regards,
Ryan Phillips


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Introduction and Request for HTTP Git Access
  2010-11-09 16:31 Introduction and Request for HTTP Git Access Ryan_D_Phillips
@ 2010-11-09 17:02 ` Denys Dmytriyenko
  2010-11-09 17:22   ` Darren Hart
  2010-11-09 18:05 ` Scott Garman
  1 sibling, 1 reply; 10+ messages in thread
From: Denys Dmytriyenko @ 2010-11-09 17:02 UTC (permalink / raw)
  To: Ryan_D_Phillips; +Cc: poky

On Tue, Nov 09, 2010 at 10:31:37AM -0600, Ryan_D_Phillips@Dell.com wrote:
> Good Day!
> 
> My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux Developer, 
> currently a software developer architecting an embedded firmware solution on 
> OE for my employer. With the release of Yocto, we are extremely interested 
> in trying it out and possibly contributing to the project. My cohort working 
> with me is Sean Hudson (irc: darknighte), and is someone who you may see 
> contributions from as well.
> 
> A major stumbling block we must work around is the restrictive firewall and 
> git checkouts. We have found out the git-http-backend works extremely well, 
> and are requesting this support on git.pokylinux.org. We suspect other 
> people within larger corporations would have a similar problem, and by 
> adding this support would help the community at large.

Ryan,

It's nice to see another Gentooist!

Have you looked at core.gitProxy setting or GIT_PROXY_COMMAND environment in 
git-config(1)? People behind strict firewalls been using that for years to 
tunnel their git access through proxies. Used together with things like 
netcat, socat or corkscrew work miracles even with HTTP-only proxies!

-- 
Denys


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Introduction and Request for HTTP Git Access
  2010-11-09 17:02 ` Denys Dmytriyenko
@ 2010-11-09 17:22   ` Darren Hart
  2010-11-09 17:34     ` Ryan D Phillips
  0 siblings, 1 reply; 10+ messages in thread
From: Darren Hart @ 2010-11-09 17:22 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: poky

On 11/09/2010 09:02 AM, Denys Dmytriyenko wrote:
> On Tue, Nov 09, 2010 at 10:31:37AM -0600, Ryan_D_Phillips@Dell.com wrote:
>> Good Day!
>>
>> My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux Developer,
>> currently a software developer architecting an embedded firmware solution on
>> OE for my employer. With the release of Yocto, we are extremely interested
>> in trying it out and possibly contributing to the project. My cohort working
>> with me is Sean Hudson (irc: darknighte), and is someone who you may see
>> contributions from as well.
>>
>> A major stumbling block we must work around is the restrictive firewall and
>> git checkouts. We have found out the git-http-backend works extremely well,
>> and are requesting this support on git.pokylinux.org. We suspect other
>> people within larger corporations would have a similar problem, and by
>> adding this support would help the community at large.
>
> Ryan,
>
> It's nice to see another Gentooist!
>
> Have you looked at core.gitProxy setting or GIT_PROXY_COMMAND environment in
> git-config(1)? People behind strict firewalls been using that for years to
> tunnel their git access through proxies. Used together with things like
> netcat, socat or corkscrew work miracles even with HTTP-only proxies!

It is certainly sub-ideal (but so is git over http), but it should 
provide the functionality you need. Please give the above a shot and if 
for some reason it is insufficient, please let us know.

-- 
Darren Hart
Yocto Linux Kernel


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Introduction and Request for HTTP Git Access
  2010-11-09 17:22   ` Darren Hart
@ 2010-11-09 17:34     ` Ryan D Phillips
  2010-11-09 18:06       ` Denys Dmytriyenko
  0 siblings, 1 reply; 10+ messages in thread
From: Ryan D Phillips @ 2010-11-09 17:34 UTC (permalink / raw)
  To: Darren Hart; +Cc: poky@yoctoproject.org

On 11/9/2010 11:22 AM, Darren Hart wrote:
> On 11/09/2010 09:02 AM, Denys Dmytriyenko wrote:
>> On Tue, Nov 09, 2010 at 10:31:37AM -0600, Ryan_D_Phillips@Dell.com wrote:
>>> Good Day!
>>>
>>> My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux Developer,
>>> currently a software developer architecting an embedded firmware solution on
>>> OE for my employer. With the release of Yocto, we are extremely interested
>>> in trying it out and possibly contributing to the project. My cohort working
>>> with me is Sean Hudson (irc: darknighte), and is someone who you may see
>>> contributions from as well.
>>>
>>> A major stumbling block we must work around is the restrictive firewall and
>>> git checkouts. We have found out the git-http-backend works extremely well,
>>> and are requesting this support on git.pokylinux.org. We suspect other
>>> people within larger corporations would have a similar problem, and by
>>> adding this support would help the community at large.
>>
>> Ryan,
>>
>> It's nice to see another Gentooist!
>>
>> Have you looked at core.gitProxy setting or GIT_PROXY_COMMAND environment in
>> git-config(1)? People behind strict firewalls been using that for years to
>> tunnel their git access through proxies. Used together with things like
>> netcat, socat or corkscrew work miracles even with HTTP-only proxies!
>
> It is certainly sub-ideal (but so is git over http), but it should
> provide the functionality you need. Please give the above a shot and if
> for some reason it is insufficient, please let us know.
>

I don't understand the comment that git over http is sub-ideal (see 
github using https for git by default), but the issue we have is the 
proxy server restricts outbound ports to 80 and 443, and doesn't allow 
CONNECT.

Regards,
Ryan



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Introduction and Request for HTTP Git Access
  2010-11-09 16:31 Introduction and Request for HTTP Git Access Ryan_D_Phillips
  2010-11-09 17:02 ` Denys Dmytriyenko
@ 2010-11-09 18:05 ` Scott Garman
  2010-11-09 18:31   ` Denys Dmytriyenko
  1 sibling, 1 reply; 10+ messages in thread
From: Scott Garman @ 2010-11-09 18:05 UTC (permalink / raw)
  To: poky

On 11/09/2010 08:31 AM, Ryan_D_Phillips@Dell.com wrote:
> Good Day!
>
> My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux
> Developer, currently a software developer architecting an embedded
> firmware solution on OE for my employer. With the release of Yocto,
> we are extremely interested in trying it out and possibly
> contributing to the project. My cohort working with me is Sean Hudson
> (irc: darknighte), and is someone who you may see contributions from
> as well.
>
> A major stumbling block we must work around is the restrictive
> firewall and git checkouts. We have found out the git-http-backend
> works extremely well, and are requesting this support on
> git.pokylinux.org. We suspect other people within larger corporations
> would have a similar problem, and by adding this support would help
> the community at large.
>
> I can help out in any way possible.

Hi Ryan,

I just added a page to our wiki that details instructions for getting up
and running with Poky behind a SOCKS proxy server:

https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy

Scott Garman


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Introduction and Request for HTTP Git Access
  2010-11-09 17:34     ` Ryan D Phillips
@ 2010-11-09 18:06       ` Denys Dmytriyenko
  2010-11-09 18:35         ` Darren Hart
  0 siblings, 1 reply; 10+ messages in thread
From: Denys Dmytriyenko @ 2010-11-09 18:06 UTC (permalink / raw)
  To: Ryan D Phillips; +Cc: poky@yoctoproject.org

On Tue, Nov 09, 2010 at 11:34:48AM -0600, Ryan D Phillips wrote:
> On 11/9/2010 11:22 AM, Darren Hart wrote:
>> On 11/09/2010 09:02 AM, Denys Dmytriyenko wrote:
>>> On Tue, Nov 09, 2010 at 10:31:37AM -0600, Ryan_D_Phillips@Dell.com wrote:
>>>> Good Day!
>>>>
>>>> My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux 
>>>> Developer,
>>>> currently a software developer architecting an embedded firmware 
>>>> solution on
>>>> OE for my employer. With the release of Yocto, we are extremely 
>>>> interested
>>>> in trying it out and possibly contributing to the project. My cohort 
>>>> working
>>>> with me is Sean Hudson (irc: darknighte), and is someone who you may see
>>>> contributions from as well.
>>>>
>>>> A major stumbling block we must work around is the restrictive firewall 
>>>> and
>>>> git checkouts. We have found out the git-http-backend works extremely 
>>>> well,
>>>> and are requesting this support on git.pokylinux.org. We suspect other
>>>> people within larger corporations would have a similar problem, and by
>>>> adding this support would help the community at large.
>>>
>>> Ryan,
>>>
>>> It's nice to see another Gentooist!
>>>
>>> Have you looked at core.gitProxy setting or GIT_PROXY_COMMAND environment 
>>> in
>>> git-config(1)? People behind strict firewalls been using that for years 
>>> to
>>> tunnel their git access through proxies. Used together with things like
>>> netcat, socat or corkscrew work miracles even with HTTP-only proxies!
>>
>> It is certainly sub-ideal (but so is git over http), but it should
>> provide the functionality you need. Please give the above a shot and if
>> for some reason it is insufficient, please let us know.
>>
>
> I don't understand the comment that git over http is sub-ideal (see github 
> using https for git by default), but the issue we have is the proxy server 
> restricts outbound ports to 80 and 443, and doesn't allow CONNECT.

git-over-http used to be sub-ideal until version 1.6.6 of git, as it only 
provided "dumb" read-only access. Now, with git-http-backend(1) there is a 
"smart" transport available, which can also handle pushing over https...

http://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html
http://progit.org/2010/03/04/smart-http.html

-- 
Denys


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Introduction and Request for HTTP Git Access
  2010-11-09 18:05 ` Scott Garman
@ 2010-11-09 18:31   ` Denys Dmytriyenko
  2010-11-09 21:46     ` Ryan D Phillips
  0 siblings, 1 reply; 10+ messages in thread
From: Denys Dmytriyenko @ 2010-11-09 18:31 UTC (permalink / raw)
  To: Scott Garman; +Cc: poky

On Tue, Nov 09, 2010 at 10:05:29AM -0800, Scott Garman wrote:
> On 11/09/2010 08:31 AM, Ryan_D_Phillips@Dell.com wrote:
>> Good Day!
>>
>> My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux
>> Developer, currently a software developer architecting an embedded
>> firmware solution on OE for my employer. With the release of Yocto,
>> we are extremely interested in trying it out and possibly
>> contributing to the project. My cohort working with me is Sean Hudson
>> (irc: darknighte), and is someone who you may see contributions from
>> as well.
>>
>> A major stumbling block we must work around is the restrictive
>> firewall and git checkouts. We have found out the git-http-backend
>> works extremely well, and are requesting this support on
>> git.pokylinux.org. We suspect other people within larger corporations
>> would have a similar problem, and by adding this support would help
>> the community at large.
>>
>> I can help out in any way possible.
>
> Hi Ryan,
>
> I just added a page to our wiki that details instructions for getting up
> and running with Poky behind a SOCKS proxy server:
>
> https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy

Hmm, quite interesting. Looks like Richard finally saw the light at the end of 
the tunnel, so to speak, :) and you guys started using standard environment 
variables - http_proxy, ftp_proxy, no_proxy and GIT_PROXY_COMMAND, passing 
them through bitbake to the external fetchers. At least it appears this way 
from reading the above Wiki instructions... As we have almost the same exact 
instructions to work inside TI.

2 years ago I tried convincing Richard to switch from non-standard HTTP_PROXY* 
and FTP_PROXY* bitbake variables to the standard ones, but wasn't successful[1].
So I had to fork bitbake and make the changes myself for our Arago Project, 
rebasing them later against the final 1.8.18 version of bitbake[2].

Richard, that's what I mentioned during OEDEM couple weeks ago. I was going to 
squash my changes, rebase them against 1.10 or master and post them to the 
bitbake mailing list...

[1] http://thread.gmane.org/gmane.comp.handhelds.openembedded/19716
[2] http://arago-project.org/git/?p=arago-bitbake.git;a=summary

-- 
Denys


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Introduction and Request for HTTP Git Access
  2010-11-09 18:06       ` Denys Dmytriyenko
@ 2010-11-09 18:35         ` Darren Hart
  0 siblings, 0 replies; 10+ messages in thread
From: Darren Hart @ 2010-11-09 18:35 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: poky@yoctoproject.org

On 11/09/2010 10:06 AM, Denys Dmytriyenko wrote:
> On Tue, Nov 09, 2010 at 11:34:48AM -0600, Ryan D Phillips wrote:
>> On 11/9/2010 11:22 AM, Darren Hart wrote:
>>> On 11/09/2010 09:02 AM, Denys Dmytriyenko wrote:
>>>> On Tue, Nov 09, 2010 at 10:31:37AM -0600, Ryan_D_Phillips@Dell.com wrote:
>>>>> Good Day!
>>>>>
>>>>> My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux
>>>>> Developer,
>>>>> currently a software developer architecting an embedded firmware
>>>>> solution on
>>>>> OE for my employer. With the release of Yocto, we are extremely
>>>>> interested
>>>>> in trying it out and possibly contributing to the project. My cohort
>>>>> working
>>>>> with me is Sean Hudson (irc: darknighte), and is someone who you may see
>>>>> contributions from as well.
>>>>>
>>>>> A major stumbling block we must work around is the restrictive firewall
>>>>> and
>>>>> git checkouts. We have found out the git-http-backend works extremely
>>>>> well,
>>>>> and are requesting this support on git.pokylinux.org. We suspect other
>>>>> people within larger corporations would have a similar problem, and by
>>>>> adding this support would help the community at large.
>>>>
>>>> Ryan,
>>>>
>>>> It's nice to see another Gentooist!
>>>>
>>>> Have you looked at core.gitProxy setting or GIT_PROXY_COMMAND environment
>>>> in
>>>> git-config(1)? People behind strict firewalls been using that for years
>>>> to
>>>> tunnel their git access through proxies. Used together with things like
>>>> netcat, socat or corkscrew work miracles even with HTTP-only proxies!
>>>
>>> It is certainly sub-ideal (but so is git over http), but it should
>>> provide the functionality you need. Please give the above a shot and if
>>> for some reason it is insufficient, please let us know.
>>>
>>
>> I don't understand the comment that git over http is sub-ideal (see github
>> using https for git by default), but the issue we have is the proxy server
>> restricts outbound ports to 80 and 443, and doesn't allow CONNECT.
>
> git-over-http used to be sub-ideal until version 1.6.6 of git, as it only
> provided "dumb" read-only access. Now, with git-http-backend(1) there is a
> "smart" transport available, which can also handle pushing over https...
>
> http://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html
> http://progit.org/2010/03/04/smart-http.html

Aha, I didn't realize that. My concern would be how that would tie in 
with the ssh key based user auth we currently use. I'll have to leave 
that to Richard or perhaps someone else that knows the backend setup 
better than I do.


-- 
Darren Hart
Embedded Linux Kernel


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Introduction and Request for HTTP Git Access
  2010-11-09 18:31   ` Denys Dmytriyenko
@ 2010-11-09 21:46     ` Ryan D Phillips
  2010-11-10  0:10       ` Richard Purdie
  0 siblings, 1 reply; 10+ messages in thread
From: Ryan D Phillips @ 2010-11-09 21:46 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: poky@yoctoproject.org

On 11/9/2010 12:31 PM, Denys Dmytriyenko wrote:
> On Tue, Nov 09, 2010 at 10:05:29AM -0800, Scott Garman wrote:
>> On 11/09/2010 08:31 AM, Ryan_D_Phillips@Dell.com wrote:
>>> Good Day!
>>>
>>> My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux
>>> Developer, currently a software developer architecting an embedded
>>> firmware solution on OE for my employer. With the release of Yocto,
>>> we are extremely interested in trying it out and possibly
>>> contributing to the project. My cohort working with me is Sean Hudson
>>> (irc: darknighte), and is someone who you may see contributions from
>>> as well.
>>>
>>> A major stumbling block we must work around is the restrictive
>>> firewall and git checkouts. We have found out the git-http-backend
>>> works extremely well, and are requesting this support on
>>> git.pokylinux.org. We suspect other people within larger corporations
>>> would have a similar problem, and by adding this support would help
>>> the community at large.
>>>
>

Hmm. I didn't mean to start a firestorm. Read only git-http-backend 
access is something that we would find useful. As an alternative, we can 
create repo.or.cz mirrors, but I'm not all that keen on this.

-ryan


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Introduction and Request for HTTP Git Access
  2010-11-09 21:46     ` Ryan D Phillips
@ 2010-11-10  0:10       ` Richard Purdie
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Purdie @ 2010-11-10  0:10 UTC (permalink / raw)
  To: Ryan D Phillips; +Cc: poky@yoctoproject.org

On Tue, 2010-11-09 at 15:46 -0600, Ryan D Phillips wrote:
> On 11/9/2010 12:31 PM, Denys Dmytriyenko wrote:
> > On Tue, Nov 09, 2010 at 10:05:29AM -0800, Scott Garman wrote:
> >> On 11/09/2010 08:31 AM, Ryan_D_Phillips@Dell.com wrote:
> >>> Good Day!
> >>>
> >>> My name is Ryan Phillips (irc: rphillips), a former Gentoo Linux
> >>> Developer, currently a software developer architecting an embedded
> >>> firmware solution on OE for my employer. With the release of Yocto,
> >>> we are extremely interested in trying it out and possibly
> >>> contributing to the project. My cohort working with me is Sean Hudson
> >>> (irc: darknighte), and is someone who you may see contributions from
> >>> as well.
> >>>
> >>> A major stumbling block we must work around is the restrictive
> >>> firewall and git checkouts. We have found out the git-http-backend
> >>> works extremely well, and are requesting this support on
> >>> git.pokylinux.org. We suspect other people within larger corporations
> >>> would have a similar problem, and by adding this support would help
> >>> the community at large.
> >>>
> >
> 
> Hmm. I didn't mean to start a firestorm. Read only git-http-backend 
> access is something that we would find useful. As an alternative, we can 
> create repo.or.cz mirrors, but I'm not all that keen on this.

I'm travelling at the moment so I'll just keep this brief.

I'm more than happy to try and find a way to share git.yoctoproject.org
over http for cloning, that shouldn't be too hard. I'll see if I can get
something working next week although I'm meant to be taking some
vacation too.

For push access over https, that is a lot more difficult as it is
unlikely to integrate well with our access control system. I'd need to
do more reading before I could really comment on that. It appears
changes in git support it better at least.

Cheers,

Richard



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-11-10  0:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 16:31 Introduction and Request for HTTP Git Access Ryan_D_Phillips
2010-11-09 17:02 ` Denys Dmytriyenko
2010-11-09 17:22   ` Darren Hart
2010-11-09 17:34     ` Ryan D Phillips
2010-11-09 18:06       ` Denys Dmytriyenko
2010-11-09 18:35         ` Darren Hart
2010-11-09 18:05 ` Scott Garman
2010-11-09 18:31   ` Denys Dmytriyenko
2010-11-09 21:46     ` Ryan D Phillips
2010-11-10  0:10       ` Richard Purdie

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.