[OPEN-ILS-DEV] incorrect remote URL in Evergreen git documentation?

Scott Prater sprater at gmail.com
Sat Mar 24 13:01:41 EDT 2012


I ran into a problem this morning, when setting up git to work with
the Evergreen "working" repo.

Following the instructions on the wiki page
http://evergreen-ils.org/dokuwiki/doku.php?id=dev:git in the section
"Quick Start for Evergreen contributors", I added the remote working
repo using this command:

   git remote add working git://git.evergreen-ils.org:working/Evergreen.git

When I then ran "git fetch --all", I received the following error:

$ git fetch --all
Fetching origin
Fetching working
fatal: Unable to look up git.evergreen-ils.org (port working)
(Servname not supported for ai_socktype)
error: Could not fetch working

A little bit of Googling indicated that the format of the URL passed
to "git remote add" was incorrect;  "working" was being interpreted as
the port portion of the URL.  The correct format is the SSH format:

git at git.evergreen-ils.org:working/Evergreen.git

So I ran the following:

git remote rm working
git remote add working git at git.evergreen-ils.org:working/Evergreen.git
git fetch --all

... and everything was happy.

I'm willing to update the documentation, if a more experienced git
user can confirm that the URL should indeed be corrected.

thanks,

-- Scott


More information about the Open-ils-dev mailing list