[bug#78463,2/2] news: Add news entry for new 'guix refresh' partial version syntax.

Message ID 8aa67bae95d15ef84334f56386501aba3fa8c25f.1747460420.git.maxim.cournoyer@gmail.com
State New
Headers
Series [bug#78462,1/2] refresh: Allow specifying a partial version via the version specification. |

Commit Message

Maxim Cournoyer May 17, 2025, 5:40 a.m. UTC
  * etc/news.scm (channels-news): New entry.

Change-Id: Ic3be1bd62b4dc36a45fcbb1ae87c8a9bf0b837e9
---
 etc/news.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
  

Patch

diff --git a/etc/news.scm b/etc/news.scm
index c70234ece7b..31684e53019 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -38,6 +38,22 @@ 
 (channel-news
  (version 0)
 
+ (entry (commit "XXX")
+        (title
+         (en "@samp{guix refresh} can now target partial versions"))
+        (body
+         (en "While it had been possible for some time to use the
+@option{--target-version} to update to a partially defined version, this can
+now be more conveniently expressed via the package version specification
+directly, by prefixing it with the tilde (@samp{~}) character:
+
+@example
+$ guix refresh bash=~5.2
+gnu/packages/bash.scm:150:15: bash would be upgraded from 5.1.16 to 5.2.37
+@end example
+
+For more information, see (info \"(guix) Invoking guix refresh\").")))
+
  (entry (commit "6e8ffdf3c5afac265e540027c2332573b25461ae")
         (title
          (en "Linux-libre 6.13 removed from Guix")