2010-10-16 20:41:24 +00:00
|
|
|
Source: git-annex
|
|
|
|
Section: utils
|
|
|
|
Priority: optional
|
2011-04-17 03:05:26 +00:00
|
|
|
Build-Depends:
|
2012-01-15 18:53:38 +00:00
|
|
|
debhelper (>= 9),
|
2012-02-04 18:44:03 +00:00
|
|
|
ghc (>= 7.4),
|
2012-11-26 16:35:39 +00:00
|
|
|
libghc-mtl-dev (>= 2.1.1),
|
2011-04-21 06:07:40 +00:00
|
|
|
libghc-missingh-dev,
|
2011-05-28 00:21:13 +00:00
|
|
|
libghc-hslogger-dev,
|
2011-04-21 06:07:40 +00:00
|
|
|
libghc-pcre-light-dev,
|
2011-04-26 15:24:23 +00:00
|
|
|
libghc-sha-dev,
|
2013-05-06 13:44:55 +00:00
|
|
|
libghc-regex-tdfa-dev [!mips !mipsel !s390],
|
2011-04-21 06:07:40 +00:00
|
|
|
libghc-dataenc-dev,
|
2011-04-21 13:58:32 +00:00
|
|
|
libghc-utf8-string-dev,
|
|
|
|
libghc-hs3-dev (>= 0.5.6),
|
2013-01-26 21:07:22 +00:00
|
|
|
libghc-dav-dev (>= 0.3) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 sparc],
|
2012-01-13 19:50:56 +00:00
|
|
|
libghc-quickcheck2-dev,
|
2011-12-25 03:05:23 +00:00
|
|
|
libghc-monad-control-dev (>= 0.3),
|
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 18:16:36 +00:00
|
|
|
libghc-monadcatchio-transformers-dev,
|
2013-05-11 21:21:12 +00:00
|
|
|
libghc-unix-compat-dev,
|
2013-04-24 20:01:01 +00:00
|
|
|
libghc-dlist-dev,
|
2013-02-10 18:52:54 +00:00
|
|
|
libghc-uuid-dev,
|
2011-09-01 19:16:31 +00:00
|
|
|
libghc-json-dev,
|
2012-01-24 19:28:13 +00:00
|
|
|
libghc-ifelse-dev,
|
2012-03-12 20:18:14 +00:00
|
|
|
libghc-bloomfilter-dev,
|
2012-04-12 19:34:41 +00:00
|
|
|
libghc-edit-distance-dev,
|
2013-05-17 16:10:46 +00:00
|
|
|
libghc-extensible-exceptions-dev,
|
2012-06-17 21:15:56 +00:00
|
|
|
libghc-hinotify-dev [linux-any],
|
2012-06-26 13:15:47 +00:00
|
|
|
libghc-stm-dev (>= 2.3),
|
2012-10-27 00:47:44 +00:00
|
|
|
libghc-dbus-dev (>= 0.10.3) [linux-any],
|
2012-09-29 05:28:02 +00:00
|
|
|
libghc-yesod-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64],
|
|
|
|
libghc-yesod-static-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64],
|
2013-05-20 01:44:33 +00:00
|
|
|
libghc-yesod-default-dev [i386 amd64 kfreebsd-amd64],
|
2012-09-29 05:28:02 +00:00
|
|
|
libghc-hamlet-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64],
|
2012-10-04 21:08:43 +00:00
|
|
|
libghc-clientsession-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64],
|
2012-11-26 16:59:14 +00:00
|
|
|
libghc-warp-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64],
|
|
|
|
libghc-wai-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64],
|
|
|
|
libghc-wai-logger-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64],
|
2012-07-26 02:04:10 +00:00
|
|
|
libghc-case-insensitive-dev,
|
|
|
|
libghc-http-types-dev,
|
2012-07-26 09:13:27 +00:00
|
|
|
libghc-blaze-builder-dev,
|
|
|
|
libghc-crypto-api-dev,
|
2012-09-07 18:54:00 +00:00
|
|
|
libghc-network-multicast-dev,
|
2013-05-06 13:39:15 +00:00
|
|
|
libghc-network-info-dev [linux-any kfreebsd-any],
|
2012-10-05 21:50:17 +00:00
|
|
|
libghc-safesemaphore-dev,
|
2012-11-12 18:14:57 +00:00
|
|
|
libghc-network-protocol-xmpp-dev (>= 0.4.3-1+b1),
|
2012-11-10 15:49:02 +00:00
|
|
|
libghc-gnutls-dev (>= 0.1.4),
|
2012-10-31 15:50:43 +00:00
|
|
|
libghc-xml-types-dev,
|
2013-01-26 03:14:32 +00:00
|
|
|
libghc-async-dev,
|
2013-04-16 23:00:44 +00:00
|
|
|
libghc-http-dev,
|
2011-04-17 03:05:26 +00:00
|
|
|
ikiwiki,
|
|
|
|
perlmagick,
|
2011-10-12 03:03:19 +00:00
|
|
|
git,
|
2011-04-17 03:05:26 +00:00
|
|
|
rsync,
|
2013-04-16 18:50:31 +00:00
|
|
|
wget,
|
|
|
|
curl,
|
2012-02-25 23:15:29 +00:00
|
|
|
openssh-client,
|
2010-10-16 20:41:24 +00:00
|
|
|
Maintainer: Joey Hess <joeyh@debian.org>
|
2012-03-15 16:23:34 +00:00
|
|
|
Standards-Version: 3.9.3
|
2010-10-16 20:41:24 +00:00
|
|
|
Vcs-Git: git://git.kitenet.net/git-annex
|
2010-10-19 20:17:29 +00:00
|
|
|
Homepage: http://git-annex.branchable.com/
|
2010-10-16 20:41:24 +00:00
|
|
|
|
|
|
|
Package: git-annex
|
|
|
|
Architecture: any
|
|
|
|
Section: utils
|
2011-04-17 03:05:26 +00:00
|
|
|
Depends: ${misc:Depends}, ${shlibs:Depends},
|
2013-01-18 01:00:05 +00:00
|
|
|
git (>= 1:1.7.7.6),
|
2011-04-17 03:05:26 +00:00
|
|
|
rsync,
|
2013-01-26 21:48:16 +00:00
|
|
|
wget,
|
|
|
|
curl,
|
2012-06-21 04:28:56 +00:00
|
|
|
openssh-client (>= 1:5.6p1)
|
2012-10-28 00:54:53 +00:00
|
|
|
Recommends: lsof, gnupg, bind9-host
|
2012-09-28 04:09:38 +00:00
|
|
|
Suggests: graphviz, bup, libnss-mdns
|
2010-10-16 20:41:24 +00:00
|
|
|
Description: manage files with git, without checking their contents into git
|
|
|
|
git-annex allows managing files with git, without checking the file
|
|
|
|
contents into git. While that may seem paradoxical, it is useful when
|
|
|
|
dealing with files larger than git can currently easily handle, whether due
|
2012-02-15 23:43:15 +00:00
|
|
|
to limitations in memory, time, or disk space.
|
2010-10-16 20:41:24 +00:00
|
|
|
.
|
|
|
|
Even without file content tracking, being able to manage files with git,
|
|
|
|
move files around and delete files with versioned directory trees, and use
|
|
|
|
branches and distributed clones, are all very handy reasons to use git. And
|
|
|
|
annexed files can co-exist in the same git repository with regularly
|
|
|
|
versioned files, which is convenient for maintaining documents, Makefiles,
|
|
|
|
etc that are associated with annexed files but that benefit from full
|
|
|
|
revision control.
|