Re: [yocto] why is YOCTO_GIT_URL defined to use http?

2012-04-06 Thread Khem Raj

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

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] why is YOCTO_GIT_URL defined to use http?

2012-03-18 Thread Wolfgang Denk
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: w...@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.
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] why is YOCTO_GIT_URL defined to use http?

2012-03-18 Thread Robert P. J. Day
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

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto