Hi -

> I think this makes sense, but it would be good to see an example of the
> paths this now exposes.

e.g:
% debuginfod-find -v debuginfo /bin/ls
[...]
x-debuginfod-size: 502024
x-debuginfod-archive: 
/mnt/fedora_koji_prod/koji/packages/coreutils/9.3/4.fc39/x86_64/coreutils-debuginfo-9.3-4.fc39.x86_64.rpm
x-debuginfod-file: /usr/lib/debug/usr/bin/ls-9.3-4.fc39.x86_64.debug
[...]

> Does this include the temporary dir that a file is extracted in?

No.

> Does it really make sense to provide the full (absolute?) path of
> the archive a source file was found in?

As much sense as omitting the entire path information and returning
only the basename.  Sometimes the path may matter, if e.g. the archive
file names are duplicate.  And it turns out the archive paths were
already usually sent in their entirety, and the archived-file paths
were basename'd.  Kinda the wrong way around.  Anyway it's simplest to
do neither bit of elision at the tool level.

- FChE

Reply via email to