From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KJmAGFUMMGGBLwAAgWs5BA (envelope-from ) for ; Thu, 02 Sep 2021 01:27:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +CHIE1UMMGHcCAAA1q6Kng (envelope-from ) for ; Wed, 01 Sep 2021 23:27:17 +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 48F1C1C3BB for ; Thu, 2 Sep 2021 01:27:16 +0200 (CEST) Received: from localhost ([::1]:37792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLZdR-0005EN-TF for larch@yhetil.org; Wed, 01 Sep 2021 19:27:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLZd2-0005Dz-1C for help-guix@gnu.org; Wed, 01 Sep 2021 19:26:48 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLZd0-0002v7-1b for help-guix@gnu.org; Wed, 01 Sep 2021 19:26:47 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1630538802; cv=none; d=zohomail.com; s=zohoarc; b=lGmUhLGFJIPNbOCMv9z0duS/bpy9yp3iz6k2Uzfg3CSQJm32ae/9I4OEZGkc43Me2PytuD1jTDPVbTnTDtLWUWKHFyrY5DGm1PcFkHI/09huTYa4ylx0x6t4qnDZ6tIO8j+J22N3ZL1jsf7nCJhr3SNL4odwU9Vku/eE7yrbGPc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1630538802; h=Content-Type:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=KUytb2WV1ayazAAssU2OQb54bUoOdsZbrwgXlva7eyE=; b=Fq30YVQfmqDJHHXgmi9AqVR28SCmql+urkTbcamH6SgDQfZbvfe8K5RAugQlRKZd/lRInk3VPlINRkQx+G74UJrEV1q0zfddSAdD8pOGOK4A0Qqj+lba2zdbIv+Pozu+7Lh4PoA7/yCmyA8GkLa4w76hTZKhruhx0URt67wZnK0= 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=1630538802; s=zoho; d=a-rx.info; i=rx@a-rx.info; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type; bh=KUytb2WV1ayazAAssU2OQb54bUoOdsZbrwgXlva7eyE=; b=MWNywcr1yG+lWRldGGdR3MdElYYEUpaISvoVl4V0EDNTj/Cuqn2+p3O6rbLQcawc n0vaVoL6xZZkdQxtw8FhgHhXFKckTdIWbEB0+Cha2G7Zoh04g+zS4pFwGoYZdYn/lGS 5/LF/xU3ORjo7zeeGdDM+orcvrgYSoRxChMkoY1M= Received: from softland (host5-81-182-101.range5-81.btcentralplus.com [5.81.182.101]) by mx.zohomail.com with SMTPS id 1630538800615593.8349703499579; Wed, 1 Sep 2021 16:26:40 -0700 (PDT) Received: from rx by softland with local (Exim 4.94.2) (envelope-from ) id 1mLZcr-008aoZ-MD for help-guix@gnu.org; Thu, 02 Sep 2021 00:26:37 +0100 From: Andreas Reuleaux To: help-guix Subject: Re: pulling from my personal channel only - is this possible ? References: <87ilzk2sna.fsf@softland> <87y28g0y64.fsf@softland> Date: Thu, 02 Sep 2021 00:26:37 +0100 In-Reply-To: <87y28g0y64.fsf@softland> (Andreas Reuleaux's message of "Wed, 01 Sep 2021 22:43:31 +0100") Message-ID: <87a6kvubbm.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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630538837; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KUytb2WV1ayazAAssU2OQb54bUoOdsZbrwgXlva7eyE=; b=c9un3nyWLqUsxHd0zw3uOjvgT/uyw74NB8Z6b+GXKNbrqUDcbrsahkA0D8y0iW6Nm8QINu xPiu3/1j+V8f9RasfEQPr607GLv5foDnnjrTz6lw52LYJeDZvUwJQC3zrf+1p5u0Eu6yor dpUBpluc2guBQK65b7OwgLHKKhCTKDuWowl9NNBWBt4Mm8NBfAgN3Hmdaf4sT734BXOxyc 0C+y78qsbkh3FIr46vmRceDGymwSuFVuQeqfuYiJ+Cj/2T1wzyYEJnVCDjdZ8Ixc0mhEL/ FkcQg+PWA9BYBHYwHo/HyHHCmX3lypfkyZVjRNVUmn/Jk2XGVbpVmM/z9AAc9Q== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1630538837; a=rsa-sha256; cv=pass; b=HMuudoN73j9A7ruEkOrbOK7EpVX1r6QDkyBmJy0UTHWXd3CwswUukEdkGD4paydv4dCojJ 6DipHCuqqTgLoj7YzacmfC8eHHN3XiPPwdvf7k9cZloUrZANnWe8dUPaIwnkMRkANdim8V F0TcAsJs3FVHPiCsAheYa3wm/w4JyzjRH/Y+UV93uqXy2KxiM8KnMgBewCsFcasaGuo50j WzVHwh3BgB/yHOsuGHCv38B1EuKSEDhvKFyl7IkSWl/OxeI+2i08yIjW/glsrRWg58TyKG D0lG1bjDocT6pYERjZG0Eu+qRXKGjAAGg1dfqDWjAO6JqP+2+XX0rte2eYlZ3Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=MWNywcr1; 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-Spam-Score: -0.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=MWNywcr1; 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: 48F1C1C3BB X-Spam-Score: -0.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: HFPlhcY7jV+h OK, once more: I am beginning to understand your idea: you are fixing the guix core channel to a specific commit: "9edb3f66fd807b096b48283debdcddccfea34bad" here, i.e. from Saturday, Aug 28 2021 However when I use this (with my own channel): with or without the channel-with-substitutes-available part (here shorter: without): --8<---------------cut here---------------start------------->8--- (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") ;; (branch "master") ;; commit as of Sat Aug 28 2021 (commit "a8dd285d5a0670abf124a721e6ba94da045b24ba") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))) (channel (name 'my-stuff) (url "git://git.a-rx.info/channel") (introduction (make-channel-introduction "2526d032addf793521b9f717d411662db5166288" (openpgp-fingerprint "99BB E77D 73AE 07B9 D4B0 CA2E 3384 11E5 6E09 31B5") )) ) ) --8<---------------cut here---------------end--------------->8--- Then if I pull repeatedly: it always takes around 51s / 52s / 53s: --8<---------------cut here---------------start------------->8--- rx@dell ~/.config/guix$ time guix pull Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... Updating channel 'my-stuff' from Git repository at 'git://git.a-rx.info/channel'... Building from these channels: my-stuff git://git.a-rx.info/channel 2526d03 guix https://git.savannah.gnu.org/git/guix.git a8dd285 Computing Guix derivation for 'x86_64-linux'... / nothing to be done real 0m51.820s user 1m7.150s sys 0m0.528s rx@dell ~/.config/guix$ --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- rx@dell ~/.config/guix$ time guix pull Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... Updating channel 'my-stuff' from Git repository at 'git://git.a-rx.info/channel'... Building from these channels: my-stuff git://git.a-rx.info/channel 2526d03 guix https://git.savannah.gnu.org/git/guix.git a8dd285 Computing Guix derivation for 'x86_64-linux'... / nothing to be done real 0m50.882s user 1m6.199s sys 0m0.486s rx@dell ~/.config/guix$ --8<---------------cut here---------------end--------------->8--- and so on. Maybe it is not the pulling itself that is so expensive, but "Computing the Guix derivation..." (that is part of the pull command as well apparently) ? Is it necessary to always have a complete Guix derivation built, when I just want to update my system with some changes of my own? Summary line: I guess I am beginning to understand your idea, but it practice it does not make a difference, as each pull still takes more then 50sec. Is there anyone else (pulling frequently) annoyed by these 53 sec roughly each time ? -Andreas Andreas Reuleaux writes: > Simon, > > well thanks as well, but sorry: > > Neither do I understand this: it still has a guix core channel [?]: > > >> (channel >> (name 'guix) >> (url "https://git.savannah.gnu.org/git/guix.git") >> ;; (branch "master") >> ... > > (which I wanted to avoid - as it takes ~ 53s), nor does it work > for me (there may be issues with the finterprint/commit ids > I don't want to dig any deeper here): > > rx@dell ~/.config/guix$ guix pull > Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... > guix pull: error: aborting update of channel 'guix' to commit a8dd285d5a0670abf124a721e6ba94da045b24ba, which is not a descendant of 95c29d2746943733cbe8df7013854d45bb0df413 > hint: Use `--allow-downgrades' to force this downgrade. > > rx@dell ~/.config/guix$ guix pull --allow-downgrades > Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... > guix pull: warning: rolling back channel 'guix' from 95c29d2746943733cbe8df7013854d45bb0df413 to a8dd285d5a0670abf124a721e6ba94da045b24ba > Updating channel 'hacks' from Git repository at 'http://example.com/hacks.git'... > guix pull: error: Git error: unexpected http status code: 404 > rx@dell ~/.config/guix$ > > > I replying to the list, even thought I have received your mail only > privately. > > Thanks in any case. > -A > > > Simon Streit writes: > >> Hi Andreas, >> >> Andreas Reuleaux writes: >>> While working on those packages, I often do a >>> >>> guix pull >> >> Hey, do you just want to pull, say, from your own channel, but not Guix' >> default? This is something I just figured out a couple of days ago! >> >> One way, and this is only one possibility, is to modify your >> channels.scm in such a way that you directly pin your channels to the >> commit, or if necessary, a branch, and basically pull whatever you want >> to get your newest fix. >> >> This is how my channels.scm more or less looks like at the moment: >> >> (use-modules (guix ci)) >> (list (channel-with-substitutes-available >> %default-guix-channel >> "https://ci.guix.gnu.org")) >> (list >> (channel >> (name 'guix) >> (url "https://git.savannah.gnu.org/git/guix.git") >> ;; (branch "master") >> (commit "a8dd285d5a0670abf124a721e6ba94da045b24ba") >> (introduction >> (make-channel-introduction >> "9edb3f66fd807b096b48283debdcddccfea34bad" >> (openpgp-fingerprint >> "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))) >> (channel >> (name 'hacks) >> (url "http://example.com/hacks.git") >> (branch "master") >> (commit "e3fd7d9e4aa541f63133c4678f316b5239364c34"))) >> >> Be aware, that the downside is that anytime you want to go further, you >> have to comment things out again, or go back to the default definition. >> >> >> Kind regards >> Simon