From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oLOzKoasL2Gy9gAAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 18:38:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UMxTJoasL2FiZAAAB5/wlQ (envelope-from ) for ; Wed, 01 Sep 2021 16:38:30 +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 2988311BFA for ; Wed, 1 Sep 2021 18:38:30 +0200 (CEST) Received: from localhost ([::1]:35228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLTFt-0006Y4-4c for larch@yhetil.org; Wed, 01 Sep 2021 12:38:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLSel-0002yM-2A for help-guix@gnu.org; Wed, 01 Sep 2021 12:00:07 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21159) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLSei-0004Tk-UL for help-guix@gnu.org; Wed, 01 Sep 2021 12:00:06 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1630512000; cv=none; d=zohomail.com; s=zohoarc; b=ehBM61Z2lcnfV6kd2p1hw6NTA5Ktj9mTlunVDn1s9Z3brSJsqyzoiRioC8T8xgmjQZ6QHLfEiDL6Zj0h/y8qjGuoofiAYJZCSfJJd60I3VL3lmZHXLoCzj1ge2jMizC85TiS1mOmWZkeRFO/rrNUxzA0NYdfe0nQFUsiqfaSzGo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1630512000; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=k+S+DcidkrhmjvubHOWSQ6CUeVyxfO5iA8SIkxRySKA=; b=B3KdaPvOO4f7Lp5au3yw/rPFlaynsxnkjehnAEFTgNlp2KQjcGZZhSHqZoWh3Nty0NSVniITs8zwNSqwy4NKm8IXox+kMvdTJkWDBWvgNsPgQN9TYuWI8QqQj2sk9pUFk314jqA/9xlu90RDy/RoJ1vXtwckVuwbiJG0Ft8TAzw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=a-rx.info; spf=pass smtp.mailfrom=rx@a-rx.info; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1630512000; s=zoho; d=a-rx.info; i=rx@a-rx.info; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=k+S+DcidkrhmjvubHOWSQ6CUeVyxfO5iA8SIkxRySKA=; b=DPojvWFJiRX43zCvUrUO/joXgLo0xE19+sVaUnjVLKMnU3WmTlQUtuh1LC6CsZsh hIZeyHpQpJ4V74kgvAgL7RdM7SIa9PyPQZwQ+/jL2nffxbR7SfUdZTOKRZmSbz7h3YR Q8cacYRX3oBNx7vIzYl9CuW4t8HtmW897pTuQI0A= Received: from softland (host5-81-182-101.range5-81.btcentralplus.com [5.81.182.101]) by mx.zohomail.com with SMTPS id 1630511996758496.51367253251715; Wed, 1 Sep 2021 08:59:56 -0700 (PDT) Received: from rx by softland with local (Exim 4.94.2) (envelope-from ) id 1mLSeX-007Rs1-Pt for help-guix@gnu.org; Wed, 01 Sep 2021 16:59:53 +0100 From: Andreas Reuleaux To: help-guix Subject: pulling from my personal channel only - is this possible ? Date: Wed, 01 Sep 2021 16:59:53 +0100 Message-ID: <87ilzk2sna.fsf@softland> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rx@a-rx.info; helo=sender4-of-o51.zoho.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEXHASH_WORD=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630514310; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=k+S+DcidkrhmjvubHOWSQ6CUeVyxfO5iA8SIkxRySKA=; b=uP4poVAgKykYcrXKmwVJHqNwbbC+c/I4iXQwYQ1+NWDdXa/RWjqMKnVj1oSHuc+o+6i9of MwYptI766yLl8ZfPKesZAgK5E61Ifz62VBhDQeNfx7odqtO/9ccIp1k1hVtgMXgCY6WCxR U8DLUTPdfHydlZLDGCRGrGyafwM0spyKyVK/kRXFEuz/056QWvNil8yoKAh6Cl5CgFfZHG yI+tDfogZB8NLJsU+N55mSDKDOQTkFEvwBRBtNLdZunwf7B9fhUDVXXDMg8aVH/+JMwCgD IXM2Dc+aR7aW4VIEntWa0fTnxqRfiC8e9rHWK7i+TfwAUe+wCU4Gzn1pGlKAiw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1630514310; a=rsa-sha256; cv=pass; b=Ugeh4slACBD4Jrfb1DKspgUakuEJ9yui3d7JmqWshfPxu4R58Od1EoVfeOb8PddAYmH9yl dIu4cyEeqfli7ARvAgE3YzhYeWHtveIwvHdQIpK7UcgCKVXKHRaUsSvDooKRcLFj33dWas XZM4C5K7v4rNY8B248hcjoO9WqWv6l7jOv9DqUZPsWymv0pgjZhNsBPDg0gtj2CYBncwoE iOq4L0t3Gp6Oaknms2A/ZD9mDJFAdlkkytZQ/Ocq+HKHLbOCC4TxyIN/jl5dgk4caTRo9w iVoBveNUqiJerQrtYhOuktfPB5IYQ931PEgIjV4DYq/ZfVDQYk/J3aqkdsAaeA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=DPojvWFJ; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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-Migadu-Spam-Score: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=DPojvWFJ; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=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-Migadu-Queue-Id: 2988311BFA X-Spam-Score: -2.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: A4ogA5elt7aH Hi, for developing some personal packages, I have set up a personal channel ( http://git.a-rx.info/channel, resp: git://git.a-rx.info/channel ). And I have asked about doing so here before: this is working fine for me now. While working on those packages, I often do a --8<---------------cut here---------------start------------->8--- guix pull --8<---------------cut here---------------end--------------->8--- and with my the accompanying: ~/.config/guix/channels.scm (as currently): --8<---------------cut here---------------start------------->8--- (cons (channel (name 'my-stuff) (url "git://git.a-rx.info/channel") (introduction (make-channel-introduction "c1c4385a9f4e5a10ce294194ba687c58e5a785ec" (openpgp-fingerprint "99BB E77D 73AE 07B9 D4B0 CA2E 3384 11E5 6E09 31B5") )) ) %default-channels ) --8<---------------cut here---------------end--------------->8--- I get the latest packages, both: * from the guix core (via %default-channels), * and from my own packges (url as above) This takes roughly 53s for me: --8<---------------cut here---------------start------------->8--- rx@dell ~$ time guix pull Updating channel 'my-stuff' from Git repository at 'git://git.a-rx.info/channel'... Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... Building from these channels: guix https://git.savannah.gnu.org/git/guix.git c75b30d my-stuff git://git.a-rx.info/channel c1c4385 Computing Guix derivation for 'x86_64-linux'... - nothing to be done real 0m52.708s user 1m7.016s sys 0m0.584s rx@dell ~$ --8<---------------cut here---------------end--------------->8--- It is nice to have up to date guix packages, but annoying nevertheless, when developing my own package (making changes on my channel) - and it would be enough for me to get new guix core packages only once per day, say. Thus I try to pull from my own channel only, with no success however: --8<---------------cut here---------------start------------->8--- rx@dell ~$ guix pull --url="git://git.a-rx.info/channel" Updating channel 'guix' from Git repository at 'git://git.a-rx.info/channel'... guix pull: error: aborting update of channel 'guix' to commit c1c4385a9f4e5a10ce294194ba687c58e5a785ec, which is not a descendant of c75b30d58f0becb0a5cd6a8bfe69d1063b0d1ada hint: This could indicate that the channel has been tampered with and is trying to force a roll-back, preventing you from getting the latest updates. If you think this is not the case, explicitly allow non-forward updates. --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- rx@dell ~$ guix pull --url="git://git.a-rx.info/channel" --allow-downgrades Updating channel 'guix' from Git repository at 'git://git.a-rx.info/channel'... guix pull: warning: moving channel 'guix' from c75b30d58f0becb0a5cd6a8bfe69d1063b0d1ada to unrelated commit c1c4385a9f4e5a10ce294194ba687c58e5a785ec guix pull: error: Git error: object not found - no match for id (9edb3f66fd807b096b48283debdcddccfea34bad) --8<---------------cut here---------------end--------------->8--- When I try to comment out the %default-channels, i.e. change my channels.scm to: --8<---------------cut here---------------start------------->8--- (cons (channel (name 'my-stuff) (url "git://git.a-rx.info/channel") (introduction (make-channel-introduction "..." (openpgp-fingerprint "...") )) ) ;; %default-channels '() ) --8<---------------cut here---------------end--------------->8--- then I get: --8<---------------cut here---------------start------------->8--- rx@dell ~$ guix pull Updating channel 'my-stuff' from Git repository at 'git://git.a-rx.info/channel'... Building from this channel: my-stuff git://git.a-rx.info/channel c1c4385 /home/rx/.config/guix/channels.scm:3:6: error: 'guix' channel is lacking hint: Make sure your list of channels contains one channel named `guix' providing the core of Guix. --8<---------------cut here---------------end--------------->8--- Is there a way to pull from my own channel only (and otherwise use the packages from guix core as pulled last time (as pulled in the morning say, when pulling once per day)? Is there an issue with my http/git urls maybe ? - I can git clone my channel with a http url as well: --8<---------------cut here---------------start------------->8--- rx@softland ~/tmp $ git clone http://git.a-rx.info/channel/ Cloning into 'channel'... rx@softland ~/tmp $ --8<---------------cut here---------------end--------------->8--- but I cannot use that http git url for pulling in my channels file: --8<---------------cut here---------------start------------->8--- (cons (channel (name 'my-stuff) ;; (url "git://git.a-rx.info/channel") (url "http://git.a-rx.info/channel/") (introduction (make-channel-introduction "c1c4385a9f4e5a10ce294194ba687c58e5a785ec" (openpgp-fingerprint "99BB E77D 73AE 07B9 D4B0 CA2E 3384 11E5 6E09 31B5") )) ) %default-channels ) --8<---------------cut here---------------end--------------->8--- Then I get: --8<---------------cut here---------------start------------->8--- rx@dell ~$ guix pull Updating channel 'my-stuff' from Git repository at 'http://git.a-rx.info/channel/'... guix pull: error: Git error: invalid content-type: 'text/plain; charset=UTF-8' rx@dell ~$ --8<---------------cut here---------------end--------------->8--- Thanks in advance. -A