GNU bug report logs - #65001
‘guix locate’ method is silently ignored when a cache exists

Previous Next

Package: guix;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Tue, 1 Aug 2023 21:06:01 UTC

Severity: normal

To reply to this bug, email your comments to 65001 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#65001; Package guix. (Tue, 01 Aug 2023 21:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 01 Aug 2023 21:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: bug-guix <at> gnu.org
Subject: ‘guix locate’ method is silently ignored when a cache exists
Date: Tue, 01 Aug 2023 23:05:12 +0200
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.




Information forwarded to bug-guix <at> gnu.org:
bug#65001; Package guix. (Sun, 03 Sep 2023 20:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 65001 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 65001 <at> debbugs.gnu.org
Subject: Re: bug#65001: ‘guix locate’ method is
 silently ignored when a cache exists
Date: Sun, 03 Sep 2023 22:03:19 +0200
Hi,

Tobias Geerinckx-Rice <me <at> 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’.




This bug report was last modified 1 year and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.