GNU bug report logs - #37232
git pull warns of http redirection

Previous Next

Package: guix;

Reported by: Bengt Richter <bokr <at> bokr.com>

Date: Fri, 30 Aug 2019 07:54:02 UTC

Severity: normal

Done: Royce Strange <royball <at> disroot.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37232 in the body.
You can then email your comments to 37232 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37232; Package guix. (Fri, 30 Aug 2019 07:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bengt Richter <bokr <at> bokr.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 30 Aug 2019 07:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bengt Richter <bokr <at> bokr.com>
To: bug-guix <at> gnu.org
Subject: git pull warns of http redirection
Date: Fri, 30 Aug 2019 00:53:23 -0700
Hi all,

It seems to be working, but I like to
eliminate warnings ;-)

To reproduce, cd into your repo dir, then:

$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
$ git config -l
core.editor=emacs
user.name=Bengt Richter
user.email=bokr <at> bokr.com
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=http://git.sv.gnu.org/r/guix.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
$ git pull
warning: redirecting to http://git.savannah.gnu.org/r/guix.git/
Already up to date.
$

Is that http necessary for some load-balancing
redirection, or could it be done with https?

--== (the rest of this is ignorable context, FWIW :) ==--

I think I used the advice from guix 1.0.1 info
to do the initial clone, i.e.,
--advice
14.1 Building from Git

If you want to hack Guix itself, it is recommended to use the latest version from the Git repository: 

git clone https://git.savannah.gnu.org/git/guix.git
--advice--
(though my purpose was not use it for building, but to have the latest
and greatest to grep around in when trying to figure something out ;-)

uname -a:
Linux PhantoNv4ArchGx 5.2.9-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 16 11:29:43 UTC 2019 x86_64 GNU/Linux

guix describe:
Generation 11	Aug 25 2019 20:58:43	(current)
  guix a707484
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a707484d64e7e46f8cb8401c660fbb6eb77ab9c6

(cd ~/wb/guix; git log|head):
commit 43412ab967ee00789fe933f916d804aed9961c57
Author: Tobias Geerinckx-Rice <me <at> tobias.gr>
Date:   Fri Aug 30 03:17:07 2019 +0200

    gnu: aqbanking: Update to 5.8.1.
    
    * gnu/packages/gnucash.scm (aqbanking): Update to 5.8.1.
    [source]: Remove FILE-NAME.

commit 521bb336782b8fe04b57ebaadd55be005a85d788

grep -m1 'model name' /proc/cpuinfo:
model name	: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz

--== (end of ignorable context, FWIW :) ==--

Regards,
Bengt Richter
































Information forwarded to bug-guix <at> gnu.org:
bug#37232; Package guix. (Fri, 30 Aug 2019 08:42:02 GMT) Full text and rfc822 format available.

Message #8 received at 37232 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: Bengt Richter <bokr <at> bokr.com>
Cc: 37232 <at> debbugs.gnu.org
Subject: Re: bug#37232: git pull warns of http redirection
Date: Fri, 30 Aug 2019 10:40:43 +0200
[Message part 1 (text/plain, inline)]
Hello,

Bengt Richter <bokr <at> bokr.com> ezt írta (időpont: 2019. aug. 30., P, 9:54):

> Hi all,
>
> It seems to be working, but I like to
> eliminate warnings ;-)
>
> To reproduce, cd into your repo dir, then:
>
> $ git status
> On branch master
> Your branch is up to date with 'origin/master'.
>
> nothing to commit, working tree clean
> $ git config -l
> core.editor=emacs
> user.name=Bengt Richter
> user.email=bokr <at> bokr.com
> core.repositoryformatversion=0
> core.filemode=true
> core.bare=false
> core.logallrefupdates=true
> remote.origin.url=http://git.sv.gnu.org/r/guix.git


This line says, that you confgiured remote is git.sv.gnu.org ...


>
> remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
> branch.master.remote=origin
> branch.master.merge=refs/heads/master
> $ git pull
> warning: redirecting to http://git.savannah.gnu.org/r/guix.git/
> Already up to date.
> $
>

And this is the current url:

git clone https://git.savannah.gnu.org/git/guix.git

from

https://savannah.gnu.org/git/?group=guix



>
> Is that http necessary for some load-balancing
> redirection, or could it be done with https?
>
>
So https is fine.

You can try:
git remote set-url origin

https://git.savannah.gnu.org/git/guix.git


--== (the rest of this is ignorable context, FWIW :) ==--
>
> I think I used the advice from guix 1.0.1 info
> to do the initial clone, i.e.,
> --advice
> 14.1 Building from Git
>
> If you want to hack Guix itself, it is recommended to use the latest
> version from the Git repository:
>
> git clone https://git.savannah.gnu.org/git/guix.git
> --advice--
> (though my purpose was not use it for building, but to have the latest
> and greatest to grep around in when trying to figure something out ;-)
>
> uname -a:
> Linux PhantoNv4ArchGx 5.2.9-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 16
> 11:29:43 UTC 2019 x86_64 GNU/Linux
>
> guix describe:
> Generation 11   Aug 25 2019 20:58:43    (current)
>   guix a707484
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: a707484d64e7e46f8cb8401c660fbb6eb77ab9c6
>
> (cd ~/wb/guix; git log|head):
> commit 43412ab967ee00789fe933f916d804aed9961c57
> Author: Tobias Geerinckx-Rice <me <at> tobias.gr>
> Date:   Fri Aug 30 03:17:07 2019 +0200
>
>     gnu: aqbanking: Update to 5.8.1.
>
>     * gnu/packages/gnucash.scm (aqbanking): Update to 5.8.1.
>     [source]: Remove FILE-NAME.
>
> commit 521bb336782b8fe04b57ebaadd55be005a85d788
>
> grep -m1 'model name' /proc/cpuinfo:
> model name      : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
>
> --== (end of ignorable context, FWIW :) ==--
>
> Regards,
> Bengt Richter
>
> Best regards,
g_bor


-- 
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37232; Package guix. (Fri, 30 Aug 2019 10:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 37232 <at> debbugs.gnu.org (full text, mbox):

From: Bengt Richter <bokr <at> bokr.com>
To: Gábor Boskovits <boskovits <at> gmail.com>
Cc: 37232 <at> debbugs.gnu.org
Subject: Re: bug#37232: git pull warns of http redirection
Date: Fri, 30 Aug 2019 03:25:06 -0700
On +2019-08-30 10:40:43 +0200, Gábor Boskovits wrote:
> Hello,
> 
> Bengt Richter <bokr <at> bokr.com> ezt írta (időpont: 2019. aug. 30., P, 9:54):
> 
> > Hi all,
> >
> > It seems to be working, but I like to
> > eliminate warnings ;-)
> >
> > To reproduce, cd into your repo dir, then:
[...]

> > $ git config -l
> > core.editor=emacs
> > user.name=Bengt Richter
> > user.email=bokr <at> bokr.com
> > core.repositoryformatversion=0
> > core.filemode=true
> > core.bare=false
> > core.logallrefupdates=true
> > remote.origin.url=http://git.sv.gnu.org/r/guix.git
> 
> 
> This line says, that you confgiured remote is git.sv.gnu.org ...
>
Yes, but AFAIK I only used git config to add my name, email, and
preferred editor. 
> 
> >
> > remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
> > branch.master.remote=origin
> > branch.master.merge=refs/heads/master
> > $ git pull
> > warning: redirecting to http://git.savannah.gnu.org/r/guix.git/
> > Already up to date.
> > $
> >
> 
> And this is the current url:
> 
> git clone https://git.savannah.gnu.org/git/guix.git
>

Is that how guix info docs should read now, unlike what I used
from there? I'll try it fresh into a new guix git repo ...

Aha! Now, right after cloning, I get this
from git config -l:

core.editor=emacs
user.name=Bengt Richter
user.email=bokr <at> bokr.com
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://git.savannah.gnu.org/git/guix.git
                  ^^^^^--joy :)

remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master

And: git pull does not warn about http redirection \o/ :-)

Thank you!

[...]

Regards,
Bengt Richter




Reply sent to Royce Strange <royball <at> disroot.org>:
You have taken responsibility. (Wed, 17 Jun 2020 02:38:02 GMT) Full text and rfc822 format available.

Notification sent to Bengt Richter <bokr <at> bokr.com>:
bug acknowledged by developer. (Wed, 17 Jun 2020 02:38:02 GMT) Full text and rfc822 format available.

Message #16 received at 37232-done <at> debbugs.gnu.org (full text, mbox):

From: Royce Strange <royball <at> disroot.org>
To: 37232-done <at> debbugs.gnu.org
Subject: git pull warns of http redirection
Date: Tue, 16 Jun 2020 21:37:04 -0500
Hello.

Looks like Gábor Boskovits helped Bengt Richter resolve his issue.

Going to go ahead and close.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 15 Jul 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 278 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.