From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YN9kAfKeZGJWKAAAbAwnHQ (envelope-from ) for ; Sun, 24 Apr 2022 02:50:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gEmKAfKeZGJPsQAA9RJhRA (envelope-from ) for ; Sun, 24 Apr 2022 02:50:58 +0200 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 A1BC69C51 for ; Sun, 24 Apr 2022 02:50:57 +0200 (CEST) Received: from localhost ([::1]:53534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niQSl-0007lv-Iq for larch@yhetil.org; Sat, 23 Apr 2022 20:50:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niQSJ-0007lk-9Q for help-guix@gnu.org; Sat, 23 Apr 2022 20:50:27 -0400 Received: from pelzflorian.de ([5.45.111.108]:47414 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niQSH-0002Nz-8K for help-guix@gnu.org; Sat, 23 Apr 2022 20:50:26 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 08DCA3605CF; Sun, 24 Apr 2022 02:50:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1650761423; bh=I6BUsE5ga+W2/0tw8dTbjTS5MRwAWNJNp68bNi2X3ew=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Hn93PmHeiBXOd0g0q7f5RT/tmIN0lJRss+HnmSCawdtCZ+UAdQf6C8HbEG9KCB+tH eGyg+11DWnzXAJGS+PEqXgxHnHXwAZoaiaKNinU0z3h7ThoIU8M8MiaIEEfChwLM3j Ufp6xo/X+4/LRUMVx2k1CGbaFgyX8YHbsDQzYG94= Date: Sun, 24 Apr 2022 02:50:12 +0200 From: "pelzflorian (Florian Pelz)" To: jgart Subject: Re: Guix Channel News Does not work on Foreign Distros for Custom Channels (ignoring Debian) Message-ID: <20220424005012.agi4fg7pkluzsonm@pelzflorian.localdomain> References: <20220422200541.GB29728@gac.attlocal.net> <20220423134951.usjgbrzfiohwfe7r@pelzflorian.localdomain> <20220423135119.GC17925@gac.attlocal.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220423135119.GC17925@gac.attlocal.net> Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Help Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650761457; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=B+poLGlbZDWTy7QDTfHLpnaBthWLo0ncu7/xD6L1Kms=; b=Vva1pfX+8CbiaOu7i/pbfBdunNIXgC1mO8eBuO7u+xaySXNe/jMF2XcesUh22SA8COD5TA +L5t0WecQU3xoFWZQZ36OyRXirLVnBiBj+MUwAd5XkxNBrGFVb4RiA3iWt9HvmqlsdONSe vHvrZhf2TSLk+LKM5MRL5cedLbc/3DlKOQP4VitT1JpnVzHRAzwjr8dm3ExOwY8pGB3FAC nSGERiz4EBIITWzUEpJEDjL+e0GWvsbZkH/6p6wATln3UoSTx/oPXj7HYDX88fM4puoRiQ ++Gqez0t8ipS0AM3KWYV35fwsLynIVPAvXrPZkg/dn9ralA6SlJa9NBmw3xvAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650761457; a=rsa-sha256; cv=none; b=suRZ+7a4Mac0XB0XAuBzR0aQl9J0YMhWO/qFRTiuzrmIFiXuV68qbtrnE/TABcfOADttGG v/9N5D3k/OMjahiJcssxNUiBIt/NOrMb0QdFQO+XF0s/7O0f1B6LlAuckpMwBy4CAhF8JM zQaotQOxCA4x5VathIBwoMiwvGxvg/Nb7rgthQmSY4FLrSASXpDxfwSAtbgUlcR1TsMh8L uffNZjzmnSLItzE2RIUhomgaZL44d33ZpUpjYN1/UOccbr2D7kvbJfBR6ozE6X5ZCEMSWD Gi77Mi07Xt5j0SQcB1JNuR2Njc8WE9SX8h+ISHHyT89Nk0mEvl6+twbZiykm8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=Hn93PmHe; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=Hn93PmHe; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A1BC69C51 X-Spam-Score: 1.18 X-Migadu-Scanner: scn1.migadu.com X-TUID: N3jg0ydou+ef Hi jgart. Now that I think about it -- there are cases when the news simply won’t be displayed, namely if the commit referred to in the news entry was already present in the old commit. Could this be the case, that the news file refers to a commit you already had before pulling? Then the only way to view the news would be guix pull --list-generations On Sat, Apr 23, 2022 at 01:51:19PM -0400, jgart wrote: > scheme@(guix scripts pull)> > (display-news %current-profile) > > guix repl: no channel news since generation 28 > hint: Run `guix pull -l' to view the news for earlier generations. OK, so this will always be the same output as `guix pull -N`. > > Then I’d try to repeat the same after I surround interesting parts of > > the display-news or display-channel-specific-news procedures with > > > > (pk …) > > > > for example instead of > > > > (generation-file-name profile previous)) > > > > write > > > > (pk (generation-file-name profile previous))) > > What are the argument types of profile and previous in > `generation-file-name`? strings or absolute path to a profile and string? > > Could you share an explicit example of how to call `generation-file-name`? > What I meant to say is pull.scm contains a line (generation-file-name profile previous)) which you can replace by (pk (generation-file-name profile previous))) to peek at which generation-file-name is used for the channel news. The goal is to find out at which point pull.scm does something unexpected. Now this was a bad example, since the generation-file-name does not seem so interesting. But you could try change within pull.scm (match (channel-news-for-commit channel new old) to (match (channel-news-for-commit (pk channel) (pk new) (pk old)) which would be expected to show the same information as `guix describe` before and after the last guix pull. This would be expected to contain anything that was added to the news file. Regards, Florian