From: Jelle Licht <jlicht@fsfe.org>
To: divoplade <d@divoplade.fr>, help-guix@gnu.org
Subject: Re: guix pull: error: Git error: invalid content-type: 'text/plain'
Date: Tue, 15 Sep 2020 09:08:21 +0200 [thread overview]
Message-ID: <87d02na55m.fsf@jlicht.xyz> (raw)
In-Reply-To: <db1fe1b8a41fdc3784d4f5156e61682c19628121.camel@divoplade.fr>
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
next prev parent reply other threads:[~2020-09-15 7:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-14 20:01 guix pull: error: Git error: invalid content-type: 'text/plain' divoplade
2020-09-14 20:12 ` Efraim Flashner
2020-09-15 7:08 ` Jelle Licht [this message]
2020-09-15 17:28 ` divoplade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d02na55m.fsf@jlicht.xyz \
--to=jlicht@fsfe.org \
--cc=d@divoplade.fr \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).