public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Problem of git clone with http
@ 2016-04-01  0:59 Jaehoon Chung
  2016-04-01  7:23 ` Anatolij Gustschin
  0 siblings, 1 reply; 10+ messages in thread
From: Jaehoon Chung @ 2016-04-01  0:59 UTC (permalink / raw)
  To: u-boot

Hi all,

I have fetched the u-boot/master with http, not git.
url = http://git.denx.de/u-boot.git

When i saw the gitweb, it seems that v2016.03 was released..
But i can't pull and fetch anything with http..

$ git pull
Already up-to-date.

$ git show origin/master
commit 077678eb0c226e52a1f90edabd3369ab26065b32
Merge: e69514c ab971e1
Author: Tom Rini <trini@konsulko.com>
Date:   Tue Jan 12 18:12:42 2016 -0500

    Merge git://git.denx.de/u-boot-dm

$ git describe
v2016.01-39-g077678e

But on gitweb

Merge branch 'master' of git://git.denx.de/u-boot-tegra master
author	Tom Rini <trini@konsulko.com>	
Wed, 30 Mar 2016 02:33:13 +0900 (13:33 -0400)
committer	Tom Rini <trini@konsulko.com>	
Wed, 30 Mar 2016 02:33:13 +0900 (13:33 -0400)
commit	080c499df689e8c42df70de44502c0d71533dda8


There is difference..Does anybody know this problem?
Now, i can't use git protocol. So i need to use the "http".

I didn't test with "git"

Best Regards,
Jaehoon Chung

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

* [U-Boot] Problem of git clone with http
  2016-04-01  0:59 [U-Boot] Problem of git clone with http Jaehoon Chung
@ 2016-04-01  7:23 ` Anatolij Gustschin
  2016-04-01  7:29   ` Jaehoon Chung
  0 siblings, 1 reply; 10+ messages in thread
From: Anatolij Gustschin @ 2016-04-01  7:23 UTC (permalink / raw)
  To: u-boot

Hi,

On Fri, 01 Apr 2016 09:59:22 +0900
Jaehoon Chung jh80.chung at samsung.com wrote:
...
> I have fetched the u-boot/master with http, not git.
> url = http://git.denx.de/u-boot.git
> 
> When i saw the gitweb, it seems that v2016.03 was released..
> But i can't pull and fetch anything with http..
... 
> There is difference..Does anybody know this problem?

this issue is known, I reported it to our network admin a while
ago but it hasn't been resolved yet, sorry.

> Now, i can't use git protocol. So i need to use the "http".

for now please try cloning from U-Boot git repo on github:

  https://github.com/trini/u-boot.git

Thanks,

Anatolij

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

* [U-Boot] Problem of git clone with http
  2016-04-01  7:23 ` Anatolij Gustschin
@ 2016-04-01  7:29   ` Jaehoon Chung
  2016-04-27 14:43     ` Andreas Dannenberg
  0 siblings, 1 reply; 10+ messages in thread
From: Jaehoon Chung @ 2016-04-01  7:29 UTC (permalink / raw)
  To: u-boot

Hi,

On 04/01/2016 04:23 PM, Anatolij Gustschin wrote:
> Hi,
> 
> On Fri, 01 Apr 2016 09:59:22 +0900
> Jaehoon Chung jh80.chung at samsung.com wrote:
> ...
>> I have fetched the u-boot/master with http, not git.
>> url = http://git.denx.de/u-boot.git
>>
>> When i saw the gitweb, it seems that v2016.03 was released..
>> But i can't pull and fetch anything with http..
> ... 
>> There is difference..Does anybody know this problem?
> 
> this issue is known, I reported it to our network admin a while
> ago but it hasn't been resolved yet, sorry.
> 
>> Now, i can't use git protocol. So i need to use the "http".
> 
> for now please try cloning from U-Boot git repo on github:
> 
>   https://github.com/trini/u-boot.git

Thanks for sharing information. this information is helpful to me! :)

Best Regards,
Jaehoon Chung

> 
> Thanks,
> 
> Anatolij
> 
> 

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

* [U-Boot] Problem of git clone with http
  2016-04-01  7:29   ` Jaehoon Chung
@ 2016-04-27 14:43     ` Andreas Dannenberg
  2016-04-27 14:54       ` Tom Rini
  2016-04-27 20:44       ` Wolfgang Denk
  0 siblings, 2 replies; 10+ messages in thread
From: Andreas Dannenberg @ 2016-04-27 14:43 UTC (permalink / raw)
  To: u-boot

On Fri, Apr 01, 2016 at 04:29:48PM +0900, Jaehoon Chung wrote:
> Hi,
> 
> On 04/01/2016 04:23 PM, Anatolij Gustschin wrote:
> > Hi,
> > 
> > On Fri, 01 Apr 2016 09:59:22 +0900
> > Jaehoon Chung jh80.chung at samsung.com wrote:
> > ...
> >> I have fetched the u-boot/master with http, not git.
> >> url = http://git.denx.de/u-boot.git
> >>
> >> When i saw the gitweb, it seems that v2016.03 was released..
> >> But i can't pull and fetch anything with http..
> > ... 
> >> There is difference..Does anybody know this problem?
> > 
> > this issue is known, I reported it to our network admin a while
> > ago but it hasn't been resolved yet, sorry.
> > 
> >> Now, i can't use git protocol. So i need to use the "http".
> > 
> > for now please try cloning from U-Boot git repo on github:
> > 
> >   https://github.com/trini/u-boot.git
> 

I was just banging my head not being able to fetch the latest U-Boot
stuff, running into the same issue, and successfully worked around it by
using the git:// URL. However it wasn't until I wanted to post about
this on this mailing list that I found this thread :)

Anyways it seems like this issue already persists for one month without
a fix. For folks behind draconian corporate firewalls the http:// URLs
are often easier to use, so this is a bit of a trap....

Regards,

--
Andreas Dannenberg
Texas Instruments Inc

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

* [U-Boot] Problem of git clone with http
  2016-04-27 14:43     ` Andreas Dannenberg
@ 2016-04-27 14:54       ` Tom Rini
  2016-04-27 20:44       ` Wolfgang Denk
  1 sibling, 0 replies; 10+ messages in thread
From: Tom Rini @ 2016-04-27 14:54 UTC (permalink / raw)
  To: u-boot

On Wed, Apr 27, 2016 at 09:43:15AM -0500, Andreas Dannenberg wrote:
> On Fri, Apr 01, 2016 at 04:29:48PM +0900, Jaehoon Chung wrote:
> > Hi,
> > 
> > On 04/01/2016 04:23 PM, Anatolij Gustschin wrote:
> > > Hi,
> > > 
> > > On Fri, 01 Apr 2016 09:59:22 +0900
> > > Jaehoon Chung jh80.chung at samsung.com wrote:
> > > ...
> > >> I have fetched the u-boot/master with http, not git.
> > >> url = http://git.denx.de/u-boot.git
> > >>
> > >> When i saw the gitweb, it seems that v2016.03 was released..
> > >> But i can't pull and fetch anything with http..
> > > ... 
> > >> There is difference..Does anybody know this problem?
> > > 
> > > this issue is known, I reported it to our network admin a while
> > > ago but it hasn't been resolved yet, sorry.
> > > 
> > >> Now, i can't use git protocol. So i need to use the "http".
> > > 
> > > for now please try cloning from U-Boot git repo on github:
> > > 
> > >   https://github.com/trini/u-boot.git
> > 
> 
> I was just banging my head not being able to fetch the latest U-Boot
> stuff, running into the same issue, and successfully worked around it by
> using the git:// URL. However it wasn't until I wanted to post about
> this on this mailing list that I found this thread :)
> 
> Anyways it seems like this issue already persists for one month without
> a fix. For folks behind draconian corporate firewalls the http:// URLs
> are often easier to use, so this is a bit of a trap....

Note that "http://github.com/trini/u-boot.git" should work as well.  Or
at least I was able to kick off a clone that way locally but I don't
know if it's being rewritten under the hood to https.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160427/f8a7f1d0/attachment.sig>

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

* [U-Boot] Problem of git clone with http
  2016-04-27 14:43     ` Andreas Dannenberg
  2016-04-27 14:54       ` Tom Rini
@ 2016-04-27 20:44       ` Wolfgang Denk
  2016-04-27 20:59         ` Andreas Dannenberg
  2016-04-27 21:05         ` Sergey Kubushyn
  1 sibling, 2 replies; 10+ messages in thread
From: Wolfgang Denk @ 2016-04-27 20:44 UTC (permalink / raw)
  To: u-boot

Dear Andreas,

In message <20160427144315.GH2885@borg.dal.design.ti.com> you wrote:
>
> > >> But i can't pull and fetch anything with http..
...
> I was just banging my head not being able to fetch the latest U-Boot
> stuff, running into the same issue, and successfully worked around it by
> using the git:// URL. However it wasn't until I wanted to post about
> this on this mailing list that I found this thread :)
> 
> Anyways it seems like this issue already persists for one month without
> a fix. For folks behind draconian corporate firewalls the http:// URLs
> are often easier to use, so this is a bit of a trap....

Agreed.  But the first step of getting something fixed is to report it
to the responsible admins, or here on the list.  I never use HTTP
myself to access the repository, as git protocol is so much more
efficient.  So unless somebody shouts about it, I will never notice
any such problems.

I've tweaked things a bit - can you please give it another try?  If
you still see problems (either now or later) please make sure to
report them to me, and I will make sure someone looks into it.

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Here's a fish hangs in the net like a poor man's right in  the  law.
'Twill hardly come out."     - Shakespeare, Pericles, Act II, Scene 1

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

* [U-Boot] Problem of git clone with http
  2016-04-27 20:44       ` Wolfgang Denk
@ 2016-04-27 20:59         ` Andreas Dannenberg
  2016-04-27 21:05         ` Sergey Kubushyn
  1 sibling, 0 replies; 10+ messages in thread
From: Andreas Dannenberg @ 2016-04-27 20:59 UTC (permalink / raw)
  To: u-boot

On Wed, Apr 27, 2016 at 10:44:00PM +0200, Wolfgang Denk wrote:
> Dear Andreas,
> 
> In message <20160427144315.GH2885@borg.dal.design.ti.com> you wrote:
> >
> > > >> But i can't pull and fetch anything with http..
> ...
> > I was just banging my head not being able to fetch the latest U-Boot
> > stuff, running into the same issue, and successfully worked around it by
> > using the git:// URL. However it wasn't until I wanted to post about
> > this on this mailing list that I found this thread :)
> > 
> > Anyways it seems like this issue already persists for one month without
> > a fix. For folks behind draconian corporate firewalls the http:// URLs
> > are often easier to use, so this is a bit of a trap....
> 
> Agreed.  But the first step of getting something fixed is to report it
> to the responsible admins, or here on the list.  I never use HTTP
> myself to access the repository, as git protocol is so much more
> efficient.  So unless somebody shouts about it, I will never notice
> any such problems.
> 
> I've tweaked things a bit - can you please give it another try?  If
> you still see problems (either now or later) please make sure to
> report them to me, and I will make sure someone looks into it.

Hallo Wolfgang,
I just did a fresh git clone http://git.denx.de/u-boot.git into a new
directory just to verify the current behavior and I can confirm that it
now works as expected. Thanks!

Regards,
Andreas

--
Andreas Dannenberg
Texas Instruments Inc

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

* [U-Boot] Problem of git clone with http
  2016-04-27 20:44       ` Wolfgang Denk
  2016-04-27 20:59         ` Andreas Dannenberg
@ 2016-04-27 21:05         ` Sergey Kubushyn
  2016-04-27 21:21           ` Andreas Dannenberg
  2016-04-28  4:57           ` Wolfgang Denk
  1 sibling, 2 replies; 10+ messages in thread
From: Sergey Kubushyn @ 2016-04-27 21:05 UTC (permalink / raw)
  To: u-boot

On Wed, 27 Apr 2016, Wolfgang Denk wrote:

> Dear Andreas,
>
> In message <20160427144315.GH2885@borg.dal.design.ti.com> you wrote:
>>
>>>>> But i can't pull and fetch anything with http..
> ...
>> I was just banging my head not being able to fetch the latest U-Boot
>> stuff, running into the same issue, and successfully worked around it by
>> using the git:// URL. However it wasn't until I wanted to post about
>> this on this mailing list that I found this thread :)
>>
>> Anyways it seems like this issue already persists for one month without
>> a fix. For folks behind draconian corporate firewalls the http:// URLs
>> are often easier to use, so this is a bit of a trap....
>
> Agreed.  But the first step of getting something fixed is to report it
> to the responsible admins, or here on the list.  I never use HTTP
> myself to access the repository, as git protocol is so much more
> efficient.  So unless somebody shouts about it, I will never notice
> any such problems.
>
> I've tweaked things a bit - can you please give it another try?  If
> you still see problems (either now or later) please make sure to
> report them to me, and I will make sure someone looks into it.

This seems to be a widespread thing. It is definitely caused by buggy Cisco
firewalls corrupting binary files. I had the same problem in corporate
environment (where I have my day job right now) 100% traced to their proxy
servers. All traffic is going through some Cisco proxies (don't know what
devices/software it is) and it was impossible to clone a git repo because
data was corrupted when going through those buggy things.

In my case, as I'm more like a principal engineer here, corporate IT made a
hole for my development machines so they go to the Net directly. That solved
the issue.

Before that cloning always failed when uncompressing objects. That also
applied to _ANY_ compressed files downloaded from the Net if those were
big enough. Smaller files were OK and small git repos didn't have any
problems but when they were bigger than some threshold all such files
arrived corrupted.

---
******************************************************************
*  KSI at home    KOI8 Net  < >  The impossible we do immediately.  *
*  Las Vegas   NV, USA   < >  Miracles require 24-hour notice.   *
******************************************************************

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

* [U-Boot] Problem of git clone with http
  2016-04-27 21:05         ` Sergey Kubushyn
@ 2016-04-27 21:21           ` Andreas Dannenberg
  2016-04-28  4:57           ` Wolfgang Denk
  1 sibling, 0 replies; 10+ messages in thread
From: Andreas Dannenberg @ 2016-04-27 21:21 UTC (permalink / raw)
  To: u-boot

On Wed, Apr 27, 2016 at 02:05:47PM -0700, Sergey Kubushyn wrote:
> On Wed, 27 Apr 2016, Wolfgang Denk wrote:
> 
> >Dear Andreas,
> >
> >In message <20160427144315.GH2885@borg.dal.design.ti.com> you wrote:
> >>
> >>>>>But i can't pull and fetch anything with http..
> >...
> >>I was just banging my head not being able to fetch the latest U-Boot
> >>stuff, running into the same issue, and successfully worked around it by
> >>using the git:// URL. However it wasn't until I wanted to post about
> >>this on this mailing list that I found this thread :)
> >>
> >>Anyways it seems like this issue already persists for one month without
> >>a fix. For folks behind draconian corporate firewalls the http:// URLs
> >>are often easier to use, so this is a bit of a trap....
> >
> >Agreed.  But the first step of getting something fixed is to report it
> >to the responsible admins, or here on the list.  I never use HTTP
> >myself to access the repository, as git protocol is so much more
> >efficient.  So unless somebody shouts about it, I will never notice
> >any such problems.
> >
> >I've tweaked things a bit - can you please give it another try?  If
> >you still see problems (either now or later) please make sure to
> >report them to me, and I will make sure someone looks into it.
> 
> This seems to be a widespread thing. It is definitely caused by buggy Cisco
> firewalls corrupting binary files.

In my case since I partially work off-site (enjoying unrestricted
Internet access during those times), the issue also occurred without any
type of firewall in-between (well, except my little home office router).
So it seems like there are several things that can go wrong, of course
corporate firewalls like you pointed out often being a major culprit.

Regards,
Andreas

> I had the same problem in corporate
> environment (where I have my day job right now) 100% traced to their proxy
> servers. All traffic is going through some Cisco proxies (don't know what
> devices/software it is) and it was impossible to clone a git repo because
> data was corrupted when going through those buggy things.
> 
> In my case, as I'm more like a principal engineer here, corporate IT made a
> hole for my development machines so they go to the Net directly. That solved
> the issue.
> 
> Before that cloning always failed when uncompressing objects. That also
> applied to _ANY_ compressed files downloaded from the Net if those were
> big enough. Smaller files were OK and small git repos didn't have any
> problems but when they were bigger than some threshold all such files
> arrived corrupted.
> 
> ---
> ******************************************************************
> *  KSI at home    KOI8 Net  < >  The impossible we do immediately.  *
> *  Las Vegas   NV, USA   < >  Miracles require 24-hour notice.   *
> ******************************************************************

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

* [U-Boot] Problem of git clone with http
  2016-04-27 21:05         ` Sergey Kubushyn
  2016-04-27 21:21           ` Andreas Dannenberg
@ 2016-04-28  4:57           ` Wolfgang Denk
  1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Denk @ 2016-04-28  4:57 UTC (permalink / raw)
  To: u-boot

Dear Sergey,

In message <alpine.LFD.2.20.1604271353250.14091@maverick.koi8.net> you wrote:
> 
> This seems to be a widespread thing. It is definitely caused by buggy Cisco
> firewalls corrupting binary files. I had the same problem in corporate

I cannot comment on this.  In our case the cause was a different one.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's not an optical illusion, it just looks like one.   -- Phil White

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

end of thread, other threads:[~2016-04-28  4:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-01  0:59 [U-Boot] Problem of git clone with http Jaehoon Chung
2016-04-01  7:23 ` Anatolij Gustschin
2016-04-01  7:29   ` Jaehoon Chung
2016-04-27 14:43     ` Andreas Dannenberg
2016-04-27 14:54       ` Tom Rini
2016-04-27 20:44       ` Wolfgang Denk
2016-04-27 20:59         ` Andreas Dannenberg
2016-04-27 21:05         ` Sergey Kubushyn
2016-04-27 21:21           ` Andreas Dannenberg
2016-04-28  4:57           ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox