[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/29: scripts/refresh: Remove column from spec line before sorting.
From: |
guix-commits |
Subject: |
01/29: scripts/refresh: Remove column from spec line before sorting. |
Date: |
Mon, 17 Jul 2023 09:00:05 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit eda2c23874d298e7867ebd6d74213df3527ba8df
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jul 17 13:51:54 2023 +0200
scripts/refresh: Remove column from spec line before sorting.
We want to sort by file and line number, but the column number messes
everything up.
This is a follow-up to commit b43841c124d15eaecc41b3928f08a26dbd5c653a.
* guix/scripts/refresh.scm (guix-refresh): Trim the digits on the right of
the
location string before comparing them.
---
guix/scripts/refresh.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 719883d4a9..a9241aa20d 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -591,7 +591,8 @@ all are dependent packages: ~{~a~^ ~}~%")
(string-append (config-directory)
"/upstream/trustedkeys.kbx"))))
(let* ((spec-line
- (compose location->string
+ (compose (cut string-trim-right <> char-set:digit)
+ location->string
package-location
update-spec-package))
;; Sort the specs so that we update packages from the
- branch master updated (ad08f9331f -> ad457d0114), guix-commits, 2023/07/17
- 02/29: gnu: r-openssl: Update to 2.1.0., guix-commits, 2023/07/17
- 05/29: gnu: r-sass: Update to 0.4.7., guix-commits, 2023/07/17
- 10/29: gnu: r-rcppalgos: Update to 2.8.0., guix-commits, 2023/07/17
- 03/29: gnu: r-babelwhale: Update to 1.2.0., guix-commits, 2023/07/17
- 06/29: gnu: r-gensa: Update to 1.1.9., guix-commits, 2023/07/17
- 07/29: gnu: r-rcppspdlog: Update to 0.0.14., guix-commits, 2023/07/17
- 08/29: gnu: r-ctrdata: Update to 1.14.0., guix-commits, 2023/07/17
- 01/29: scripts/refresh: Remove column from spec line before sorting.,
guix-commits <=
- 04/29: gnu: r-ggpp: Update to 0.5.3., guix-commits, 2023/07/17
- 09/29: gnu: r-doby: Update to 4.6.17., guix-commits, 2023/07/17
- 13/29: gnu: r-sf: Update to 1.0-14., guix-commits, 2023/07/17
- 12/29: gnu: r-longdat: Update to 1.1.2., guix-commits, 2023/07/17
- 15/29: gnu: r-seewave: Update to 2.2.1., guix-commits, 2023/07/17
- 14/29: gnu: r-sccore: Update to 1.0.4., guix-commits, 2023/07/17
- 16/29: gnu: r-stars: Update to 0.6-2., guix-commits, 2023/07/17
- 17/29: gnu: r-ggh4x: Update to 0.2.5., guix-commits, 2023/07/17
- 11/29: gnu: r-tidytree: Update to 0.4.4., guix-commits, 2023/07/17
- 18/29: gnu: r-mgcv: Update to 1.9-0., guix-commits, 2023/07/17