git-annex/doc/bugs/make_whereis_output_more_concise.mdwn
2015-02-25 14:30:59 -04:00

60 lines
2.1 KiB
Markdown

### Please describe the problem.
annex lists all the remotes UUIDs (the same) when whereis is ran across multiple files. This makes output lengthy and harder to process and share for no reason. Why not to list remotes just once on top and then only locations per each file, e.g. instead of
[[!format sh """
$> git annex whereis
whereis 2011-Palmour-etal_canadian_consent_forms.pdf (2 copies)
00000000-0000-0000-0000-000000000001 -- web
94b3c553-ad30-450e-be56-504b400f9a5c -- yoh@novo:~/proj/open-consent [here]
web: http://download.springer.com/static/pdf/638/art%253A10.1186%252F1472-6939-12-1.pdf?auth66=1401467160_8992951c5cccc0dbe510c369eba3afa1&ext=.pdf
ok
whereis Arizona_consent.pdf (2 copies)
00000000-0000-0000-0000-000000000001 -- web
94b3c553-ad30-450e-be56-504b400f9a5c -- yoh@novo:~/proj/open-consent [here]
web: http://web.arizona.edu/~arg/papers/fmri/forms/consent.pdf
ok
"""]]
get (not sure if I want to see ok much either)
[[!format sh """
$> git annex whereis
00000000-0000-0000-0000-000000000001 -- web
94b3c553-ad30-450e-be56-504b400f9a5c -- yoh@novo:~/proj/open-consent [here]
whereis 2011-Palmour-etal_canadian_consent_forms.pdf (2 copies)
web: http://download.springer.com/static/pdf/638/art%253A10.1186%252F1472-6939-12-1.pdf?auth66=1401467160_8992951c5cccc0dbe510c369eba3afa1&ext=.pdf
whereis Arizona_consent.pdf (2 copies)
web: http://web.arizona.edu/~arg/papers/fmri/forms/consent.pdf
"""]]
### What steps will reproduce the problem?
run git annex whereis on a directory with multiple files
### What version of git-annex are you using? On what operating system?
Debian
[[!format sh """
$> acpolicy git-annex
git-annex:
Installed: 5.20150205+git57-gc05b522-1~nd80+1
Candidate: 5.20150205+git57-gc05b522-1~nd80+1
Version table:
*** 5.20150205+git57-gc05b522-1~nd80+1 0
500 http://neuro.debian.net/debian-devel/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
"""]]
> See `git annex list`, which comes right after `whereis` in the
> man page, and is described as "similar to whereis but a more compact
> display".
>
> [[done]] --[[Joey]]