aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/make_whereis_output_more_concise.mdwn
blob: 3135e09d5857c71f740ebca84cbefd92969174b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
### 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
"""]]