Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #197482

Re: git clone https://... fails, git://... succeeds — ?

From john doe <johndoe65534@mail.com>
Newsgroups linux.debian.user
Subject Re: git clone https://... fails, git://... succeeds — ?
Date 2018-07-11 13:40 +0200
Message-ID <walDr-323-1@gated-at.bofh.it> (permalink)
References <wajrX-1Qo-3@gated-at.bofh.it> <wajLj-1W6-1@gated-at.bofh.it> <wakHn-2ul-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 7/11/2018 12:37 PM, Zenaan Harkness wrote:
> On Wed, Jul 11, 2018 at 11:32:30AM +0200, john doe wrote:
>> On 7/11/2018 11:12 AM, Zenaan Harkness wrote:
>>> Anyone know why git is failing to clone with the HTTPS protocol (but
>>> succeeds with the git protocol)?
>>>
>>> Example:
>>>
>>> $ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
>>> Cloning into 'docs.gits'...
>>> fatal: unable to access
>>> 'https://github.com/gnubee-git/GnuBee_Docs.git/': gnutls_handshake()
>>> failed: Public key signature verification has failed.
>>>
>>>
>>> whereas:
>>>
>>> $ git clone git://github.com/gnubee-git/GnuBee_Docs.git docs.gits
>>> Cloning into 'docs.gits'...
>>> remote: Counting objects: 1218, done.
>>> remote: Compressing objects: 100% (29/29), done.
>>> ...
>>>
>>
>> It is working fine here:
>>
>> $ git clone https://github.com/gnubee-git/GnuBee_Docs.git docs.gits
>> Cloning into 'docs.gits'...
>> remote: Counting objects: 1218, done.
>> remote: Compressing objects: 100% (29/29), done.
>> remote: Total 1218 (delta 16), reused 31 (delta 11), pack-reused 1178
>> Receiving objects: 100% (1218/1218), 872.28 MiB | 11.39 MiB/s, done.
>> Resolving deltas: 100% (288/288), done.
>> Checking out files: 100% (510/510), done.
>>
>> Maybe:
>>
>> https://superuser.com/questions/1250527/git-clone-stopped-working
> 
> OK so that page suggests reinstalling package libgnutls-deb0-28
> BUT, that package is not in the archives for Debian stable:
> 
> https://packages.debian.org/search?keywords=libgnutls-deb0-28
> 
> shows that it's only available in wheezy-backports, jessie
> (oldstable) and sid (unstable) as a debports port for arm64.
> 
> So the file
> pool/main/g/gnutls28/libgnutls-deb0-28_3.3.8-6+deb8u7_amd64.deb
> 
> is in the archives, but not listed as a stable/stretch package.
> 
> Interestin. Given it's apparently not in stretch, perhaps I should
> simply uninstall it:
> 

Note that I'm also on stretch.
Looks like something is broken on your end.

> 
> I clone in 2 ways: --mirror for those repositories I am initially
> keeping an archive for, and regular clone for those I want to
> immediately look at.
> 
> In order to automate updates to these repos, I use this dir-name
> convention to simply my scripts:
> 
>   - .gitm for --mirror (--bare) repos
>   - .gits for regular "source checked out/ work dir" repos
> 

I would rework the script to handle something like:

docs-mirror.git
docs-bare.git
docs

http://blog.plataformatec.com.br/2013/05/how-to-properly-mirror-a-git-repository/

Note that '--mirror' implies '--bare'; mirror and bare are two different 
things.:

https://git-scm.com/docs/git-clone

-- 
John Doe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

git clone https://... fails, git://... succeeds — ? Zenaan Harkness <zenaan@freedbms.net> - 2018-07-11 11:20 +0200
  Re: git clone https://... fails, git://... succeeds — ? john doe <johndoe65534@mail.com> - 2018-07-11 11:40 +0200
    Re: git clone https://... fails, git://... succeeds — ? Zenaan Harkness <zenaan@freedbms.net> - 2018-07-11 12:40 +0200
      Re: git clone https://... fails, git://... succeeds — ? john doe <johndoe65534@mail.com> - 2018-07-11 13:40 +0200
        libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ? Zenaan Harkness <zenaan@freedbms.net> - 2018-07-11 13:50 +0200
          Re: libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-11 14:40 +0200
            Re: libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ? Zenaan Harkness <zenaan@freedbms.net> - 2018-07-12 13:30 +0200
              Re: libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-12 14:30 +0200
                Re: libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ? Zenaan Harkness <zenaan@freedbms.net> - 2018-07-13 02:10 +0200
                Re: libgnutls-deb0-28 missing from Debian repos David Wright <deblis@lionunicorn.co.uk> - 2018-07-13 06:20 +0200
                Re: libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ? Greg Wooledge <wooledg@eeg.ccf.org> - 2018-07-13 14:30 +0200
                Re: libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ? Zenaan Harkness <zenaan@freedbms.net> - 2018-07-14 12:00 +0200
                Re: libgnutls-deb0-28 missing from Debian repos - Re: git clone https://... fails, git://... succeeds — ? Zenaan Harkness <zenaan@freedbms.net> - 2018-07-14 12:20 +0200
      Re: git clone https://... fails, git://... succeeds — ? davidson <davidson@freevolt.org> - 2018-07-13 12:50 +0200
        Re: git clone https://... fails, git://... succeeds — ? davidson <davidson@freevolt.org> - 2018-07-13 13:20 +0200
        Re: git clone https://... fails, git://... succeeds — ? David Wright <deblis@lionunicorn.co.uk> - 2018-07-13 17:00 +0200

csiph-web