Commit graph

24081 commits

Author SHA1 Message Date
jean.jordaan@4bb3bd508a9eb0a4bab5d1b587dadd2b6c4a7edc
0534c26e47 2015-05-22 07:09:02 +00:00
mitzip
d77f318c01 2015-05-21 23:41:41 +00:00
CandyAngel
712d261333 Added a comment 2015-05-21 15:39:07 +00:00
eigengrau
4d036d0147 2015-05-21 08:20:23 +00:00
https://me.yahoo.com/a/bBy7WkgQicYHIiiyj.Vm0TcMbxi2quzbPFef#6f9f7
27c7074204 Added a comment 2015-05-21 06:14:33 +00:00
https://me.yahoo.com/a/bBy7WkgQicYHIiiyj.Vm0TcMbxi2quzbPFef#6f9f7
52d9a4089b Its vs it's 2015-05-21 05:32:28 +00:00
CalebJ
6e3ffc02cc 2015-05-20 22:59:32 +00:00
anarcat
abe4181067 remove too much time 2015-05-20 22:19:37 +00:00
anarcat
8f9549ab7e mention mailman 3 2015-05-20 17:32:51 +00:00
candyangel@7b9260fff42e1f6f552e1348007f7409a9101e82
5b401e6d98 Added a comment 2015-05-20 14:14:32 +00:00
Joey Hess
87f28bb2ea ignore failure to clean up stale transfer lock file
Perhaps due to permissions problem, or perhaps a race with another process
also cleaning up.
2015-05-19 23:46:42 -04:00
Joey Hess
9de5cd2966 fix crash in stale transfer lockfile cleanup code
Need to differentiate between the lockfile not being locked, and it not
existing.
2015-05-19 23:35:24 -04:00
Joey Hess
26bb2c40f8 comment 2015-05-19 17:35:35 -04:00
Joey Hess
c90a77c464 devblog 2015-05-19 16:00:56 -04:00
Joey Hess
8aab9bd324 git-annex is now available in stackage; suggest using to in fromsource to avoid cabal hell issues 2015-05-19 15:50:42 -04:00
Joey Hess
97fecbf7c6 close 2015-05-19 15:46:27 -04:00
Joey Hess
8e40cb6f56 Build documentation with TZ=UTC for reproducible builds. See #785736. 2015-05-19 15:45:21 -04:00
Joey Hess
b1b684d5c9 Merge branch 'master' of ssh://git-annex.branchable.com 2015-05-19 15:44:41 -04:00
Joey Hess
846e7db245 unused imports 2015-05-19 15:05:30 -04:00
Joey Hess
167539a354 better memoize core.sharedrepository handling
It was memoized, but that was not used consistently. Move it to
Types.GitConfig so it will auto-memoize.
2015-05-19 15:04:24 -04:00
Joey Hess
b47c9fd587 honor core.sharedRepository settings in lockContent
The content file may not be owned by the user running git-annex, in which
case, setting the owner write bit was not enough to let lockContent
act on the file. However, with some core.sharedRepository configs, the file
should be writable by the user's group. So, the thing to do is to call
thawContent on it.
2015-05-19 14:53:19 -04:00
Joey Hess
c0cc22a657 document exit codes of inannex 2015-05-19 14:35:56 -04:00
Joey Hess
f4e2093760 fix inAnnexSafe result for direct file that is being dropped
It was returning Just False in this situation, which differed from indirect
mode behavior. I don't think this led to any actual problems; things that
checked if the file being dropped was present just failed to fail, and
instead reported it wasn't present, possibly incorrectly.

Hmm, it's possible that this could have made git annex fsck --from remote
update the location log wrongly, if a remote was in direct mode, and was in
the middle of trying to drop a key, and the drop later failed.
2015-05-19 14:26:07 -04:00
Joey Hess
1312e721ed convert lockContent to use new LockPools
Also cleaned up the code, avoiding creating a lock file if we're going to
open it for create later anyway.

And, if there's an exception while preparing to lock the file, but not at
the point of actually taking the lock, throw an exception, instead of
silently not locking and pretending to succeed.

And, on Windows, always use lock file, even if the repo somehow got into
indirect mode (maybe with cygwin git..)
2015-05-19 14:12:23 -04:00
Joey Hess
ecb0d5c087 use lock pools throughout git-annex
The one exception is in Utility.Daemon. As long as a process only
daemonizes once, which seems reasonable, and as long as it avoids calling
checkDaemon once it's already running as a daemon, the fcntl locking
gotchas won't be a problem there.

Annex.LockFile has it's own separate lock pool layer, which has been
renamed to LockCache. This is a persistent cache of locks that persist
until closed.

This is not quite done; lockContent stil needs to be converted.
2015-05-19 14:09:52 -04:00
https://id.koumbit.net/anarcat
876ff5e1be Added a comment 2015-05-19 12:18:06 +00:00
https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4
99981f7905 2015-05-19 11:48:43 +00:00
Marco
eaf72fe7cf Added a comment: A possible solution 2015-05-19 11:03:22 +00:00
https://me.yahoo.com/a/bBy7WkgQicYHIiiyj.Vm0TcMbxi2quzbPFef#6f9f7
b8a420b7f9 Added a comment: Convert bare repository to normal 2015-05-19 09:17:15 +00:00
Joey Hess
6915b71c57 lock pools to work around non-concurrency/composition safety of POSIX fcntl 2015-05-18 15:57:17 -04:00
Joey Hess
af6b313456 Merge branch 'master' of ssh://git-annex.branchable.com 2015-05-17 17:27:24 -04:00
Joey Hess
6ec7c4fef4 webapp: Fix zombie xdg-open process left when opening file browser. Closes: #785498 2015-05-17 17:26:19 -04:00
Joey Hess
e9172263e5 comment typos 2015-05-17 14:22:14 -04:00
https://id.koumbit.net/anarcat
2553b4e3da fix links 2015-05-16 21:48:03 +00:00
https://id.koumbit.net/anarcat
3677a1577e Added a comment 2015-05-16 21:46:20 +00:00
https://id.koumbit.net/anarcat
6d1e598818 finally open that discussion directly 2015-05-16 21:45:36 +00:00
Joey Hess
67c9123fe8 twitter search seems to be too broken to include a feed from it anymore
The search seems to only find spammy tweets. I know people talk about
git-anenx on twitter, but it seems twitter's search does not find those
interesting conversations.
2015-05-16 15:41:12 -04:00
http://joeyh.name/
7ed76b6a07 Added a comment 2015-05-16 18:35:22 +00:00
Joey Hess
273453d1bc Merge branch 'master' of ssh://git-annex.branchable.com 2015-05-16 14:18:57 -04:00
Joey Hess
7f810c110f nasty issue with fcntl locks 2015-05-16 13:23:43 -04:00
Marco
0e1e48c124 Added a comment: Disaster recovery 2015-05-15 09:40:16 +00:00
Marco
aa1889444a Added a comment: git annex repair --force 2015-05-15 08:01:25 +00:00
Marco
6bc8845e57 2015-05-15 05:39:27 +00:00
cehteh
0933c6ddf1 2015-05-15 01:27:13 +00:00
anarcat
1acfb29d3c Added a comment: mailing lists and support sites 2015-05-14 20:26:59 +00:00
anarcat
b69dbf725c json missing some output? 2015-05-14 20:16:42 +00:00
Joey Hess
d505485b2d devblog 2015-05-14 15:56:56 -04:00
Joey Hess
b284cefccc fix type in the name of --used-refspec in changelog 2015-05-14 15:46:01 -04:00
Joey Hess
823bb8031b add annex.used-refspec 2015-05-14 15:44:08 -04:00
Joey Hess
86699ff861 unused: Add --used option, which can specify a set of refs to consider used, rather than the default of considering all refs used. 2015-05-14 15:31:38 -04:00