]> dgit.raspbian.org Git - git-annex.git/blob
d142fc459dda75e2869863792c60c18ab846c042
[git-annex.git] /
1 [[!comment format=mdwn
2  username="yarikoptic"
3  avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
4  subject="comment 14"
5  date="2018-11-15T18:06:10Z"
6  content="""
7 about to start bisection for the locking issue. Relevant PR on datalad: https://github.com/datalad/datalad/pull/2995  to get a helper script and Singularity environment to build
8
9 As for double password prompt - should I bisect too?  that one seems to be not that easy since if `annex get` is invoked within script, typescript records nothing:
10 [[!format sh \"\"\"
11 [yhalchen@discovery7 ~]$ cat bisect-git-annex-doublepasswd.sh
12 #!/bin/bash
13 set -eu
14
15 err=\"thread blocked indefinitely\"
16
17 cd ~/QA
18 # script doesn't work in  a script since probably no tty
19 timeout 10 script -f -c 'git annex get -J2 sub-*' || :
20 test 1 -eq `sed -e 's, ,\n,g' typescript | grep -c 'password:' `
21 [yhalchen@discovery7 ~]$ bash -x bisect-git-annex-doublepasswd.sh
22 + set -eu
23 + err='thread blocked indefinitely'
24 + cd /ihome/yhalchen/QA
25 + timeout 10 script -f -c 'git annex get -J2 sub-*'
26 Script started, file is typescript
27 + :
28 ++ sed -e 's, ,\n,g' typescript
29 ++ grep -c password:
30 + test 1 -eq 0
31 \"\"\"]]
32 """]]