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,
|
2014-02-25 02:00:25 +00:00
|
|
|
libghc-data-default-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-09-23 01:53:01 +00:00
|
|
|
libghc-cryptohash-dev,
|
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),
|
2014-02-08 19:04:48 +00:00
|
|
|
libghc-dav-dev (>= 0.6.1) [amd64 i386 kfreebsd-amd64 kfreebsd-i386 powerpc],
|
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,
|
2013-08-22 22:25:21 +00:00
|
|
|
libghc-aeson-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],
|
2013-06-21 05:50:00 +00:00
|
|
|
libghc-yesod-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64 powerpc sparc],
|
|
|
|
libghc-yesod-static-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64 powerpc sparc],
|
|
|
|
libghc-yesod-default-dev [i386 amd64 kfreebsd-amd64 powerpc sparc],
|
|
|
|
libghc-hamlet-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64 powerpc sparc],
|
|
|
|
libghc-clientsession-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64 powerpc sparc],
|
|
|
|
libghc-warp-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64 powerpc sparc],
|
|
|
|
libghc-wai-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64 powerpc sparc],
|
|
|
|
libghc-wai-logger-dev [i386 amd64 kfreebsd-i386 kfreebsd-amd64 powerpc sparc],
|
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,
|
2013-07-28 21:04:46 +00:00
|
|
|
libghc-feed-dev,
|
2014-01-07 16:12:36 +00:00
|
|
|
libghc-regex-tdfa-dev [!mipsel !s390],
|
2014-01-21 18:04:50 +00:00
|
|
|
libghc-tasty-dev (>= 0.7) [!mipsel !sparc],
|
2014-01-07 16:12:36 +00:00
|
|
|
libghc-tasty-hunit-dev [!mipsel !sparc],
|
|
|
|
libghc-tasty-quickcheck-dev [!mipsel !sparc],
|
2014-01-27 18:22:44 +00:00
|
|
|
libghc-tasty-rerun-dev [!mipsel !sparc],
|
2014-01-21 04:08:43 +00:00
|
|
|
libghc-optparse-applicative-dev,
|
2014-01-07 16:12:36 +00:00
|
|
|
lsof [!kfreebsd-i386 !kfreebsd-amd64],
|
2011-04-17 03:05:26 +00:00
|
|
|
ikiwiki,
|
|
|
|
perlmagick,
|
2013-11-12 19:14:35 +00:00
|
|
|
git (>= 1:1.8.4),
|
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>
|
2014-01-16 15:36:54 +00:00
|
|
|
Standards-Version: 3.9.5
|
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/
|
2013-08-15 13:48:17 +00:00
|
|
|
XS-Testsuite: autopkgtest
|
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-11-12 19:14:35 +00:00
|
|
|
git (>= 1:1.8.4),
|
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)
|
2013-12-01 18:53:15 +00:00
|
|
|
Recommends:
|
|
|
|
lsof,
|
|
|
|
gnupg,
|
|
|
|
bind9-host,
|
|
|
|
ssh-askpass,
|
|
|
|
quvi,
|
|
|
|
git-remote-gcrypt (>= 0.20130908-4),
|
2014-01-16 15:36:54 +00:00
|
|
|
nocache,
|
|
|
|
Suggests:
|
|
|
|
graphviz,
|
|
|
|
bup,
|
|
|
|
tahoe-lafs,
|
|
|
|
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.
|