First time here? Check out the FAQ!

Ask Your Question
2

How to clone opencv's git repository

asked Oct 8 '12

Andriy gravatar image

updated Oct 5 '0

Hello,

I'm trying to clone opencv's git repository. I'm following stepts from here. But I'm stack on this point:

Because on my account page there is no option to input RSA key with "Create" button. And when I'm clonning repository I'm getting next error:

fatal: unable to connect to code.opencv.org:
code.opencv.org[0: 5.9.49.245]: errno=No error

So how can I solve this problem? Thanks

Preview: (hide)

Comments

Looks like the network to which I was connected was blocking access to repository. After connecting to another network I didn't get this error anymore. But still don't understand how I insert public key in my acconunt page. Is this step useless?

Andriy gravatar imageAndriy (Oct 8 '12)edit
5

Public keys are used for write access to repository. It is for developers only. And if you want to contribute to OpenCV, make a pull request at github.

hello we have same problem. we can't clone.

git clone git://code.opencv.org/opencv.git Initialized empty Git repository in /home/hom_diu1/mod_pagespeed/opencv/.git/ code.opencv.org[0: 5.9.49.245]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out)

any idea

homegate gravatar imagehomegate (Oct 17 '12)edit

Please read the instruction again http://code.opencv.org/projects/opencv/wiki/Working_with_OpenCV_git_repository. You should clone GitHub repository.

Kirill Kornyakov gravatar imageKirill Kornyakov (Oct 17 '12)edit

@homegate Check your network configuration, maybe there is some proxy that is blocking the access

Andriy gravatar imageAndriy (Oct 17 '12)edit

@Andriy&Kirill We just wanted to build mod_pagespeed (https://developers.google.com/speed/docs/mod_pagespeed/build_from_source) from scratch. One of the steps that will be executed automatically ist the git command, which fails with the described error.(We don't us anny proxy

homegate gravatar imagehomegate (Oct 18 '12)edit

Please try the following: git clone git://github.com/Itseez/opencv.git This is official mirror of the OpenCV's central repository. And I don't think that this is a good idea, to be dependent on OpenCV master, you should choose some release tag.

Kirill Kornyakov gravatar imageKirill Kornyakov (Oct 18 '12)edit

@Kirill Kornyakov Thank you, this works

homegate gravatar imagehomegate (Oct 19 '12)edit

1 answer

Sort by » oldest newest most voted
1

answered Oct 9 '12

Daniil Osokin gravatar image

updated Oct 9 '12

Hi! To clone repository, you needn't rsa key, just type

git clone git://code.opencv.org/opencv.git

Preview: (hide)

Comments

1

Actually everyone should clone this repo: https://github.com/Itseez/opencv

Kirill Kornyakov gravatar imageKirill Kornyakov (Oct 18 '12)edit

Question Tools

Stats

Asked: Oct 8 '12

Seen: 7,843 times

Last updated: Oct 09 '12