[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix pull: error: Git error: invalid content-type: 'text/plain'
From: |
Jelle Licht |
Subject: |
Re: guix pull: error: Git error: invalid content-type: 'text/plain' |
Date: |
Tue, 15 Sep 2020 09:08:21 +0200 |
divoplade <d@divoplade.fr> writes:
> Hello guix,
>
> I have set up a few packages of mine at
> https://divoplade.fr/divoplade-site.git
>
> If you clone it, it works:
>
> git clone https://divoplade.fr/divoplade-site.git
>
> But if I add this URL as a guix channel, I get:
>
> guix pull: error: Git error: invalid content-type: 'text/plain'
I know this error! I had it happen to me way back when libgit tries to
work with a remote that exposes the older http-based git protocol. AFAIK
(but this was some time ago) libgit does not support this.
See [0] for a explanation on which protocols are supported. Perhaps you
can try to use of the other protocols to see if that helps you? YMMV, of
course :-).
- Jelle
[0]
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols#_the_protocols