Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
b299408f62
6 changed files with 131 additions and 3 deletions
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joeyh.name/"
|
||||
ip="64.134.31.139"
|
||||
subject="comment 7"
|
||||
date="2013-10-14T16:18:01Z"
|
||||
content="""
|
||||
I just ran into this problem myself. Some investigating shows it is a problem with Yesod's XSRF token. Apparently yesod is not seeing the _token, or is seeing one it does not like. However, I verified in chromium inspector that the form post was including the token with the same value used on the page. Also, it would intermittently accept the form, if I kept posting it over and over again.
|
||||
|
||||
It seems this must be a bug in yesod, or on something with how I'm using yesod, or possibly in deeper layers like WAI not seeing the form post include the token, but I have not been able to figure out what. As a workaround, since git-annex webapp does its own authentication and only listens to localhost, and so does not actually need XSRF protection, I am going to change it to bypass that.
|
||||
"""]]
|
|
@ -1,8 +1,6 @@
|
|||
### Please describe the problem.
|
||||
git add hangs.
|
||||
Maybe because of encrypted sdcard?
|
||||
/dev/block/dm-2 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
|
||||
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
|
||||
|
||||
|
||||
|
||||
|
@ -31,7 +29,8 @@ tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
|
|||
[2013-10-13 22:05:17 CEST] chat: git ["--git-dir=/mnt/sdcard/annex/.git","--work-tree=/mnt/sdcard/annex","cat-file","--batch"]
|
||||
add lala [2013-10-13 22:05:17 CEST] chat: git ["--git-dir=/mnt/sdcard/annex/.git","--work-tree=/mnt/sdcard/annex","check-attr","-z","--stdin","annex.backend","annex.numcopies","--"]
|
||||
** HANGS **
|
||||
|
||||
|
||||
|
||||
|
||||
The same will happen when just running and asking assistant to create annex for camera.
|
||||
|
||||
|
@ -245,6 +244,12 @@ lsof | grep git:
|
|||
9879 /data/data/ga.androidterm/lib/lib.git.so pipe:[1177784]
|
||||
|
||||
|
||||
vfat/sdcard entry:
|
||||
/dev/block/dm-2 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702, \
|
||||
allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
|
||||
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
|
||||
|
||||
|
||||
|
||||
### What version of git-annex are you using? On what operating system?
|
||||
Version from git annex version:
|
||||
|
@ -254,6 +259,12 @@ I tried both daily build and most recent 'stable' with the same effect.
|
|||
|
||||
Android 4.0.3 (Htc One V)
|
||||
|
||||
The same happens on my another android device; Samsung tablet with... also 4.0.3.
|
||||
Tried to gather strace information on git, but couldn't. If anything more is necessary,
|
||||
please let me know.
|
||||
|
||||
The same happens when I git annex add in /data/data/ga.androidterm/anntmp - so it's not sdcard nor vfat.
|
||||
|
||||
### Please provide any additional information below.
|
||||
|
||||
[[!format sh """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue