[yocto] why is YOCTO_GIT_URL defined to use http?

Robert P. J. Day rpjday at crashcourse.ca
Sun Mar 18 06:39:51 PDT 2012


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
========================================================================



More information about the yocto mailing list