[Bug debuginfod/25502] debuginfod client should default to XDG cache

mark at klomp dot org sourceware-bugzilla@sourceware.org
Tue Feb 18 12:15:00 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=25502

--- Comment #4 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Tom Tromey from comment #3)
> (In reply to Mark Wielaard from comment #2)
> > What about the Default database file? Currently $HOME/.debuginfod.sqlite
> > 
> > Should that go under $XDG_DATA_HOME/debuginfod/ ?
> > And then probably not as hidden file?
> 
> If the file can be deleted and then re-created without difficulty,
> then it should go in the cache directory as well.

It could be, if the database is gone then it can be recreated from scratch. But
it might take a lot of work depending on how many packages/dirs you want to
index.

On the other hand if the database is important it might be explicitly be given
on the command line.

Any other opinions on where the default .debuginfod.sqlite should go (and how
it should be named)?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list