Ludovic Courtès
d0fed2f4df
locate: Do not return the system database when it is too old.
...
Fixes a bug whereby ‘guix locate’ would pick the system database, then
decide it’s too old, try to update it, and fail because it’s not
writable by unprivileged users.
Fixes <https://issues.guix.gnu.org/66612 >.
* guix/scripts/locate.scm (file-age): New procedure.
(suitable-database): Add ‘age-update-threshold’ parameter and honor it.
(guix-locate): Remove ‘file-age’. Pass ‘age-update-threshold’ to the
‘database’ option.
Reported-by: Matt Wette <matt.wette@gmail.com>
2023-10-18 18:21:04 +02:00
..
2023-10-06 16:37:16 +02:00
2023-10-06 16:37:16 +02:00
2023-10-17 14:52:06 +02:00
2023-08-12 23:02:31 +02:00
2023-10-18 18:21:04 +02:00
2023-06-18 23:36:25 +02:00
2023-05-31 23:25:24 +02:00
2023-05-11 13:23:08 +02:00
2023-07-11 15:47:56 +02:00
2023-03-13 15:08:33 +01:00
2023-07-11 15:47:56 +02:00
2023-06-04 11:30:18 +02:00
2023-06-02 15:47:27 +02:00
2023-09-26 17:36:58 +02:00
2023-02-25 14:50:33 -05:00
2023-07-12 16:48:28 +03:00
2023-05-11 13:23:08 +02:00
2023-03-13 15:08:33 +01:00
2023-05-31 23:25:25 +02:00
2023-03-13 15:08:33 +01:00
2023-08-26 11:38:56 -04:00
2023-05-04 13:08:59 +02:00
2023-02-27 15:54:09 +01:00
2023-03-13 15:08:33 +01:00
2023-09-26 17:36:58 +02:00
2023-09-25 12:00:18 +02:00
2023-09-11 23:39:13 -04:00
2022-11-11 23:17:42 +01:00
2023-08-25 14:24:43 +02:00
2023-05-11 13:23:08 +02:00
2023-08-16 21:34:13 -04:00
2023-03-13 15:08:33 +01:00
2023-08-01 19:40:19 +08:00
2023-09-08 19:12:15 +02:00
2022-12-02 23:20:54 +01:00
2023-05-30 00:15:29 +02:00
2023-09-06 16:41:06 -04:00
2023-03-13 15:08:33 +01:00
2023-07-13 19:00:14 +02:00
2023-08-24 16:03:18 +02:00
2023-02-19 10:09:15 +01:00
2023-09-24 02:00:00 +02:00
2023-06-09 14:19:14 +02:00
2023-03-13 15:08:33 +01:00
2023-02-22 10:41:35 -05:00
2023-03-13 15:08:33 +01:00
2023-10-04 23:30:41 -04:00
2023-09-26 17:36:58 +02:00
2023-03-13 15:08:33 +01:00
2023-08-22 11:17:53 +02:00
2023-04-12 08:29:37 -04:00
2023-03-13 15:08:33 +01:00
2023-03-27 18:48:51 +02:00
2023-07-18 18:16:55 +02:00
2023-09-17 15:31:03 +02:00
2023-10-17 14:51:53 +02:00
2023-09-13 22:17:21 +02:00
2023-06-17 14:38:32 +02:00