From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4OAFFndoYF9xNwAA0tVLHw (envelope-from ) for ; Tue, 15 Sep 2020 07:08:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cD5VEHdoYF9DfwAAbx9fmQ (envelope-from ) for ; Tue, 15 Sep 2020 07:08:39 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A78819403C8 for ; Tue, 15 Sep 2020 07:08:38 +0000 (UTC) Received: from localhost ([::1]:44686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kI54u-0004kx-W4 for larch@yhetil.org; Tue, 15 Sep 2020 03:08:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kI54o-0004km-Tv for help-guix@gnu.org; Tue, 15 Sep 2020 03:08:30 -0400 Received: from mail1.fsfe.org ([2001:aa8:ffed:f5f3::151]:44352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kI54j-0002Bk-Uo for help-guix@gnu.org; Tue, 15 Sep 2020 03:08:30 -0400 From: Jelle Licht To: divoplade , help-guix@gnu.org Subject: Re: guix pull: error: Git error: invalid content-type: 'text/plain' In-Reply-To: References: Date: Tue, 15 Sep 2020 09:08:21 +0200 Message-ID: <87d02na55m.fsf@jlicht.xyz> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:aa8:ffed:f5f3::151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fsfe.org (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.91 X-TUID: gDKvehRuZ4k8 divoplade 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