emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Brent Goodrick <bgoodr@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: git://orgmode.org/org-mode.git --> git@code.orgmode.org:bzg/org-mode.git : Now password is required
Date: Sat, 3 Feb 2018 12:56:44 -0800	[thread overview]
Message-ID: <CAJj=8EGdzzWu1Mn67QO96hzr=Vm4UGrPm75uGmVL8ZYOWatG+w@mail.gmail.com> (raw)

Hi,

Short summary to bypass the TL;DR below: In order for me to do a 'git
pull' into an existing local repo only for 'read-only' mode (not
contributing changes back), I had to change my .git/config from:

[remote "official"]
    url = git://orgmode.org/org-mode.git
    fetch = +refs/heads/*:refs/remotes/official/*

to

[remote "official"]
    url = https://code.orgmode.org/bzg/org-mode.git
    fetch = +refs/heads/*:refs/remotes/official/*

Only after doing that could I do a 'git pull' without errors or
password promptings.

Maybe that is the way it is intended to work, but the instructions on
the website imply it should work without any password requirement
using the "git:" method and not the "https:" method.  So I'm reporting
this just in case there is some server issue, versus user error on my
part.


------------------------------------------
TL;DR: detail:

I have local clone of org-mode from long ago that I'm needing to
update again. My .git/config file contains:

[remote "official"]
    url = git://orgmode.org/org-mode.git
    fetch = +refs/heads/*:refs/remotes/official/*
[branch "master"]
    remote = official
    merge = refs/heads/master

I tried doing a 'git fetch' today and it gave me:

fatal: unable to connect to orgmode.org:
orgmode.org[0: 45.77.206.30]: errno=Connection refused

So I looked on the main website at https://orgmode.org/ and it showed
that something had changed w.r.t. where to clone from which is:

git@code.orgmode.org:bzg/org-mode.git

But cloning from that requires a password:

$ git clone git@code.orgmode.org:bzg/org-mode.git
Cloning into 'org-mode'...
git@code.orgmode.org's password:

Why is a password now required just to clone the repo? Note that this
is separate from the need to push back into that repo, so my
expectation is to be able to clone and use separate from committing
changes back to the "official" master, all by using the normal "git:"
method that is indicated as preferred on
https://orgmode.org/worg/org-contribute.html (and I realized that is
for contributing, but the main site still has the "git:" form listed
with no indication that a password ritual is needed).


Regards,
Brent

             reply	other threads:[~2018-02-03 20:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-03 20:56 Brent Goodrick [this message]
2018-04-26 23:34 ` git://orgmode.org/org-mode.git --> git@code.orgmode.org:bzg/org-mode.git : Now password is required Bastien
2018-04-29 20:58   ` Brent Goodrick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJj=8EGdzzWu1Mn67QO96hzr=Vm4UGrPm75uGmVL8ZYOWatG+w@mail.gmail.com' \
    --to=bgoodr@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).