From patchwork Sun Aug 28 13:18:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 42036 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 919CF27BBEC; Sun, 28 Aug 2022 14:21:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2070F27BBEA for ; Sun, 28 Aug 2022 14:21:26 +0100 (BST) Received: from localhost ([::1]:48460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSIE9-0005de-AQ for patchwork@mira.cbaines.net; Sun, 28 Aug 2022 09:21:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSICx-00031c-KC for guix-patches@gnu.org; Sun, 28 Aug 2022 09:20:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSICw-0002gK-Db for guix-patches@gnu.org; Sun, 28 Aug 2022 09:20:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSICw-0006zS-9T for guix-patches@gnu.org; Sun, 28 Aug 2022 09:20:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57460] [PATCH 17/20] refresh: Allow updating to a specific version (documentation) Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Aug 2022 13:20:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57460 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57460@debbugs.gnu.org Received: via spool by 57460-submit@debbugs.gnu.org id=B57460.166169278226707 (code B ref 57460); Sun, 28 Aug 2022 13:20:10 +0000 Received: (at 57460) by debbugs.gnu.org; 28 Aug 2022 13:19:42 +0000 Received: from localhost ([127.0.0.1]:57808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSICT-0006wa-Pm for submit@debbugs.gnu.org; Sun, 28 Aug 2022 09:19:42 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:52751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSICM-0006v6-CW for 57460@debbugs.gnu.org; Sun, 28 Aug 2022 09:19:34 -0400 Received: from hermia.goebel-consult.de ([46.87.137.46]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MIdW7-1ogIp33I4D-00EbFe for <57460@debbugs.gnu.org>; Sun, 28 Aug 2022 15:19:28 +0200 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 6753265A4E; Sun, 28 Aug 2022 15:18:56 +0200 (CEST) From: Hartmut Goebel Date: Sun, 28 Aug 2022 15:18:43 +0200 Message-Id: <8e4201238e61596c397823bfac5f46d09498ccc8.1661691694.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.4 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:aJdTP67ggUn6qQ0LODMfI34IPlYdIZx2q+ZJYfko+20DlC3sBkr MDVUGaxMRD0ckb3BBs5+0uPo/NOuu6YlYjJRvY3Jnyh7jQJuXRH2C7HqMO7/MgQjJam/J4h gWpDQyutLkEGYC2bSPb36H9b8VLJOuk6UVqjG9kKeKQyKz5vKKL/FPksPDIDkSF9fmpnuiO 4j8eUG09a0UQeID7hBUmg== X-UI-Out-Filterresults: notjunk:1;V03:K0:NjIjBc6aAMg=:LFCfCZBzIhBPs6EkG4gIY6 /dfj+3q1hkzaqkfwGBH9X9+XoYLBwgMxkiURoq1wPOCRzSKOn+Az+1CTM+CsCNvlAlns5aHOR flcpNKP50x6dCEYXAAKawBQxPPCJ4KTtn269L8s2k7Nhl79CorgKqVzlAEJkHF22xW97BneHE 77WZ94isl7ZKGfkP7Jq1oGNVEm7jgr5m7OHP54USjIteCdnHwQvujw7DW7Cl8REIZnTWQs82e 1IkoUQ8pGriCIDBI/79WcqCLrmIvNn0NuemPyTFmdR/tzd5aJJivlnEpEPfXi/ER6Ufytjm4u Ki9fAri4UNQVUw6VFWtUVEm2tMuP74M6UgTKCOhEsDfR8eFG4nWs8s2PE8WItxoMZujY+80T1 RBKoaGsf6CqSGvDfv0yTDdA0QaFk3EgMKCm9wlnxtDut58f+uP6sWeMPCpBObSvSVTtICSu/1 Bb7ZpHM53I4qi+Rnby0SvndpY13AF8IZJPKAUapIESXxf7kbLOLuCMbQnl/0rQklFl40Z3QGx wb0HExKt+bF3uMjP0/rSpofPCfZKSyM+oT+wHqovS5I8xwsT2FjHOQIluyZLFkqaMHWkslPLa /m5KqQ1d5tjn4Apov9wREsBZT7Wh9rRoYKK9lAJVIFiwQymBl9a4tsl1oxf57A41w/toOqTH0 SfXymxrF+3gOUkMR4+Xt52Z/JlHv2cmZRyxlncN/rIjW6QyN096ZMO8P6fRVKU60whUX94ryx NGUFD3l4HhbwGLXRsji1lIlfAp1jF96USu8DnX7592QKNo6QyuySArf3CsE= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- doc/guix.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 7bce8a567c..c459fa6d4d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -13747,6 +13747,19 @@ gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gm @end table +If for some reason you don't want to update to the latest version, +you can update to a specific version by passing a package specification. +However, not all updaters support this. + +@example +$ guix refresh trytond-party +gnu/packages/tryton.scm:2101:13: trytond-party would be upgraded from 6.2.0 to 6.4.0 +$ guix refresh -u trytond-party@@6.2.1 +@dots{} +gnu/packages/tryton.scm:2101:13: trytond-party: updating from version 6.2.0 to version 6.2.1... +@dots{} +@end example + Sometimes the upstream name differs from the package name used in Guix, and @command{guix refresh} needs a little help. Most updaters honor the @code{upstream-name} property in package definitions, which can be used