git-annex/debian/control

108 lines
3.4 KiB
Text
Raw Normal View History

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:
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),
libghc-missingh-dev,
2011-05-28 00:21:13 +00:00
libghc-hslogger-dev,
libghc-pcre-light-dev,
libghc-sha-dev,
2013-09-23 01:53:01 +00:00
libghc-cryptohash-dev,
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],
libghc-quickcheck2-dev,
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,
libghc-uuid-dev,
libghc-json-dev,
libghc-aeson-dev,
libghc-ifelse-dev,
libghc-bloomfilter-dev,
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],
libghc-stm-dev (>= 2.3),
2012-10-27 00:47:44 +00:00
libghc-dbus-dev (>= 0.10.3) [linux-any],
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,
libghc-network-info-dev [linux-any kfreebsd-any],
libghc-safesemaphore-dev,
libghc-network-protocol-xmpp-dev (>= 0.4.3-1+b1),
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],
libghc-tasty-rerun-dev [!mipsel !sparc],
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,
wget,
curl,
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/
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,
wget,
curl,
openssh-client (>= 1:5.6p1)
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.