From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cM8cEpaT1mRZmAAASxT56A (envelope-from ) for ; Fri, 11 Aug 2023 22:01:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EHUEEpaT1mTh6QAAauVa8A (envelope-from ) for ; Fri, 11 Aug 2023 22:01:26 +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 9D0E861FE1 for ; Fri, 11 Aug 2023 22:01:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=LRJDwkw4; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691784086; 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:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=LVvMILNLnUtlZCWlXVaue/wdbGbWimQFAon/3ilKaw4=; b=sGYdROBK5zpZuAXIpGhdOFIRmJ9jxahlmhGKrvOlOh7uhslC9jsSw6GnzwjmAmFfHbllfV BJHRcVojssLaHL+Lh2XsYY7u7acZna/+eWZSX/S4ujY18YSwo4WoeXQWRJAE2WLZjUUhAq 77kjaQG0WdAHjhubP3V8rL4NBhBDNBvS/4NmZwCXNA5/ufHZ8obQWnPgFCG1pIR47ZQjYF BxrQHSRufsWLdfY4nFFnxP3dl+wVHDbxX+WfOxXXH631+4k94AjK9+6YPW0uGkMGjGgC/F phHPAur9nANF7VVXCAbQ2bVsP+p7auW7hl88WdWpszjCBTvNYmAvRugmTuqj1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691784086; a=rsa-sha256; cv=none; b=Sc9pzwGIVQws/qYUTFyIEHDiwoqvJXfvSdrjK8HnS4EIYg5SLEc8ADDOSFIle1kUWkZWpO /PK0jZkOfUdexGhpg3h5G6VF6y16C/1Y3nKN/v15ATY/LjfTot9KmNU21xfaLq+mL5/KCO wrgHJMngSkzi0S5C15LkqfDXPDiig+6NQ5+DaKsRTcRA+zwJLcLM8RQ/5oebnoQ08BnxC9 fRTwU5PlGzzErLuJAP1ImZ6qNsWw+ZFbvvNIVAYSZkj9hV1u8Ahf7K5iQsp5fWHjV+Po8I u+uhTecBTn7qIvsXHW5p0iHKANr/YDnB6WGpzDP9HQdl1DiGxfCL2RL3fY8Kjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=LRJDwkw4; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUYJk-0002jQ-Hw; Fri, 11 Aug 2023 16:01:04 -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 1qUYJi-0002jB-W1 for bug-guix@gnu.org; Fri, 11 Aug 2023 16:01:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qUYJi-0005u7-MD for bug-guix@gnu.org; Fri, 11 Aug 2023 16:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qUYJi-0004HN-21 for bug-guix@gnu.org; Fri, 11 Aug 2023 16:01:02 -0400 Subject: bug#31611: Add a property in packages to refresh to a specific version Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 11 Aug 2023 20:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 31611 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel Cc: 31611-done@debbugs.gnu.org Mail-Followup-To: 31611@debbugs.gnu.org, maxim.cournoyer@gmail.com, h.goebel@crazy-compilers.com Received: via spool by 31611-done@debbugs.gnu.org id=D31611.169178400416203 (code D ref 31611); Fri, 11 Aug 2023 20:01:01 +0000 Received: (at 31611-done) by debbugs.gnu.org; 11 Aug 2023 20:00:04 +0000 Received: from localhost ([127.0.0.1]:48109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUYIl-0004D7-1o for submit@debbugs.gnu.org; Fri, 11 Aug 2023 16:00:04 -0400 Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]:54418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUYIf-0004C5-DL for 31611-done@debbugs.gnu.org; Fri, 11 Aug 2023 16:00:01 -0400 Received: by mail-vs1-xe2c.google.com with SMTP id ada2fe7eead31-447a4316052so985036137.0 for <31611-done@debbugs.gnu.org>; Fri, 11 Aug 2023 12:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691783991; x=1692388791; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=LVvMILNLnUtlZCWlXVaue/wdbGbWimQFAon/3ilKaw4=; b=LRJDwkw477n6uP9+su1lQthc3QQ8Z7r5ozkGkOC7Q1B7PZqa+ZMu4h8bZNbWsHv6q8 gjmktLEqibpgSQLYVL1wtkOIWg2+L8JTIU8bRpRIhSdbCXw2APWkaW83qc/s5ctLcBP8 JQwr8eXYdv2jnX/Hx9nmp1STPGdgq2Qsh4SMzvBs6dR4m/1GI5MkPqumw+MJw760SUb7 Jxr9mtnF4BKlo9j+GVdfbc0qLsqZMjkpkkAiH+eRSVExGfQ2nEkATcMK8OtdHtnU1PGn XMKxwZtjCZAViMHwfY1B+r3YN8NUTrr0RNh64cowtAHLs6+z3WI8TruzaJu4K8uQo29z Q7wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691783991; x=1692388791; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LVvMILNLnUtlZCWlXVaue/wdbGbWimQFAon/3ilKaw4=; b=Ow2EKcCS1eMGIdhlGYQOLvUWNYzpNOmBKzDZqvLyIdq1WnKna9stQCEQNdE6WvZI41 B0F7YsCNrs82gnWXoad2tFf8K3wGSeNPTHgryex45lxHLQSGYAeOvNv+oJxgflHnM9Lg 4pOfSCLcXXsw14eOXmjb8xoHSSrb8wqiFDPuK14OcPIEBVCBqEurGOjmhlwgDXlsZ2pC iP7dz0n/h4TUfdQhNPO5up0bbAfTmj4DdqOOevZlblmH4B3EJlA/cBJEiuUHJe4AqiEz A+Q0n/WdSjEbtNW/5sY89/g7ZoztQ7QCG3EDlDNbOsNR821Z/gS6Z1WKiEV2m8yZuocG 4WFw== X-Gm-Message-State: AOJu0YwGSSfnZjzR8hu79AAbqvL6eHiwa2Siz/I4pN6dx1enKGatV4bC JFngyiSlRdrfPS1p/CSQNp+FTO0Un87kDA== X-Google-Smtp-Source: AGHT+IHvA38SkvHiNp71mcNLQDGlu6aX3JazoXXyWMr0THmjLuHs8Z3w4Ma0ufqRx6nPu6f8aqyFcA== X-Received: by 2002:a05:6102:458:b0:447:8bdb:8f16 with SMTP id e24-20020a056102045800b004478bdb8f16mr2264350vsq.24.1691783991475; Fri, 11 Aug 2023 12:59:51 -0700 (PDT) Received: from hurd (dsl-205-236-230-92.b2b2c.ca. [205.236.230.92]) by smtp.gmail.com with ESMTPSA id o11-20020a0ccb0b000000b0062de6537febsm1446040qvk.58.2023.08.11.12.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 12:59:50 -0700 (PDT) From: Maxim Cournoyer References: <58db61ea-979f-418b-0eb6-a3bc12cfc2eb@crazy-compilers.com> Date: Fri, 11 Aug 2023 15:59:48 -0400 In-Reply-To: <58db61ea-979f-418b-0eb6-a3bc12cfc2eb@crazy-compilers.com> (Hartmut Goebel's message of "Sun, 27 May 2018 19:55:09 +0200") Message-ID: <87ttt5l58r.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9D0E861FE1 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.08 X-Spam-Score: -5.08 X-TUID: SPNWoZG/+Ywp Hi Hartmut, Hartmut Goebel writes: > `guix refresh` always fetches the newest version of packages. This might > not be desired in all cases. E.g. one might want to keep some still > supported "major" upstream-version and not yet update to the next > "major" version. > > Ludo suggested to add a property in packages that would instruct > updaters to restrict the version search space to a given regexp. > > Rational: Example: KDE Plasma 5 has 5.12 as long-term-support (LTS) > version, while 5.14 has already being released. Do easy maintenance of > dependent packages, sticking to 5.12.x micht be desired. > > Original discussion: > https://lists.gnu.org/archive/html/guix-devel/2018-02/msg00055.html It's now possible to refresh to a specific version with the '=' syntax, as documented in 'info "(guix)Invoking guix refresh"': E.g.: --8<---------------cut here---------------start------------->8--- guix refresh qtbase@5=5.15.10 -> qtbase would be upgraded from 5.15.8 to 5.15.10 --8<---------------cut here---------------end--------------->8--- Closing! -- Thanks, Maxim