Commit graph

25950 commits

Author SHA1 Message Date
rob.syme@92895c98b16fd7a88bed5f10913c522ebfd76c31
0040e5a733 Added a comment: Finding IPFS hash 2015-11-18 14:55:33 +00:00
juh
a9bda0125c Added a comment: My current workflow 2015-11-17 14:48:00 +00:00
Agenta
4f0b3d57d1 Added a comment 2015-11-17 10:32:41 +00:00
annex.nrb@0b99c9078ef84fe229eb6f00841028a57dc07612
1ec3e61cb6 Added a comment: Should something else, not annex solve the ad hoc git use case? 2015-11-17 10:02:25 +00:00
Joey Hess
3449c0e8ec
avoid spawning file size polling thread when not in -J mode 2015-11-16 21:21:58 -04:00
Joey Hess
e97fce35a6
Display progress meter in -J mode when downloading from the web.
Including in addurl, and get --from web, but also in S3 and External
special remotes when a web url is known for content in those remotes.
2015-11-16 21:00:54 -04:00
Joey Hess
1244eb3770
refactor 2015-11-16 20:27:01 -04:00
Joey Hess
2917b0ac41
Merge branch 'master' of ssh://git-annex.branchable.com 2015-11-16 19:33:59 -04:00
Joey Hess
7943442dff
Display progress meter in -J mode when copying from a local git repo, to a local git repo, and from a remote git repo.
Had everything available, just didn't combine the progress meter with the
other places progress is sent to update it. (And to a remote repo already
did show progress.)

Most special remotes should already display progress meters with -J,
same as without it. One exception to this is the web, since it relies on
wget/curl progress display without -J. Still todo..
2015-11-16 19:32:30 -04:00
Joey Hess
1ac36f1933
warning when built w/o concurrent-output 2015-11-16 19:10:38 -04:00
r@9dd621f83d4900d70d4ed2319f20160749f1343e
7e5c33b9dd Added a comment: How to get deleted files and older versions out of a full backup repository? 2015-11-16 21:27:34 +00:00
Joey Hess
09d04fa483
wording 2015-11-16 17:06:34 -04:00
Yaroslav Halchenko
c60afa0891
BF: standalone debian package -- dh_makeshlibs --noscripts
To avoid creation of unnecessary trigger calling out to ldconfig
via activate-noawait which is not present on older releases (e.g. squeeze)
2015-11-16 17:05:30 -04:00
Joey Hess
9f7e4ed811
Build with -j1 again to get reproducible build.
This was in the cabal file earlier, and was removed because it broke the
android cross build. Moving to the git-annex target of the Makefile
will make it be used for Debian packages etc but not android cross builds
or make fast or when users build with cabal.
2015-11-16 16:51:24 -04:00
Joey Hess
50572947a4
remove old news comments 2015-11-16 16:03:00 -04:00
Joey Hess
76139a93ff
add news item for git-annex 5.20151116 2015-11-16 16:01:27 -04:00
Joey Hess
2864dc6d15
typo 2015-11-16 15:53:30 -04:00
Joey Hess
c670a0642c
fix warning 2015-11-16 15:37:27 -04:00
Joey Hess
262c37c16e
add missing checkSaneLock wrapper for pidlocks 2015-11-16 15:35:41 -04:00
Joey Hess
e2b4861bff
store abspath to the lock file
Avoids problems if the program chdirs
2015-11-16 15:25:04 -04:00
Joey Hess
b0626230b7
fix use of hifalutin terminology 2015-11-16 14:37:31 -04:00
Joey Hess
be86081ff4
avoid crashing in checkDaemon when fcntl locking is not supported
Instead, just assume the daemon isn't running. Since the pid file locking
fails on such a filesystem, we know it's not running.
2015-11-16 14:34:30 -04:00
Joey Hess
b5df6c7b93
prep release 2015-11-16 14:18:01 -04:00
Joey Hess
819917f713
comment 2015-11-16 14:15:53 -04:00
Joey Hess
189718cf8a
enable ConcurrentOutput by default when library is available 2015-11-16 11:51:16 -04:00
Joey Hess
e490e82653
Merge branch 'master' of ssh://git-annex.branchable.com 2015-11-16 11:40:20 -04:00
Joey Hess
6fc01da184
wording 2015-11-16 11:39:45 -04:00
Joey Hess
2e44da5c46
clean up side lock files when we're done with them
There's a potential race, but it's detected and just results in the other
process failing to take the side lock, so possibly retrying one second
later on. The race window is quite narrow so the extra delay is minor.

Left the side lock files mode 666 because an interruption can leave a side
lock file created by another user for a shared repository. When this
happens, the non-owning user can't delete it (+t) but can still lock it,
and so the code falls back to acting as it did before this commit.
2015-11-16 11:36:11 -04:00
atrent
232d372ab8 Added a comment 2015-11-16 09:06:34 +00:00
atrent
84f851b450 Added a comment 2015-11-16 07:50:30 +00:00
craig@6ddb6e2c94325e18a0d631a06e63fdc111ab1f12
f9369a0b69 Added a comment: Thanks 2015-11-16 05:34:35 +00:00
edward
4f10cf7434 fix typo 2015-11-14 09:57:40 +00:00
Joey Hess
6dfdc37738
devblog 2015-11-13 16:34:54 -04:00
Joey Hess
40feafae60
close 2015-11-13 16:33:53 -04:00
Joey Hess
8efd3d71c8
starting to get a handle on how to detect that mad gleam in lustre's eye 2015-11-13 16:18:44 -04:00
Joey Hess
9d52d653f6
comment 2015-11-13 16:13:38 -04:00
Joey Hess
7fce3a0f81
more warnings about networked filesystems 2015-11-13 15:55:16 -04:00
Joey Hess
70bfe218f5
one more try to get sane behavior our of lustre 2015-11-13 15:51:45 -04:00
Joey Hess
389c6c7d37
fixed a fd double-close 2015-11-13 15:43:09 -04:00
Joey Hess
b0155d9093
also compare lock file contents to double-check link worked
And it closes the tmp file before this. I don't know if this will help
avoid lustre's craziness, but it can't hurt..
2015-11-13 15:20:52 -04:00
Joey Hess
1aba23ab4e
use /tmp for sidelock file when no /dev/shm 2015-11-13 14:49:30 -04:00
Joey Hess
60a9c7f5c6
require the side lock be held to take pidlock
This is less portable, since currently sidelocks rely on /dev/shm.
But, I've seen crazy lustre inconsistencies that make me not trust the
link() method at all, so what can you do.
2015-11-13 14:44:53 -04:00
Joey Hess
85345abe8b
avoid over-long filenames for side lock files 2015-11-13 14:04:29 -04:00
Joey Hess
c8cf30d81d
comment 2015-11-13 13:47:14 -04:00
Joey Hess
c1d51a50f6
update 2015-11-13 13:46:11 -04:00
Joey Hess
b6c1624d99
Merge branch 'master' of ssh://git-annex.branchable.com 2015-11-13 13:35:46 -04:00
Joey Hess
bb86eebfbd
init: Automatically enable annex.pidlock when necessary. 2015-11-13 13:35:29 -04:00
Joey Hess
c2cbe5619b
add stat check
I have a strace taken on a lustre filesystem on which link() returned 0,
but didn't actually succeed, since the file already existed.

One of the linux man pages recommended using link followed by checking like
this. I was reading it yesterday, but cannot find it now.
2015-11-13 13:22:45 -04:00
Joey Hess
88d94e674c
clean up temp file 2015-11-13 12:52:24 -04:00
Joey Hess
e31a51c5bb
better lock dropping order 2015-11-13 12:36:37 -04:00