Commit graph

252 commits

Author SHA1 Message Date
https://www.google.com/accounts/o8/id?id=AItOawk1MwAbPhkvUfU6duYaUnLFC_PXI2VfwtE
333365cafa add a step to make sure that $HOME/bin exists - this tripped me up. 2013-07-08 07:20:04 +00:00
http://joeyh.name/
0e83bd6b4d Added a comment 2013-07-07 17:21:10 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmF3Klaj8Q0Czfh1F3jaLF6issqeAhmru4
8cf7bd3eb5 Added a comment: Wheezy Support 2013-07-05 21:21:39 +00:00
http://joeyh.name/
de2b451ca3 Added a comment 2013-07-05 00:53:00 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmhfodZquCI_EEl-f3h7HkROTszlsQL6yA
0f164a7b3e Added a comment 2013-07-04 15:06:36 +00:00
Joey Hess
306f8a4c45 downloads.kitenet.net now supports https; use it for all links 2013-06-26 19:21:19 -04:00
http://joeyh.name/
37d245286e Added a comment 2013-06-25 17:58:57 +00:00
http://joeyh.name/
03efc426df Added a comment 2013-06-25 17:16:46 +00:00
krig
e4e2a807f9 Added a comment: Could not resolve dependencies for yesod 2013-06-25 06:14:19 +00:00
Joey Hess
0aaabc093e I'm told raring has the webapp 2013-06-22 11:11:35 -04:00
http://josh.easyid.net/
95947e2f32 Added a comment: Minimum version of Android? 2013-06-18 22:05:02 +00:00
https://www.google.com/accounts/o8/id?id=AItOawknXZSnvd0_L1Gc1XKYT4qr5e8zTcn371U
31ec33cc9d Added very easy SL6/CentOS6 instructions so that hopefully someone else will not waste hours of their life 2013-06-17 16:34:52 +00:00
https://openid.fmarier.org/
29d5bb94b4 Added a comment: New PPA only contains git-annex 2013-06-15 07:45:14 +00:00
https://openid.fmarier.org/
d073482cb2 update to my new git-annex PPA 2013-06-15 07:44:05 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9J51AO9t75xN5k0sJgg8taUo4y0a4hpQ
49ea56e81c 2013-06-11 19:04:17 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9J51AO9t75xN5k0sJgg8taUo4y0a4hpQ
89969b2622 Added cabal bin path for brew 2013-06-10 19:00:33 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnEgT3Gxm4AAK4zu3ft5-PsUmY6dr1F-gE
f33b0421bd Added a comment: OSX app bundle 2013-06-05 17:35:49 +00:00
Joey Hess
8100cad9d5 Merge branch 'master' of ssh://git-annex.branchable.com 2013-05-30 21:49:36 -04:00
http://hands.com/~phil/
739e492487 Added a comment 2013-05-30 19:56:07 +00:00
http://joeyh.name/
02cd242ca0 Added a comment 2013-05-30 19:42:05 +00:00
Joey Hess
13bf70107e update 2013-05-30 15:17:26 -04:00
http://hands.com/~phil/
2e0f464aee Added a comment: any chance of a wheezy-backports upload? 2013-05-30 18:43:52 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y
83f20a1174 Added a comment: Some errors after the build 2013-05-30 16:38:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y
1f132810a2 Added a comment: Re: Comment 3 2013-05-30 16:29:12 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y
bc63a5be57 Added a comment: Re: Comment 3 2013-05-30 15:48:44 +00:00
http://joeyh.name/
a18ff3defc Added a comment 2013-05-30 15:25:29 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y
fb0a917e01 Added a comment: E: Unable to locate package libghc-libxml-sax-dev 2013-05-30 15:05:47 +00:00
http://joeyh.name/
a358dc8206 Added a comment 2013-05-29 16:23:12 +00:00
http://mey.vn/
2b61bcbfc0 Added a comment: libc6 dep version on amd64 2013-05-28 15:28:47 +00:00
https://www.google.com/accounts/o8/id?id=AItOawnu1NYw8UF-NoDbKu8YKVGxi8FoZLH7JPs
7298f95a76 Added a step I had to do on my own OS X machine with 10.6 in order for the build to work. 2013-05-25 18:36:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlQ7ZdQxAps4v0cl5J3wKGWD8243Gy8-m0
2ef63c6d80 Added a comment: PPA Package Pinning 2013-05-23 21:18:14 +00:00
Joey Hess
668e073829 fix link to windows autobuild 2013-05-21 14:28:12 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkx5V3MTbzCXS3J7Mn9FEq8M9bPPYMkAHY
ddd99d3296 Added a comment 2013-05-20 15:53:25 +00:00
Joey Hess
66fe5beac2 update 2013-05-19 18:03:38 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnFjuvfPpi1kf6l54bxfFUm0Aw_Gf_IO0o
77d01941a4 Add note about no webapp in Raring 2013-05-19 21:57:27 +00:00
Joey Hess
345ee4f37c Switch to MonadCatchIO-transformers for better handling of state while catching exceptions.
As seen in this bug report, the lifted exception handling using the StateT
monad throws away state changes when an action throws an exception.
http://git-annex.branchable.com/bugs/git_annex_fork_bombs_on_gpg_file/
  .. Which can result in cached values being redundantly calculated, or other
     possibly worse bugs when the annex state gets out of sync with reality.

This switches from a StateT AnnexState to a ReaderT (MVar AnnexState).
All changes to the state go via the MVar. So when an Annex action is
running inside an exception handler, and it makes some changes, they
immediately go into affect in the MVar. If it then throws an exception
(or even crashes its thread!), the state changes are still in effect.

The MonadCatchIO-transformers change is actually only incidental.
I could have kept on using lifted-base for the exception handling.
However, I'd have needed to write a new instance of MonadBaseControl
for the new monad.. and I didn't write the old instance.. I begged Bas
and he kindly sent it to me. Happily, MonadCatchIO-transformers is
able to derive a MonadCatchIO instance for my monad.

This is a deep level change. It passes the test suite! What could it break?

Well.. The most likely breakage would be to code that runs an Annex action
in an exception handler, and *wants* state changes to be thrown away.
Perhaps the state changes leaves the state inconsistent, or wrong. Since
there are relatively few places in git-annex that catch exceptions in the
Annex monad, and the AnnexState is generally just used to cache calculated
data, this is unlikely to be a problem.

Oh yeah, this change also makes Assistant.Types.ThreadedMonad a bit
redundant. It's now entirely possible to run concurrent Annex actions in
different threads, all sharing access to the same state! The ThreadedMonad
just adds some extra work on top of that, with its own MVar, and avoids
such actions possibly stepping on one-another's toes. I have not gotten
rid of it, but might try that later. Being able to run concurrent Annex
actions would simplify parts of the Assistant code.
2013-05-19 14:16:36 -04:00
Joey Hess
83db599b6e remove old comments, there is a build script now 2013-05-17 14:36:47 -04:00
Joey Hess
51592944a2 fix link 2013-05-17 14:36:16 -04:00
Joey Hess
ddf98cd644 update 2013-05-17 13:45:33 -04:00
Joey Hess
4ba6a88aba update with autobuilder 2013-05-17 13:38:45 -04:00
Joey Hess
ebe10edf67 add dep needed with newer ghc 2013-05-17 11:24:07 -04:00
http://joeyh.name/
47a035b748 Added a comment 2013-05-16 16:17:52 +00:00
Joey Hess
4f8b21a0d5 Merge branch 'master' of ssh://git-annex.branchable.com 2013-05-16 10:44:52 -04:00
Joey Hess
96ec715292 typo 2013-05-15 22:31:56 -04:00
http://joeyh.name/
8a265448b7 Added a comment 2013-05-16 02:29:10 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM
a97a6d6792 Added a comment 2013-05-16 02:22:26 +00:00
Joey Hess
aba49995b6 Merge branch 'master' into windows 2013-05-15 19:18:04 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkGCmVc5qIJaQQgG82Hc5zzBdAVdhe2JEM
758537d329 Added a comment 2013-05-15 18:29:19 +00:00
Joey Hess
9a8fec717f update 2013-05-14 20:12:13 -04:00
Joey Hess
dc66b1f27d Merge branch 'master' into windows
Conflicts:
	Annex/Environment.hs
	Build/Configure.hs
	Git/Construct.hs
	Utility/FileMode.hs
2013-05-14 15:37:24 -04:00