* bug#65001: ‘guix locate’ method is silently ignored when a cache exists
@ 2023-08-01 21:05 Tobias Geerinckx-Rice via Bug reports for GNU Guix
2023-09-03 20:03 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2023-08-01 21:05 UTC (permalink / raw)
To: 65001
Quick niggle I noticed:
~/guix master ↑2 λ guix locate libstdc++.so.
guix locate: indexing files from /gnu/store...
guix locate: traversing local profile manifests...
indexing 735 packages
…
~/guix master ↑29 ↓26 λ guix locate --method=store libstdc++.so.6
…
~/guix master ↑29 ↓26 λ guix locate --method=store --update
libstdc++.so.6
guix locate: indexing files from /gnu/store...
indexing 24,455 packages
…
Either:
- the second invocation should imply --update, so Guix should store the
currently cache method(s),
- or Guix should use separate databases for each method. That's
probably too ugly.
Kind regards,
T G-R
Sent from a Web browser. Excuse or enjoy my brevity.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#65001: ‘guix locate’ method is silently ignored when a cache exists
2023-08-01 21:05 bug#65001: ‘guix locate’ method is silently ignored when a cache exists Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2023-09-03 20:03 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-09-03 20:03 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 65001
Hi,
Tobias Geerinckx-Rice <me@tobias.gr> skribis:
> Either:
> - the second invocation should imply --update, so Guix should store
> the currently cache method(s),
> - or Guix should use separate databases for each method. That's
> probably too ugly.
The latter sounds ugly. The former, why not; we then only need to
distinguish between “user-specified method” and “default method” to
determine whether ‘--update’ is implied.
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-03 20:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-01 21:05 bug#65001: ‘guix locate’ method is silently ignored when a cache exists Tobias Geerinckx-Rice via Bug reports for GNU Guix
2023-09-03 20:03 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).