From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Subject: bug#37232: git pull warns of http redirection Date: Fri, 30 Aug 2019 10:40:43 +0200 Message-ID: References: <20190830075323.GA12551@PhantoNv4ArchGx.localdomain> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000009de7a705915194e7" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60664) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3cTu-0004Jx-Mn for bug-guix@gnu.org; Fri, 30 Aug 2019 04:42:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3cTr-0000y2-R6 for bug-guix@gnu.org; Fri, 30 Aug 2019 04:42:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44436) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i3cTr-0000uQ-HW for bug-guix@gnu.org; Fri, 30 Aug 2019 04:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i3cTq-0007ef-C9 for bug-guix@gnu.org; Fri, 30 Aug 2019 04:42:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190830075323.GA12551@PhantoNv4ArchGx.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Bengt Richter Cc: 37232@debbugs.gnu.org --0000000000009de7a705915194e7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Bengt Richter ezt =C3=ADrta (id=C5=91pont: 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=3Demacs > user.name=3DBengt Richter > user.email=3Dbokr@bokr.com > core.repositoryformatversion=3D0 > core.filemode=3Dtrue > core.bare=3Dfalse > core.logallrefupdates=3Dtrue > remote.origin.url=3Dhttp://git.sv.gnu.org/r/guix.git This line says, that you confgiured remote is git.sv.gnu.org ... > > remote.origin.fetch=3D+refs/heads/*:refs/remotes/origin/* > branch.master.remote=3Dorigin > branch.master.merge=3Drefs/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=3Dguix > > 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 --=3D=3D (the rest of this is ignorable context, FWIW :) =3D=3D-- > > 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 > 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 > > --=3D=3D (end of ignorable context, FWIW :) =3D=3D-- > > Regards, > Bengt Richter > > Best regards, g_bor --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21 --0000000000009de7a705915194e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Bengt Richter <bokr@bokr.com> ezt =C3=ADrta (id=C5=91pont: 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=3Demacs
user.name= =3DBengt Richter
user.email=3Dbokr@bokr.c= om
core.repositoryformatversion=3D0
core.filemode=3Dtrue
core.bare=3Dfalse
core.logallrefupdates=3Dtrue
remote.origin.url=3Dhttp://git.sv.gnu.org/r/guix.git

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

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

And this is the current url:
git clone http=
s://git.savannah.gnu.org/git/guix.git

from

https://savannah.gnu.or= g/git/?group=3Dguix
=C2=A0

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


So https is fine.
=C2=A0=
You can try:
=

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

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 versio= n 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=C2=A0 =C2=A0Aug 25 2019 20:58:43=C2=A0 =C2=A0 (current)
=C2=A0 guix a707484
=C2=A0 =C2=A0 repository URL: https://git.savannah.gnu.org/= git/guix.git
=C2=A0 =C2=A0 branch: master
=C2=A0 =C2=A0 commit: a707484d64e7e46f8cb8401c660fbb6eb77ab9c6

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

=C2=A0 =C2=A0 gnu: aqbanking: Update to 5.8.1.

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

commit 521bb336782b8fe04b57ebaadd55be005a85d788

grep -m1 'model name' /proc/cpuinfo:
model name=C2=A0 =C2=A0 =C2=A0 : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz<= br>
--=3D=3D (end of ignorable context, FWIW :) =3D=3D--

Regards,
Bengt Richter

Best regards,
g_bor


--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63= :0B21
--0000000000009de7a705915194e7--