Commit graph

32012 commits

Author SHA1 Message Date
Joey Hess
d1961e4498
back out incorrect IO interleaving change
Fix regression in last release that crashes when using --all or running
git-annex in a bare repository. May have also affected git-annex unused and
git-annex info.

Reversed the order of the (++) in Annex.Branch.files so --all will stream
lazily still when there are not a bunch of uncommitted journal files.
Added a todo to maybe improve this later.

This commit was sponsored by Trenton Cronholm on Patreon.
2018-05-08 13:54:42 -04:00
yarikoptic
348c6d56f9 added my meta 2018-05-08 02:43:38 +00:00
yarikoptic
c8451f14f6 2018-05-08 01:56:04 +00:00
yarikoptic
c85cb8e9f0 initial report on problem fetching from web within docker container 2018-05-06 15:44:55 +00:00
ga@2217a6e07239bc6b36af2a9134b2647fdebcabcd
59ae9f3f85 Added a comment: Same error 2018-05-05 05:28:35 +00:00
andrew
50d01784b3 Added a comment 2018-05-04 16:00:59 +00:00
andrew
a2e9f8a06d Added a comment 2018-05-04 15:58:59 +00:00
andrew
abf7436e43 Added a comment 2018-05-04 15:00:18 +00:00
andrew
fd135b1e40 2018-05-04 13:48:51 +00:00
yarikoptic
cdb9a11a64 initial report 2018-05-04 03:08:51 +00:00
andrew
701645273b Added a comment 2018-05-03 19:56:03 +00:00
andrew
a6492ecdcc Added a comment: test PageSpec 2018-05-03 15:32:16 +00:00
andrew
b2c2840cfa Added a comment 2018-05-03 15:16:59 +00:00
allforabit
0d2527e67b Added a comment 2018-05-01 17:49:32 +00:00
Joey Hess
393fc79d58
comment 2018-04-30 16:12:33 -04:00
Joey Hess
c0b5ada848
response 2018-04-30 16:07:47 -04:00
Joey Hess
07ba2b0b56
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-30 16:06:01 -04:00
hobbes@b2cacef69071743c3a831e60511062f7e014e52f
3d59fc4252 Added a comment: Bad system call fix 2018-04-30 15:01:09 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
fb61e8986a clarify 2018-04-29 19:43:07 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
225351246b simplify 2018-04-29 19:39:48 +00:00
jhnichol@cce81d2a480707652a3340ea2f24b3dc4b1f808c
1c7fcfc623 2018-04-29 19:35:07 +00:00
lhunath@3b4ff15f4600f3276d1776a490b734fca0f5c245
5f5b7be593 Added a comment 2018-04-29 18:37:16 +00:00
allforabit
03de7d753d Added a comment: Error in High Sierra 2018-04-29 18:28:08 +00:00
anarcat
488e127e97 this is basically what inprogress does, except it doesn't depend on xdg-open. at least basic functionality to do what i want is there, thanks! 2018-04-29 12:32:43 +00:00
https://launchpad.net/~felixonmars
3befef5f2c 2018-04-29 03:24:24 +00:00
yarikoptic
5c977d0cf6 initial whining about no support for ~/.netrc 2018-04-28 01:20:42 +00:00
Joey Hess
0cc401dd94
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-27 18:55:03 -04:00
davicastro
bf6c6fa30c Added a comment: Where does gitolite stores the annex objects contents? 2018-04-27 21:06:42 +00:00
spwhitton
fdcbcba84f Added a comment 2018-04-27 17:15:24 +00:00
Joey Hess
ca8833b8e1
response 2018-04-27 13:13:50 -04:00
Joey Hess
a73d60785c
fix build 2018-04-27 12:59:09 -04:00
spwhitton
c660bc4a71 Added a comment 2018-04-27 16:39:49 +00:00
Joey Hess
d73c8c4cb4
add news item for git-annex 6.20180427 2018-04-27 12:37:28 -04:00
Joey Hess
f98251c97c
releasing package git-annex version 6.20180427 2018-04-27 12:37:01 -04:00
Joey Hess
9926727eec
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-26 16:16:50 -04:00
Joey Hess
2fc768ce72
avoid git annex info remote buffering list of keys
This leaves git annex unused --from remote still using loggedKeysFor
and buffering more than ought to be necessary, but I can't see a way to
improve that.
2018-04-26 16:13:05 -04:00
Joey Hess
bea0ad220a
avoid --all buffering list of all keys
In Annex.Branch.branch, the (++) was killing laziness.
Rewrote so it streams lazily.

filterM also kills laziness, so made loggedKeys use a Unchecked type,
and check if the key is dead in the seek loop.

Note that loggedKeysFor still buffers, so git-annex info <remote> and
git-annex unused --from remote still use more memory than necessary.

Also removed some unused functions from Annex.Journal.
2018-04-26 16:00:20 -04:00
hobbes@b2cacef69071743c3a831e60511062f7e014e52f
8b297e8008 Added a comment: Bad system call 2018-04-26 19:36:45 +00:00
Joey Hess
a8c91ce69a
add streamDirectoryContents 2018-04-26 13:38:36 -04:00
Joey Hess
03b21ea4b4
Merge branch 'master' of ssh://git-annex.branchable.com 2018-04-26 12:06:29 -04:00
Joey Hess
bfa26661d1
import: Avoid buffering all filenames to be imported in memory.
Test case is 24 directories each containing files named 1..10000.
The concat and filterM destroyed what laziness there is in
dirContentsRecursive, making it buffer all the filenames. Memory
use was around 300 mb (possibly growing slightly as it progressed).
After this fix, memory use drops to a constant 59 mb.

Note that dirContentsRecursive still buffers the entire content of a
directory (not subdirectories) so this is still not optimal.
2018-04-26 12:06:12 -04:00
https://openid.stackexchange.com/user/3ee5cf54-f022-4a71-8666-3c2b5ee231dd
d576229ccc Added a comment: Looking forward to trying this 2018-04-26 13:10:30 +00:00
qiang.fang@ddaed0de00c2925f8036e6c61ce6e12654263ada
85c55ca821 Added a comment 2018-04-26 09:14:54 +00:00
qiang.fang@ddaed0de00c2925f8036e6c61ce6e12654263ada
2b977b247b 2018-04-26 08:51:25 +00:00
Horus
68291ce79b 2018-04-26 06:40:10 +00:00
Joey Hess
a81dcfdafd
devblog 2018-04-25 17:58:25 -04:00
Joey Hess
b2accf9da1
Assistant: Fix installation of menus, icons, etc when run from within runshell.
runshell followed by git annex webapp didn't install that stuff, because
GIT_ANNEX_APP_BASE is not set. Running git-annex.linux/git-annex-webapp did
install that stuff, since that script set the env var. I noticed this with
the termux port whose instructions currently go that way.

Seems the right thing to do is to move the env var setting to runshell.
2018-04-25 17:58:00 -04:00
Joey Hess
bed5271d3f
fix path to termux boot file 2018-04-25 17:51:50 -04:00
Joey Hess
3fdfa8f565
avoid installing linux file manager hooks when running in termux 2018-04-25 17:47:49 -04:00
Joey Hess
f5df6244f3
deal with getMounts crashing on android 2018-04-25 17:42:27 -04:00