emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* git://orgmode.org/org-mode.git --> git@code.orgmode.org:bzg/org-mode.git : Now password is required
@ 2018-02-03 20:56 Brent Goodrick
  2018-04-26 23:34 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Brent Goodrick @ 2018-02-03 20:56 UTC (permalink / raw)
  Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git://orgmode.org/org-mode.git --> git@code.orgmode.org:bzg/org-mode.git : Now password is required
  2018-02-03 20:56 git://orgmode.org/org-mode.git --> git@code.orgmode.org:bzg/org-mode.git : Now password is required Brent Goodrick
@ 2018-04-26 23:34 ` Bastien
  2018-04-29 20:58   ` Brent Goodrick
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2018-04-26 23:34 UTC (permalink / raw)
  To: Brent Goodrick; +Cc: emacs-orgmode

Hi Brent,

https cloning is for users who just want to git pull:
https://code.orgmode.org/bzg/org-mode.git

git:// cloning is for developers with a username on code.orgmode.org:
git clone git://code.orgmode.org/bzg/org-mode.git

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git://orgmode.org/org-mode.git --> git@code.orgmode.org:bzg/org-mode.git : Now password is required
  2018-04-26 23:34 ` Bastien
@ 2018-04-29 20:58   ` Brent Goodrick
  0 siblings, 0 replies; 3+ messages in thread
From: Brent Goodrick @ 2018-04-29 20:58 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

Thanks!

On Thu, Apr 26, 2018 at 4:34 PM, Bastien <bzg@gnu.org> wrote:

> Hi Brent,
>
> https cloning is for users who just want to git pull:
> https://code.orgmode.org/bzg/org-mode.git
>
> git:// cloning is for developers with a username on code.orgmode.org:
> git clone git://code.orgmode.org/bzg/org-mode.git
>
> HTH,
>
> --
>  Bastien
>

[-- Attachment #2: Type: text/html, Size: 986 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-29 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-03 20:56 git://orgmode.org/org-mode.git --> git@code.orgmode.org:bzg/org-mode.git : Now password is required Brent Goodrick
2018-04-26 23:34 ` Bastien
2018-04-29 20:58   ` Brent Goodrick

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).