From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oP+hHaHpU2OZsAAAbAwnHQ (envelope-from ) for ; Sat, 22 Oct 2022 15:01:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UFLNHKHpU2O6bAEAG6o9tA (envelope-from ) for ; Sat, 22 Oct 2022 15:01:21 +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 44BF7AE3C for ; Sat, 22 Oct 2022 15:01:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omDhg-0004BE-Cq; Sat, 22 Oct 2022 08:34:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omDhX-0004AQ-Ds for guix-devel@gnu.org; Sat, 22 Oct 2022 08:34:09 -0400 Received: from server0.selfhosted.xyz ([217.64.149.7]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omDhV-0002XU-9n for guix-devel@gnu.org; Sat, 22 Oct 2022 08:34:07 -0400 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id 0FD6C2CEAF25; Sat, 22 Oct 2022 14:33:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1666442035; bh=vP1yor/cftDfiwKeaXCGnQIFSGbw046VCF5nY7wwdDo=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=bF6BR26xD5feIcHd2jq4H5Du0AXtqJkPY7Zi4xTXAOioA/+2P8lcguNIIcVvcxgJA R35vDyllnZ/4uT4x8EUvBFnxmkY2jNQuHmvIU09dnOx2vTkyB9MUze73QNE/auF5oR QogU6+T2frJaQiX2oNtYFo2LpCXaeNilS+41pgHBCjzGQBSjbWsJDPwWa5LZv9CJKs BPxxKJTgWHYE1ze47FJxWRTOWPyr9FydtmP8eVvxrsmDDMv7yGxQjTUhx0F+mQMjlH UG/zbWe+PFO4f3ietSlg4FVpJfK/pSNl4UZ5hCED7B+RqO9uWP4uHFJy+EUDLVvWpo lbTZwlr924VcA== X-Fuglu-Suspect: 06cf656a351743b99b5aa3795288f72e X-Fuglu-Spamstatus: NO Received: from webmail.selfhosted.xyz (office.selfhosted.xyz [192.168.1.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA; Sat, 22 Oct 2022 14:33:49 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 22 Oct 2022 14:33:49 +0200 From: david larsson To: Phil Cc: zimoun , guix-devel@gnu.org Subject: Re: Pinning package inputs using inferiors? In-Reply-To: <87czakdgw5.fsf@beadling.co.uk> References: <87czam9nxq.fsf@beadling.co.uk> <86r0z11psa.fsf@gmail.com> <87czakdgw5.fsf@beadling.co.uk> Message-ID: X-Sender: david.larsson@selfhosted.xyz Received-SPF: pass client-ip=217.64.149.7; envelope-from=david.larsson@selfhosted.xyz; helo=server0.selfhosted.xyz X-Spam_score_int: -23 X-Spam_score: -2.4 X-Spam_bar: -- X-Spam_report: (-2.4 / 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, FROM_SUSPICIOUS_NTLD=0.001, PDS_OTHER_BAD_TLD=1.999, 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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666443681; 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=vP1yor/cftDfiwKeaXCGnQIFSGbw046VCF5nY7wwdDo=; b=Na1usub6usgfdk7Y2udfvjzmXo0ljPhqRRagBd1uO6A37T1N2vznWYWFWpFU5FGF9I/0KB at9R/QngxnxbeA7qeMglmJmcFyvJhv3O6TRMLTlMLunij5IaFEb2p4vn1SQbfvkzg16Riy wcGrnKBNcgtL3Dw1QyEcWYC90n01srFDKKrLgl3L4aJKzstCLtTZFOf/y204TKJ+yeRsou JiqdpqENVwElnB3fSIuzX6T9LRpAByNo1PlrjPgmhdYd+BAuScUXpnagDsIQlEsXJF7+Wn TO3qfmA5I6DUTJd7nNiEmAumxg0pa/0Ry0mNiAPfljAru40BEc6q2/AqBSTzHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666443681; a=rsa-sha256; cv=none; b=nEX5sBNueHne6kf0ByUiyoPGlATz7BLbMEIXAooE59gfKMe34ShKkIxih6DjVXW05+Wv98 1DD83TShGSmIVnSEt3LL7UPr7bkqdyuC6r7IxQxubGORDMz5e316OaVaEWE8AThSoSlcKy QhW7fIuIHUCoGy95o7HcDj6VpakPWczpYBXPNciLFPulZGknnuz0TruTLJVNkDpJGohJGL SfPrmEcR9fiLdGDUvZf+nPIkGfAYFDCYsLcAvwHywZ3YKkhiIiaV3D0SrWBiM5+s2Dd8eA 6fWRip11z/sKEeRmsY6U1nms5l3yA4GiNHdvu0firllMKEVax0R643YKbULVVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=selfhosted.xyz header.s=dkim header.b=bF6BR26x; dmarc=pass (policy=none) header.from=selfhosted.xyz; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=selfhosted.xyz header.s=dkim header.b=bF6BR26x; dmarc=pass (policy=none) header.from=selfhosted.xyz; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 44BF7AE3C X-Spam-Score: -3.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: NTx/aukMvzlL On 2022-10-21 23:08, Phil wrote: [..] > > In the meantime I was wondering if anyone else had a similar use-case > for Guix and if they had tried something similar or different to handle > many versions in an automated way in the same channel commit? To handle many versions in an automated way, I once wrote this: https://gitlab.com/methuselah-0/guix-cigmon/-/tree/master It's a schedulable script that will check for updates in certain git repos (specified branches if you want), and create inherited package versions for the new commits which it can commit and push to a guix channel repository. Probably doesn't solve your problem completely, but might be useful. Example contents of a new file python-nbdev-org-babel-rev.scm with versions of python-nbdev-org-babel, automatically added to a guix channel: (define-module (python-nbdev-org-babel-revs) #:use-module (python-extras) #:use-module (guix packages) #:use-module (guix git-download)) (define-public python-nbdev-org-babel-4f195e9 (package (inherit python-nbdev-org-babel)(properties '(("generated-by" . "cigmon")))(name "python-nbdev-org-babel-4f195e9")(source (origin (method git-fetch) (uri (git-reference (commit "4f195e915eefe5cd4deec3c6aea27e4b61233f33")(url "https://github.com/methuselah-0/nbdev-org-babel.git")))(sha256 (base32 "0ayfxnw1s9rzs1qpqqyqwhf21xk6g8psffsqzfvvl0w5k1j88dqn")))))) (define-public python-nbdev-org-babel-66079a5 (package (inherit python-nbdev-org-babel)(properties '(("generated-by" . "cigmon")))(name "python-nbdev-org-babel-66079a5")(source (origin (method git-fetch) (uri (git-reference (commit "66079a59aa9ee5e4479bdce597aac0f42f7fb565")(url "https://github.com/methuselah-0/nbdev-org-babel.git")))(sha256 (base32 "0krdpc6zbdljriw6s80g08fywy0d1nq8wi3q07v3qs0b6rfz68n4")))))) (define-public python-nbdev-org-babel-master (package (inherit python-nbdev-org-babel-66079a5)(name "python-nbdev-org-babel-master"))) This way you can pin some packages to have an input like mypackage-<1234567> Would that be useful? Best regards, David