All of lore.kernel.org
 help / color / mirror / Atom feed
* why is YOCTO_GIT_URL defined to use http?
@ 2012-03-18  9:53 Robert P. J. Day
  2012-03-18 13:39 ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2012-03-18  9:53 UTC (permalink / raw)
  To: Yocto discussion list


  in documentation, curious about:

poky.ent:<!ENTITY YOCTO_GIT_URL "http://git.yoctoproject.org">

why is this entity defined to use http:// instead of git://?  if you
use http://, it doesn't work:

$ git clone http://git.yoctoproject.org/poky.git git
Cloning into git...
fatal: http://git.yoctoproject.org/poky.git/info/refs not found: did
you run git update-server-info on the server?
$

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


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

* Re: why is YOCTO_GIT_URL defined to use http?
  2012-03-18  9:53 why is YOCTO_GIT_URL defined to use http? Robert P. J. Day
@ 2012-03-18 13:39 ` Robert P. J. Day
  2012-03-18 16:09   ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2012-03-18 13:39 UTC (permalink / raw)
  To: Yocto discussion list

On Sun, 18 Mar 2012, Robert P. J. Day wrote:

>
>   in documentation, curious about:
>
> poky.ent:<!ENTITY YOCTO_GIT_URL "http://git.yoctoproject.org">
>
> why is this entity defined to use http:// instead of git://?  if you
> use http://, it doesn't work:
>
> $ git clone http://git.yoctoproject.org/poky.git git
> Cloning into git...
> fatal: http://git.yoctoproject.org/poky.git/info/refs not found: did
> you run git update-server-info on the server?
> $

  now that i'm awake, i can expand on the above.  it seems that you
simply can't use a single entity for this since you can use it in two
different contexts:

  1) for browsing (http://)
  2) for cloning (git://)

isn't the obvious solution to define two different entities, to be
used depending on the context?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


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

* Re: why is YOCTO_GIT_URL defined to use http?
  2012-03-18 13:39 ` Robert P. J. Day
@ 2012-03-18 16:09   ` Wolfgang Denk
  2012-03-18 16:17     ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2012-03-18 16:09 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Yocto discussion list

Dear Robert,

In message <alpine.DEB.2.02.1203180937590.7439@oneiric> you wrote:
> 
> > $ git clone http://git.yoctoproject.org/poky.git git
> > Cloning into git...
> > fatal: http://git.yoctoproject.org/poky.git/info/refs not found: did
> > you run git update-server-info on the server?

This is indeed an issue that should be fixed on the server.

>   now that i'm awake, i can expand on the above.  it seems that you
> simply can't use a single entity for this since you can use it in two
> different contexts:
> 
>   1) for browsing (http://)
>   2) for cloning (git://)
> 
> isn't the obvious solution to define two different entities, to be
> used depending on the context?

Umm...  I think you get this wrong.  You should be able to access the
repository thrugh git both with

	git clone http://git.yoctoproject.org/poky.git
and
	git clone git://git.yoctoproject.org/poky.git

For access though a web browser, the URL would be

	http://git.yoctoproject.org/cgit/cgit.cgi/poky

which is indeed a separate thing.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
At the source of every error which is blamed on the computer you will
find at least two human errors, including the error of blaming it  on
the computer.


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

* Re: why is YOCTO_GIT_URL defined to use http?
  2012-03-18 16:09   ` Wolfgang Denk
@ 2012-03-18 16:17     ` Robert P. J. Day
  2012-04-06 13:18       ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2012-03-18 16:17 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: Yocto discussion list

On Sun, 18 Mar 2012, Wolfgang Denk wrote:

> Dear Robert,
>
> In message <alpine.DEB.2.02.1203180937590.7439@oneiric> you wrote:
> >
> > > $ git clone http://git.yoctoproject.org/poky.git git
> > > Cloning into git...
> > > fatal: http://git.yoctoproject.org/poky.git/info/refs not found: did
> > > you run git update-server-info on the server?
>
> This is indeed an issue that should be fixed on the server.
>
> >   now that i'm awake, i can expand on the above.  it seems that you
> > simply can't use a single entity for this since you can use it in two
> > different contexts:
> >
> >   1) for browsing (http://)
> >   2) for cloning (git://)
> >
> > isn't the obvious solution to define two different entities, to be
> > used depending on the context?
>
> Umm...  I think you get this wrong.  You should be able to access the
> repository thrugh git both with
>
> 	git clone http://git.yoctoproject.org/poky.git
> and
> 	git clone git://git.yoctoproject.org/poky.git
>
> For access though a web browser, the URL would be
>
> 	http://git.yoctoproject.org/cgit/cgit.cgi/poky
>
> which is indeed a separate thing.

  quite so, i wrote the above assuming there was a reason why you
*couldn't* clone using the http:// protocol, and that this had been an
explicit decision (for whatever reason).  assuming, though, that it's
just an oversight and someone can fix that, i'll just carry on with my
proofreading.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


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

* Re: why is YOCTO_GIT_URL defined to use http?
  2012-03-18 16:17     ` Robert P. J. Day
@ 2012-04-06 13:18       ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2012-04-06 13:18 UTC (permalink / raw)
  To: yocto

On 03/18/2012 09:17 AM, Robert P. J. Day wrote:
>   quite so, i wrote the above assuming there was a reason why you
> *couldn't*  clone using thehttp://  protocol, and that this had been an
> explicit decision (for whatever reason).  assuming, though, that it's
> just an oversight and someone can fix that, i'll just carry on with my
> proofreading.

its upto upstream package repo policy whatever protocols for git they 
want to expose. some may decide to expose http some not


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

end of thread, other threads:[~2012-04-06 13:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-18  9:53 why is YOCTO_GIT_URL defined to use http? Robert P. J. Day
2012-03-18 13:39 ` Robert P. J. Day
2012-03-18 16:09   ` Wolfgang Denk
2012-03-18 16:17     ` Robert P. J. Day
2012-04-06 13:18       ` Khem Raj

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.