I have fixed the page. Thanks for letting us know!

Thomas Berezansky
Merrimack Valley Library Consortium


Quoting Scott Prater <[email protected]>:

A coreection to my correction:  the correct URL should be
"git://git.evergreen-ils.org/working/Evergreen.git"  (a forward slash,
not a colon, between "org" and "working"), for doing anonymous
(non-SSH) pulls.

-- Scott

On Sat, Mar 24, 2012 at 12:01 PM, Scott Prater <[email protected]> wrote:
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:

[email protected]:working/Evergreen.git

So I ran the following:

git remote rm working
git remote add working [email protected]: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


Reply via email to