Commit graph

24097 commits

Author SHA1 Message Date
Joey Hess
cab2f05b50 lintian fix 2015-05-22 16:06:16 -04:00
Joey Hess
cf650eaa99 remove deprecated hamlet package
shakespeare provides this now
2015-05-22 15:46:47 -04:00
Joey Hess
260b59e589 comment 2015-05-22 15:14:12 -04:00
clacke
9f9b65ac6c Weird rsync error message, initial report -- unable to reproduce faithfully yet 2015-05-22 19:09:30 +00:00
Joey Hess
610a9046ef fix cabal file munging code to work with current cabal file 2015-05-22 14:55:48 -04:00
Joey Hess
5de2d147d3 update android patches 2015-05-22 14:39:50 -04:00
Joey Hess
979064b1cb prep release 2015-05-22 14:20:21 -04:00
Joey Hess
5edd322a42 correct path for trustedkeys 2015-05-22 14:01:11 -04:00
Joey Hess
83b262f1b6 fix windows build 2015-05-22 13:54:54 -04:00
Joey Hess
6c3cea7699 need more polymorphism 2015-05-22 13:50:37 -04:00
Joey Hess
696ed9b3f9 fix windows build 2015-05-22 13:44:24 -04:00
Joey Hess
1b01322de0 OSX: Corrected the location of trustedkeys.gpg, so the built-in upgrade code will find it. Fixes OSX upgrade going forward, but older versions won't upgrade themselves due to this problem. 2015-05-22 13:41:47 -04:00
Joey Hess
38e70fbc1a comment 2015-05-22 13:29:58 -04:00
Joey Hess
470d5aa412 response 2015-05-22 13:24:14 -04:00
Joey Hess
09a6ba7032 comment 2015-05-22 13:18:30 -04:00
jean.jordaan@4bb3bd508a9eb0a4bab5d1b587dadd2b6c4a7edc
e85e6bcc67 2015-05-22 07:17:33 +00:00
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