Ask Your Question
2

How to clone opencv's git repository

asked 2012-10-08 05:06:40 -0600

Andriy gravatar image

updated 2020-10-05 08:31:13 -0600

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

edit retag flag offensive close merge delete

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 ( 2012-10-08 06:06:21 -0600 )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.

Vladislav Vinogradov gravatar imageVladislav Vinogradov ( 2012-10-08 06:14:42 -0600 )edit

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 ( 2012-10-17 07:10:40 -0600 )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 ( 2012-10-17 08:35:44 -0600 )edit

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

Andriy gravatar imageAndriy ( 2012-10-17 10:14:56 -0600 )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 ( 2012-10-18 03:15:32 -0600 )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 ( 2012-10-18 12:16:57 -0600 )edit

@Kirill Kornyakov Thank you, this works

homegate gravatar imagehomegate ( 2012-10-19 03:23:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-10-09 01:40:36 -0600

Daniil Osokin gravatar image

updated 2012-10-09 01:41:12 -0600

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

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

edit flag offensive delete link more

Comments

1

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

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-10-18 01:55:42 -0600 )edit

Question Tools

Stats

Asked: 2012-10-08 05:06:40 -0600

Seen: 7,442 times

Last updated: Oct 09 '12