2011-06-30 18:55:03 +00:00
|
|
|
Name: git-annex
|
2018-12-11 20:33:30 +00:00
|
|
|
Version: 7.20181211
|
2012-04-05 20:39:50 +00:00
|
|
|
Cabal-Version: >= 1.8
|
2013-06-03 19:38:48 +00:00
|
|
|
License: GPL-3
|
2015-01-21 16:50:09 +00:00
|
|
|
Maintainer: Joey Hess <id@joeyh.name>
|
2011-06-30 18:55:03 +00:00
|
|
|
Author: Joey Hess
|
|
|
|
Stability: Stable
|
2019-01-01 19:37:40 +00:00
|
|
|
Copyright: 2010-2019 Joey Hess
|
2012-09-24 19:20:28 +00:00
|
|
|
License-File: COPYRIGHT
|
2011-06-30 18:55:03 +00:00
|
|
|
Homepage: http://git-annex.branchable.com/
|
2013-02-28 23:18:56 +00:00
|
|
|
Build-type: Custom
|
2011-06-30 18:55:03 +00:00
|
|
|
Category: Utility
|
|
|
|
Synopsis: manage files with git, without checking their contents into git
|
|
|
|
Description:
|
|
|
|
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.
|
2011-06-30 18:55:03 +00:00
|
|
|
.
|
2014-10-03 18:12:01 +00:00
|
|
|
It can store large files in many places, from local hard drives, to a
|
|
|
|
large number of cloud storage services, including S3, WebDAV,
|
|
|
|
and rsync, with a dozen cloud storage providers usable via plugins.
|
|
|
|
Files can be stored encrypted with gpg, so that the cloud storage
|
|
|
|
provider cannot see your data. git-annex keeps track of where each file
|
|
|
|
is stored, so it knows how many copies are available, and has many
|
|
|
|
facilities to ensure your data is preserved.
|
|
|
|
.
|
|
|
|
git-annex can also be used to keep a folder in sync between computers,
|
|
|
|
noticing when files are changed, and automatically committing them
|
|
|
|
to git and transferring them to other computers. The git-annex webapp
|
|
|
|
makes it easy to set up and use git-annex this way.
|
2016-05-24 05:00:06 +00:00
|
|
|
-- The tarball uploaded to hackage does not include every non-haskell
|
|
|
|
-- file in the git repo. The website is left out, so is build machinary for
|
|
|
|
-- standalone apps, and packages. Include only files that are needed
|
|
|
|
-- make cabal install git-annex work.
|
|
|
|
Extra-Source-Files:
|
|
|
|
stack.yaml
|
|
|
|
README
|
|
|
|
CHANGELOG
|
|
|
|
NEWS
|
|
|
|
doc/license/GPL
|
|
|
|
doc/license/AGPL
|
|
|
|
doc/git-annex.mdwn
|
|
|
|
doc/git-annex-add.mdwn
|
|
|
|
doc/git-annex-addunused.mdwn
|
|
|
|
doc/git-annex-addurl.mdwn
|
|
|
|
doc/git-annex-adjust.mdwn
|
|
|
|
doc/git-annex-assistant.mdwn
|
|
|
|
doc/git-annex-calckey.mdwn
|
|
|
|
doc/git-annex-checkpresentkey.mdwn
|
|
|
|
doc/git-annex-contentlocation.mdwn
|
|
|
|
doc/git-annex-copy.mdwn
|
|
|
|
doc/git-annex-dead.mdwn
|
|
|
|
doc/git-annex-describe.mdwn
|
|
|
|
doc/git-annex-diffdriver.mdwn
|
|
|
|
doc/git-annex-direct.mdwn
|
|
|
|
doc/git-annex-drop.mdwn
|
|
|
|
doc/git-annex-dropkey.mdwn
|
|
|
|
doc/git-annex-dropunused.mdwn
|
|
|
|
doc/git-annex-edit.mdwn
|
|
|
|
doc/git-annex-enableremote.mdwn
|
2016-11-21 21:27:38 +00:00
|
|
|
doc/git-annex-enable-tor.mdwn
|
2016-05-24 05:00:06 +00:00
|
|
|
doc/git-annex-examinekey.mdwn
|
|
|
|
doc/git-annex-expire.mdwn
|
2017-12-14 17:32:24 +00:00
|
|
|
doc/git-annex-export.mdwn
|
2016-05-24 05:00:06 +00:00
|
|
|
doc/git-annex-find.mdwn
|
|
|
|
doc/git-annex-findref.mdwn
|
|
|
|
doc/git-annex-fix.mdwn
|
|
|
|
doc/git-annex-forget.mdwn
|
|
|
|
doc/git-annex-fromkey.mdwn
|
|
|
|
doc/git-annex-fsck.mdwn
|
|
|
|
doc/git-annex-fuzztest.mdwn
|
|
|
|
doc/git-annex-get.mdwn
|
|
|
|
doc/git-annex-group.mdwn
|
|
|
|
doc/git-annex-groupwanted.mdwn
|
|
|
|
doc/git-annex-import.mdwn
|
|
|
|
doc/git-annex-importfeed.mdwn
|
|
|
|
doc/git-annex-indirect.mdwn
|
|
|
|
doc/git-annex-info.mdwn
|
|
|
|
doc/git-annex-init.mdwn
|
|
|
|
doc/git-annex-initremote.mdwn
|
2017-12-28 15:46:39 +00:00
|
|
|
doc/git-annex-inprogress.mdwn
|
2016-05-24 05:00:06 +00:00
|
|
|
doc/git-annex-list.mdwn
|
|
|
|
doc/git-annex-lock.mdwn
|
|
|
|
doc/git-annex-log.mdwn
|
|
|
|
doc/git-annex-lookupkey.mdwn
|
|
|
|
doc/git-annex-map.mdwn
|
|
|
|
doc/git-annex-matchexpression.mdwn
|
|
|
|
doc/git-annex-matching-options.mdwn
|
|
|
|
doc/git-annex-merge.mdwn
|
|
|
|
doc/git-annex-metadata.mdwn
|
|
|
|
doc/git-annex-migrate.mdwn
|
|
|
|
doc/git-annex-mirror.mdwn
|
|
|
|
doc/git-annex-move.mdwn
|
2017-03-30 23:32:58 +00:00
|
|
|
doc/git-annex-multicast.mdwn
|
2016-05-24 05:00:06 +00:00
|
|
|
doc/git-annex-numcopies.mdwn
|
2016-11-30 18:35:24 +00:00
|
|
|
doc/git-annex-p2p.mdwn
|
2016-05-24 05:00:06 +00:00
|
|
|
doc/git-annex-pre-commit.mdwn
|
|
|
|
doc/git-annex-preferred-content.mdwn
|
|
|
|
doc/git-annex-proxy.mdwn
|
|
|
|
doc/git-annex-readpresentkey.mdwn
|
|
|
|
doc/git-annex-registerurl.mdwn
|
|
|
|
doc/git-annex-reinit.mdwn
|
|
|
|
doc/git-annex-reinject.mdwn
|
|
|
|
doc/git-annex-rekey.mdwn
|
|
|
|
doc/git-annex-remotedaemon.mdwn
|
|
|
|
doc/git-annex-repair.mdwn
|
|
|
|
doc/git-annex-required.mdwn
|
|
|
|
doc/git-annex-resolvemerge.mdwn
|
|
|
|
doc/git-annex-rmurl.mdwn
|
|
|
|
doc/git-annex-schedule.mdwn
|
|
|
|
doc/git-annex-semitrust.mdwn
|
|
|
|
doc/git-annex-setkey.mdwn
|
|
|
|
doc/git-annex-setpresentkey.mdwn
|
|
|
|
doc/git-annex-shell.mdwn
|
|
|
|
doc/git-annex-smudge.mdwn
|
|
|
|
doc/git-annex-status.mdwn
|
|
|
|
doc/git-annex-sync.mdwn
|
|
|
|
doc/git-annex-test.mdwn
|
|
|
|
doc/git-annex-testremote.mdwn
|
|
|
|
doc/git-annex-transferkey.mdwn
|
|
|
|
doc/git-annex-transferkeys.mdwn
|
|
|
|
doc/git-annex-trust.mdwn
|
|
|
|
doc/git-annex-unannex.mdwn
|
|
|
|
doc/git-annex-undo.mdwn
|
|
|
|
doc/git-annex-ungroup.mdwn
|
|
|
|
doc/git-annex-uninit.mdwn
|
|
|
|
doc/git-annex-unlock.mdwn
|
|
|
|
doc/git-annex-untrust.mdwn
|
|
|
|
doc/git-annex-unused.mdwn
|
|
|
|
doc/git-annex-upgrade.mdwn
|
|
|
|
doc/git-annex-vadd.mdwn
|
|
|
|
doc/git-annex-vcycle.mdwn
|
|
|
|
doc/git-annex-version.mdwn
|
|
|
|
doc/git-annex-vfilter.mdwn
|
|
|
|
doc/git-annex-vicfg.mdwn
|
|
|
|
doc/git-annex-view.mdwn
|
|
|
|
doc/git-annex-vpop.mdwn
|
|
|
|
doc/git-annex-wanted.mdwn
|
|
|
|
doc/git-annex-watch.mdwn
|
|
|
|
doc/git-annex-webapp.mdwn
|
|
|
|
doc/git-annex-whereis.mdwn
|
2016-11-21 21:27:38 +00:00
|
|
|
doc/git-remote-tor-annex.mdwn
|
2016-05-24 05:00:06 +00:00
|
|
|
doc/logo.svg
|
|
|
|
doc/logo_16x16.png
|
|
|
|
Build/mdwn2man
|
|
|
|
Assistant/WebApp/routes
|
|
|
|
static/activityicon.gif
|
|
|
|
static/css/bootstrap.css
|
|
|
|
static/css/bootstrap-theme.css
|
|
|
|
static/js/jquery.ui.core.js
|
|
|
|
static/js/longpolling.js
|
|
|
|
static/js/jquery.full.js
|
|
|
|
static/js/jquery.ui.sortable.js
|
|
|
|
static/js/jquery.ui.mouse.js
|
|
|
|
static/js/jquery.ui.widget.js
|
|
|
|
static/js/bootstrap.js
|
|
|
|
static/syncicon.gif
|
|
|
|
static/favicon.ico
|
|
|
|
static/fonts/glyphicons-halflings-regular.woff
|
|
|
|
static/fonts/glyphicons-halflings-regular.eot
|
|
|
|
static/fonts/glyphicons-halflings-regular.svg
|
|
|
|
static/fonts/glyphicons-halflings-regular.ttf
|
|
|
|
templates/sidebar/main.hamlet
|
|
|
|
templates/sidebar/alert.hamlet
|
|
|
|
templates/bootstrap.hamlet
|
|
|
|
templates/error.cassius
|
|
|
|
templates/README
|
|
|
|
templates/error.hamlet
|
|
|
|
templates/documentation/license.hamlet
|
|
|
|
templates/documentation/repogroup.hamlet
|
|
|
|
templates/documentation/about.hamlet
|
|
|
|
templates/dashboard/main.hamlet
|
|
|
|
templates/dashboard/transfers.cassius
|
|
|
|
templates/dashboard/transfers.hamlet
|
|
|
|
templates/dashboard/metarefresh.hamlet
|
|
|
|
templates/page.cassius
|
|
|
|
templates/page.hamlet
|
|
|
|
templates/control/repairrepository.hamlet
|
|
|
|
templates/control/repairrepository/done.hamlet
|
|
|
|
templates/control/notrunning.julius
|
|
|
|
templates/control/notrunning.hamlet
|
|
|
|
templates/control/repositoryswitcher.hamlet
|
|
|
|
templates/control/shutdown.hamlet
|
|
|
|
templates/control/log.hamlet
|
|
|
|
templates/page.julius
|
|
|
|
templates/repolist.julius
|
|
|
|
templates/configurators/adddrive/combine.hamlet
|
|
|
|
templates/configurators/adddrive/setupmodal.hamlet
|
|
|
|
templates/configurators/adddrive/encrypt.hamlet
|
|
|
|
templates/configurators/newrepository.hamlet
|
|
|
|
templates/configurators/needglaciercli.hamlet
|
|
|
|
templates/configurators/adds3.hamlet
|
|
|
|
templates/configurators/genkeymodal.hamlet
|
|
|
|
templates/configurators/main.hamlet
|
|
|
|
templates/configurators/needconnection.hamlet
|
|
|
|
templates/configurators/newrepository/form.hamlet
|
|
|
|
templates/configurators/newrepository/first.hamlet
|
|
|
|
templates/configurators/newrepository/combine.hamlet
|
|
|
|
templates/configurators/enablewebdav.hamlet
|
|
|
|
templates/configurators/pairing/local/inprogress.hamlet
|
|
|
|
templates/configurators/pairing/local/prompt.hamlet
|
2016-12-27 20:36:05 +00:00
|
|
|
templates/configurators/pairing/wormhole/prompt.hamlet
|
|
|
|
templates/configurators/pairing/wormhole/start.hamlet
|
2016-05-24 05:00:06 +00:00
|
|
|
templates/configurators/pairing/disabled.hamlet
|
|
|
|
templates/configurators/addglacier.hamlet
|
|
|
|
templates/configurators/fsck.cassius
|
|
|
|
templates/configurators/edit/nonannexremote.hamlet
|
|
|
|
templates/configurators/edit/webrepository.hamlet
|
|
|
|
templates/configurators/edit/repository.hamlet
|
|
|
|
templates/configurators/unused.hamlet
|
|
|
|
templates/configurators/addbox.com.hamlet
|
|
|
|
templates/configurators/ssh/testmodal.hamlet
|
|
|
|
templates/configurators/ssh/expiredpassword.hamlet
|
|
|
|
templates/configurators/ssh/error.hamlet
|
|
|
|
templates/configurators/ssh/combine.hamlet
|
|
|
|
templates/configurators/ssh/enable.hamlet
|
|
|
|
templates/configurators/ssh/add.hamlet
|
|
|
|
templates/configurators/ssh/setupmodal.hamlet
|
|
|
|
templates/configurators/ssh/confirm.hamlet
|
|
|
|
templates/configurators/enableia.hamlet
|
|
|
|
templates/configurators/fsck.hamlet
|
|
|
|
templates/configurators/addrepository/archive.hamlet
|
|
|
|
templates/configurators/addrepository/cloud.hamlet
|
|
|
|
templates/configurators/addrepository/connection.hamlet
|
|
|
|
templates/configurators/addrepository/ssh.hamlet
|
|
|
|
templates/configurators/addrepository/misc.hamlet
|
2016-12-27 20:36:05 +00:00
|
|
|
templates/configurators/addrepository/wormholepairing.hamlet
|
2016-05-24 05:00:06 +00:00
|
|
|
templates/configurators/rsync.net/add.hamlet
|
|
|
|
templates/configurators/rsync.net/encrypt.hamlet
|
|
|
|
templates/configurators/gitlab.com/add.hamlet
|
|
|
|
templates/configurators/needgcrypt.hamlet
|
2016-12-24 21:08:03 +00:00
|
|
|
templates/configurators/needtor.hamlet
|
|
|
|
templates/configurators/needmagicwormhole.hamlet
|
2016-05-24 05:00:06 +00:00
|
|
|
templates/configurators/enabledirectory.hamlet
|
|
|
|
templates/configurators/fsck/status.hamlet
|
|
|
|
templates/configurators/fsck/form.hamlet
|
|
|
|
templates/configurators/fsck/preferencesform.hamlet
|
|
|
|
templates/configurators/fsck/formcontent.hamlet
|
|
|
|
templates/configurators/delete/finished.hamlet
|
|
|
|
templates/configurators/delete/start.hamlet
|
|
|
|
templates/configurators/delete/currentrepository.hamlet
|
|
|
|
templates/configurators/unused/form.hamlet
|
|
|
|
templates/configurators/adddrive.hamlet
|
|
|
|
templates/configurators/preferences.hamlet
|
|
|
|
templates/configurators/addia.hamlet
|
|
|
|
templates/configurators/enableaws.hamlet
|
|
|
|
templates/configurators/addrepository.hamlet
|
|
|
|
templates/actionbutton.hamlet
|
|
|
|
templates/repolist.hamlet
|
|
|
|
templates/controlmenu.hamlet
|
|
|
|
templates/notifications/longpolling.julius
|
2011-06-30 18:55:03 +00:00
|
|
|
|
2012-04-14 18:22:33 +00:00
|
|
|
Flag S3
|
|
|
|
Description: Enable S3 support
|
|
|
|
|
2012-11-15 00:25:00 +00:00
|
|
|
Flag WebDAV
|
|
|
|
Description: Enable WebDAV support
|
|
|
|
|
2012-06-26 13:15:47 +00:00
|
|
|
Flag Assistant
|
|
|
|
Description: Enable git-annex assistant and watch command
|
|
|
|
|
2012-07-26 01:26:13 +00:00
|
|
|
Flag Webapp
|
|
|
|
Description: Enable git-annex webapp
|
|
|
|
|
2012-09-07 23:44:20 +00:00
|
|
|
Flag Pairing
|
|
|
|
Description: Enable pairing
|
2012-09-07 18:54:00 +00:00
|
|
|
|
2013-02-27 05:41:01 +00:00
|
|
|
Flag Production
|
2013-02-27 06:30:26 +00:00
|
|
|
Description: Enable production build (slower build; faster binary)
|
|
|
|
|
2014-12-18 18:22:43 +00:00
|
|
|
Flag TorrentParser
|
|
|
|
Description: Use haskell torrent library to parse torrent files
|
|
|
|
|
2016-02-03 20:29:34 +00:00
|
|
|
Flag MagicMime
|
|
|
|
Description: Use libmagic to determine file MIME types
|
|
|
|
|
2016-01-12 17:01:44 +00:00
|
|
|
Flag Benchmark
|
|
|
|
Description: Enable benchmarking
|
|
|
|
Default: False
|
|
|
|
|
2018-11-19 19:00:24 +00:00
|
|
|
Flag DebugLocks
|
|
|
|
Description: Debug location of MVar/STM deadlocks
|
|
|
|
Default: False
|
|
|
|
|
2016-02-05 22:00:20 +00:00
|
|
|
Flag Dbus
|
|
|
|
Description: Enable dbus support
|
|
|
|
|
2016-05-24 05:00:06 +00:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://git-annex.branchable.com/
|
|
|
|
|
2017-12-31 20:08:31 +00:00
|
|
|
custom-setup
|
2018-10-13 05:36:06 +00:00
|
|
|
Setup-Depends: base (>= 4.9), hslogger, split, unix-compat, process,
|
2017-12-31 20:08:31 +00:00
|
|
|
filepath, exceptions, bytestring, directory, IfElse, data-default,
|
2018-07-01 17:08:40 +00:00
|
|
|
utf8-string, transformers, Cabal
|
2017-12-31 20:08:31 +00:00
|
|
|
|
2011-06-30 18:55:03 +00:00
|
|
|
Executable git-annex
|
|
|
|
Main-Is: git-annex.hs
|
2015-05-10 21:03:20 +00:00
|
|
|
Build-Depends:
|
2018-10-13 05:36:06 +00:00
|
|
|
base (>= 4.9 && < 5.0),
|
2018-07-01 17:07:24 +00:00
|
|
|
network (>= 2.6.3.0),
|
|
|
|
network-uri (>= 2.6),
|
2018-11-04 20:46:39 +00:00
|
|
|
optparse-applicative (>= 0.11.0),
|
2018-10-13 05:36:06 +00:00
|
|
|
containers (>= 0.5.7.1),
|
2015-05-10 21:03:20 +00:00
|
|
|
exceptions (>= 0.6),
|
|
|
|
stm (>= 2.3),
|
|
|
|
mtl (>= 2),
|
2016-07-27 11:38:11 +00:00
|
|
|
uuid (>= 1.2.6),
|
2017-04-10 16:14:24 +00:00
|
|
|
process,
|
2016-09-05 23:42:41 +00:00
|
|
|
data-default,
|
|
|
|
case-insensitive,
|
|
|
|
random,
|
|
|
|
dlist,
|
|
|
|
unix-compat,
|
|
|
|
SafeSemaphore,
|
|
|
|
async,
|
2017-03-10 19:57:41 +00:00
|
|
|
directory (>= 1.2),
|
2018-10-13 05:36:06 +00:00
|
|
|
disk-free-space,
|
2016-09-05 23:42:41 +00:00
|
|
|
filepath,
|
|
|
|
IfElse,
|
|
|
|
hslogger,
|
|
|
|
monad-logger,
|
2016-11-17 21:19:04 +00:00
|
|
|
free,
|
2016-09-05 23:42:41 +00:00
|
|
|
utf8-string,
|
|
|
|
bytestring,
|
|
|
|
text,
|
|
|
|
sandi,
|
|
|
|
monad-control,
|
|
|
|
transformers,
|
|
|
|
bloomfilter,
|
|
|
|
edit-distance,
|
|
|
|
resourcet,
|
2018-06-19 23:41:30 +00:00
|
|
|
connection (>= 0.2.6),
|
|
|
|
http-client (>= 0.4.31),
|
2018-06-16 18:18:29 +00:00
|
|
|
http-client-tls,
|
2017-03-10 19:57:41 +00:00
|
|
|
http-types (>= 0.7),
|
|
|
|
http-conduit (>= 2.0),
|
2018-04-06 19:58:16 +00:00
|
|
|
conduit,
|
2016-09-05 23:42:41 +00:00
|
|
|
time,
|
|
|
|
old-locale,
|
2018-11-04 20:46:39 +00:00
|
|
|
persistent-sqlite (>= 2.1.3),
|
2016-11-15 15:19:57 +00:00
|
|
|
persistent,
|
2016-09-05 23:42:41 +00:00
|
|
|
persistent-template,
|
2018-10-30 17:47:38 +00:00
|
|
|
microlens,
|
2016-01-26 12:14:57 +00:00
|
|
|
aeson,
|
2018-02-19 19:28:38 +00:00
|
|
|
vector,
|
2017-11-28 16:50:30 +00:00
|
|
|
tagsoup,
|
2016-07-26 18:53:00 +00:00
|
|
|
unordered-containers,
|
2017-03-10 19:57:41 +00:00
|
|
|
feed (>= 0.3.9),
|
2016-11-21 21:27:38 +00:00
|
|
|
regex-tdfa,
|
2016-11-22 18:18:34 +00:00
|
|
|
socks,
|
2016-12-08 20:31:08 +00:00
|
|
|
byteable,
|
2016-12-09 18:52:38 +00:00
|
|
|
stm-chans,
|
2017-02-20 16:21:35 +00:00
|
|
|
securemem,
|
2017-02-25 00:56:26 +00:00
|
|
|
crypto-api,
|
2018-03-15 15:16:00 +00:00
|
|
|
cryptonite,
|
2017-05-16 03:32:17 +00:00
|
|
|
memory,
|
2017-12-20 16:25:03 +00:00
|
|
|
split,
|
2018-08-10 17:38:29 +00:00
|
|
|
attoparsec,
|
2018-11-19 22:41:34 +00:00
|
|
|
concurrent-output (>= 1.6),
|
2018-10-31 19:53:22 +00:00
|
|
|
QuickCheck (>= 2.8.2),
|
2017-12-20 16:25:03 +00:00
|
|
|
tasty (>= 0.7),
|
|
|
|
tasty-hunit,
|
|
|
|
tasty-quickcheck,
|
|
|
|
tasty-rerun
|
2015-06-06 16:09:45 +00:00
|
|
|
CC-Options: -Wall
|
2015-05-10 18:40:08 +00:00
|
|
|
GHC-Options: -Wall -fno-warn-tabs
|
2017-11-15 20:55:38 +00:00
|
|
|
Extensions: PackageImports, LambdaCase
|
2013-07-25 17:57:53 +00:00
|
|
|
-- Some things don't work with the non-threaded RTS.
|
|
|
|
GHC-Options: -threaded
|
2017-05-15 20:50:03 +00:00
|
|
|
Other-Extensions: TemplateHaskell
|
2013-02-27 05:41:01 +00:00
|
|
|
|
2016-01-26 12:14:57 +00:00
|
|
|
-- Fully optimize for production.
|
|
|
|
if flag(Production)
|
2018-03-04 23:48:07 +00:00
|
|
|
-- Lower memory systems can run out of memory with -O2, so
|
|
|
|
-- optimise slightly less.
|
|
|
|
if arch(arm)
|
2018-10-30 04:49:59 +00:00
|
|
|
GHC-Options: -O2 -optlo-O2
|
2018-03-04 23:48:07 +00:00
|
|
|
else
|
|
|
|
GHC-Options: -O2
|
2016-01-26 12:14:57 +00:00
|
|
|
|
2015-07-07 17:19:13 +00:00
|
|
|
-- Avoid linking with unused dynamic libaries.
|
|
|
|
-- (Only tested on Linux).
|
|
|
|
if os(Linux)
|
|
|
|
GHC-Options: -optl-Wl,--as-needed
|
|
|
|
|
2013-12-10 05:18:04 +00:00
|
|
|
if (os(windows))
|
2017-11-13 16:36:07 +00:00
|
|
|
Build-Depends:
|
|
|
|
Win32 (>= 2.6.1.0),
|
|
|
|
unix-compat (>= 0.5),
|
|
|
|
setenv,
|
|
|
|
process (>= 1.6.2.0)
|
2013-12-10 05:18:04 +00:00
|
|
|
else
|
2018-10-30 02:22:36 +00:00
|
|
|
Build-Depends: unix (>= 2.7.2)
|
2013-05-10 20:08:53 +00:00
|
|
|
|
2012-04-14 18:22:33 +00:00
|
|
|
if flag(S3)
|
2018-04-06 19:58:16 +00:00
|
|
|
Build-Depends: aws (>= 0.9.2)
|
2012-04-14 18:22:33 +00:00
|
|
|
CPP-Options: -DWITH_S3
|
2017-09-30 00:56:14 +00:00
|
|
|
Other-Modules: Remote.S3
|
2011-06-30 18:55:03 +00:00
|
|
|
|
2013-12-05 23:15:23 +00:00
|
|
|
if flag(WebDAV)
|
2015-11-06 16:54:23 +00:00
|
|
|
Build-Depends: DAV (>= 1.0)
|
2012-11-18 17:28:18 +00:00
|
|
|
CPP-Options: -DWITH_WEBDAV
|
2018-01-25 00:40:50 +00:00
|
|
|
Other-Modules:
|
|
|
|
Remote.WebDAV
|
|
|
|
Remote.WebDAV.DavLocation
|
2018-09-04 14:41:45 +00:00
|
|
|
if flag(S3) || flag(WebDAV)
|
|
|
|
Other-Modules:
|
|
|
|
Remote.Helper.Http
|
2013-02-22 15:08:34 +00:00
|
|
|
|
2018-09-05 15:47:00 +00:00
|
|
|
if flag(Assistant) && ! os(solaris) && ! os(gnu)
|
2018-09-04 14:41:45 +00:00
|
|
|
Build-Depends: mountpoints
|
2012-06-26 13:15:47 +00:00
|
|
|
CPP-Options: -DWITH_ASSISTANT
|
2018-09-04 14:41:45 +00:00
|
|
|
Other-Modules:
|
|
|
|
Assistant
|
|
|
|
Assistant.Alert
|
|
|
|
Assistant.Alert.Utility
|
|
|
|
Assistant.BranchChange
|
|
|
|
Assistant.Changes
|
|
|
|
Assistant.Commits
|
|
|
|
Assistant.Common
|
|
|
|
Assistant.CredPairCache
|
|
|
|
Assistant.DaemonStatus
|
|
|
|
Assistant.DeleteRemote
|
|
|
|
Assistant.Drop
|
|
|
|
Assistant.Fsck
|
|
|
|
Assistant.Gpg
|
|
|
|
Assistant.Install
|
|
|
|
Assistant.Install.AutoStart
|
|
|
|
Assistant.Install.Menu
|
|
|
|
Assistant.MakeRemote
|
|
|
|
Assistant.Monad
|
|
|
|
Assistant.NamedThread
|
|
|
|
Assistant.Pairing
|
|
|
|
Assistant.Pairing.MakeRemote
|
|
|
|
Assistant.Pairing.Network
|
|
|
|
Assistant.Pushes
|
|
|
|
Assistant.RemoteControl
|
|
|
|
Assistant.Repair
|
|
|
|
Assistant.RepoProblem
|
|
|
|
Assistant.Restart
|
|
|
|
Assistant.ScanRemotes
|
|
|
|
Assistant.Ssh
|
|
|
|
Assistant.Sync
|
|
|
|
Assistant.Threads.Committer
|
|
|
|
Assistant.Threads.ConfigMonitor
|
|
|
|
Assistant.Threads.Cronner
|
|
|
|
Assistant.Threads.DaemonStatus
|
|
|
|
Assistant.Threads.Exporter
|
|
|
|
Assistant.Threads.Glacier
|
|
|
|
Assistant.Threads.Merger
|
|
|
|
Assistant.Threads.MountWatcher
|
|
|
|
Assistant.Threads.NetWatcher
|
|
|
|
Assistant.Threads.ProblemFixer
|
|
|
|
Assistant.Threads.Pusher
|
|
|
|
Assistant.Threads.RemoteControl
|
|
|
|
Assistant.Threads.SanityChecker
|
|
|
|
Assistant.Threads.TransferPoller
|
|
|
|
Assistant.Threads.TransferScanner
|
|
|
|
Assistant.Threads.TransferWatcher
|
|
|
|
Assistant.Threads.Transferrer
|
|
|
|
Assistant.Threads.UpgradeWatcher
|
|
|
|
Assistant.Threads.Upgrader
|
|
|
|
Assistant.Threads.Watcher
|
|
|
|
Assistant.TransferQueue
|
|
|
|
Assistant.TransferSlots
|
|
|
|
Assistant.TransferrerPool
|
|
|
|
Assistant.Types.Alert
|
|
|
|
Assistant.Types.BranchChange
|
|
|
|
Assistant.Types.Changes
|
|
|
|
Assistant.Types.Commits
|
|
|
|
Assistant.Types.CredPairCache
|
|
|
|
Assistant.Types.DaemonStatus
|
|
|
|
Assistant.Types.NamedThread
|
|
|
|
Assistant.Types.Pushes
|
|
|
|
Assistant.Types.RemoteControl
|
|
|
|
Assistant.Types.RepoProblem
|
|
|
|
Assistant.Types.ScanRemotes
|
|
|
|
Assistant.Types.ThreadName
|
|
|
|
Assistant.Types.ThreadedMonad
|
|
|
|
Assistant.Types.TransferQueue
|
|
|
|
Assistant.Types.TransferSlots
|
|
|
|
Assistant.Types.TransferrerPool
|
|
|
|
Assistant.Types.UrlRenderer
|
|
|
|
Assistant.Unused
|
|
|
|
Assistant.Upgrade
|
|
|
|
Command.Assistant
|
|
|
|
Command.Watch
|
|
|
|
Utility.Mounts
|
2018-09-05 15:55:08 +00:00
|
|
|
Utility.OSX
|
2012-06-26 13:15:47 +00:00
|
|
|
|
2018-10-13 05:36:06 +00:00
|
|
|
if os(linux)
|
2013-07-16 15:29:43 +00:00
|
|
|
Build-Depends: hinotify
|
|
|
|
CPP-Options: -DWITH_INOTIFY
|
2017-08-18 14:53:31 +00:00
|
|
|
Other-Modules: Utility.DirWatcher.INotify
|
2012-12-27 19:19:12 +00:00
|
|
|
else
|
2013-07-12 19:36:59 +00:00
|
|
|
if os(darwin)
|
|
|
|
Build-Depends: hfsevents
|
|
|
|
CPP-Options: -DWITH_FSEVENTS
|
2018-09-04 14:41:45 +00:00
|
|
|
Other-Modules:
|
|
|
|
Utility.DirWatcher.FSEvents
|
2013-07-12 19:36:59 +00:00
|
|
|
else
|
2013-11-12 18:54:02 +00:00
|
|
|
if os(windows)
|
|
|
|
Build-Depends: Win32-notify
|
|
|
|
CPP-Options: -DWITH_WIN32NOTIFY
|
2017-08-18 14:53:31 +00:00
|
|
|
Other-Modules: Utility.DirWatcher.Win32Notify
|
2013-11-12 18:54:02 +00:00
|
|
|
else
|
2018-02-18 15:09:16 +00:00
|
|
|
if (! os(solaris) && ! os(gnu) && ! os(linux))
|
2017-08-18 14:53:31 +00:00
|
|
|
CPP-Options: -DWITH_KQUEUE
|
|
|
|
C-Sources: Utility/libkqueue.c
|
2017-10-24 16:54:33 +00:00
|
|
|
Includes: Utility/libkqueue.h
|
2017-08-18 14:53:31 +00:00
|
|
|
Other-Modules: Utility.DirWatcher.Kqueue
|
2013-07-12 19:36:59 +00:00
|
|
|
|
2016-02-05 22:00:20 +00:00
|
|
|
if flag(Dbus)
|
|
|
|
if (os(linux))
|
|
|
|
Build-Depends: dbus (>= 0.10.7), fdo-notify (>= 0.3)
|
|
|
|
CPP-Options: -DWITH_DBUS -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS
|
2017-08-18 14:53:31 +00:00
|
|
|
Other-Modules: Utility.DBus
|
2014-03-22 14:42:38 +00:00
|
|
|
|
2013-12-06 19:04:19 +00:00
|
|
|
if flag(Webapp)
|
2013-05-23 15:02:25 +00:00
|
|
|
Build-Depends:
|
2018-10-13 05:36:06 +00:00
|
|
|
yesod (>= 1.4.3),
|
|
|
|
yesod-static (>= 1.5.1),
|
|
|
|
yesod-form (>= 1.4.8),
|
|
|
|
yesod-core (>= 1.4.25),
|
|
|
|
path-pieces (>= 0.2.1),
|
|
|
|
warp (>= 3.2.8),
|
|
|
|
warp-tls (>= 3.2.2),
|
2016-09-05 23:42:41 +00:00
|
|
|
wai,
|
|
|
|
wai-extra,
|
|
|
|
blaze-builder,
|
|
|
|
clientsession,
|
2016-01-26 12:14:57 +00:00
|
|
|
template-haskell,
|
2018-10-13 05:36:06 +00:00
|
|
|
shakespeare (>= 2.0.11)
|
2012-07-26 01:26:13 +00:00
|
|
|
CPP-Options: -DWITH_WEBAPP
|
2018-01-25 00:40:50 +00:00
|
|
|
Other-Modules:
|
|
|
|
Command.WebApp
|
|
|
|
Assistant.Threads.WebApp
|
|
|
|
Assistant.Threads.PairListener
|
|
|
|
Assistant.WebApp
|
|
|
|
Assistant.WebApp.Common
|
|
|
|
Assistant.WebApp.Configurators
|
|
|
|
Assistant.WebApp.Configurators.AWS
|
|
|
|
Assistant.WebApp.Configurators.Delete
|
|
|
|
Assistant.WebApp.Configurators.Edit
|
|
|
|
Assistant.WebApp.Configurators.Fsck
|
|
|
|
Assistant.WebApp.Configurators.IA
|
|
|
|
Assistant.WebApp.Configurators.Local
|
|
|
|
Assistant.WebApp.Configurators.Pairing
|
|
|
|
Assistant.WebApp.Configurators.Preferences
|
|
|
|
Assistant.WebApp.Configurators.Ssh
|
|
|
|
Assistant.WebApp.Configurators.Unused
|
|
|
|
Assistant.WebApp.Configurators.Upgrade
|
|
|
|
Assistant.WebApp.Configurators.WebDAV
|
|
|
|
Assistant.WebApp.Control
|
|
|
|
Assistant.WebApp.DashBoard
|
|
|
|
Assistant.WebApp.Documentation
|
|
|
|
Assistant.WebApp.Form
|
|
|
|
Assistant.WebApp.Gpg
|
|
|
|
Assistant.WebApp.MakeRemote
|
|
|
|
Assistant.WebApp.Notifications
|
|
|
|
Assistant.WebApp.OtherRepos
|
|
|
|
Assistant.WebApp.Page
|
|
|
|
Assistant.WebApp.Pairing
|
|
|
|
Assistant.WebApp.Repair
|
|
|
|
Assistant.WebApp.RepoId
|
|
|
|
Assistant.WebApp.RepoList
|
|
|
|
Assistant.WebApp.SideBar
|
|
|
|
Assistant.WebApp.Types
|
|
|
|
Annex.MakeRepo
|
|
|
|
Utility.Yesod
|
|
|
|
Utility.WebApp
|
2015-05-10 21:03:20 +00:00
|
|
|
|
2013-07-16 15:29:43 +00:00
|
|
|
if flag(Pairing)
|
2012-09-07 23:44:20 +00:00
|
|
|
Build-Depends: network-multicast, network-info
|
|
|
|
CPP-Options: -DWITH_PAIRING
|
2012-09-07 18:54:00 +00:00
|
|
|
|
2014-12-18 18:22:43 +00:00
|
|
|
if flag(TorrentParser)
|
|
|
|
Build-Depends: torrent (>= 10000.0.0)
|
|
|
|
CPP-Options: -DWITH_TORRENTPARSER
|
|
|
|
|
2016-02-03 20:29:34 +00:00
|
|
|
if flag(MagicMime)
|
2016-02-15 19:05:31 +00:00
|
|
|
if (! os(windows))
|
|
|
|
Build-Depends: magic
|
|
|
|
CPP-Options: -DWITH_MAGICMIME
|
2016-02-03 20:29:34 +00:00
|
|
|
|
2016-01-12 17:01:44 +00:00
|
|
|
if flag(Benchmark)
|
|
|
|
Build-Depends: criterion, deepseq
|
|
|
|
CPP-Options: -DWITH_BENCHMARK
|
2018-11-19 19:00:24 +00:00
|
|
|
|
|
|
|
if flag(DebugLocks)
|
|
|
|
CPP-Options: -DDEBUGLOCKS
|
2013-07-28 19:27:36 +00:00
|
|
|
|
2016-05-24 05:00:06 +00:00
|
|
|
Other-Modules:
|
|
|
|
Annex
|
|
|
|
Annex.Action
|
|
|
|
Annex.AdjustedBranch
|
2018-10-19 19:17:48 +00:00
|
|
|
Annex.AdjustedBranch.Name
|
2016-05-24 05:00:06 +00:00
|
|
|
Annex.AutoMerge
|
|
|
|
Annex.BloomFilter
|
|
|
|
Annex.Branch
|
|
|
|
Annex.Branch.Transitions
|
|
|
|
Annex.BranchState
|
|
|
|
Annex.CatFile
|
2016-12-09 18:52:38 +00:00
|
|
|
Annex.ChangedRefs
|
2016-05-24 05:00:06 +00:00
|
|
|
Annex.CheckAttr
|
|
|
|
Annex.CheckIgnore
|
|
|
|
Annex.Common
|
|
|
|
Annex.Concurrent
|
|
|
|
Annex.Content
|
|
|
|
Annex.Content.Direct
|
2018-08-22 18:41:09 +00:00
|
|
|
Annex.Content.LowLevel
|
|
|
|
Annex.Content.PointerFile
|
2018-10-19 19:17:48 +00:00
|
|
|
Annex.CurrentBranch
|
2016-05-24 05:00:06 +00:00
|
|
|
Annex.Difference
|
|
|
|
Annex.DirHashes
|
|
|
|
Annex.Direct
|
|
|
|
Annex.Drop
|
|
|
|
Annex.Environment
|
2017-09-18 17:57:25 +00:00
|
|
|
Annex.Export
|
2016-05-24 05:00:06 +00:00
|
|
|
Annex.FileMatcher
|
|
|
|
Annex.Fixup
|
|
|
|
Annex.GitOverlay
|
|
|
|
Annex.HashObject
|
|
|
|
Annex.Hook
|
|
|
|
Annex.Ingest
|
|
|
|
Annex.Init
|
|
|
|
Annex.InodeSentinal
|
|
|
|
Annex.Journal
|
|
|
|
Annex.Link
|
|
|
|
Annex.Locations
|
|
|
|
Annex.LockFile
|
|
|
|
Annex.LockPool
|
|
|
|
Annex.LockPool.PosixOrPid
|
|
|
|
Annex.MetaData
|
|
|
|
Annex.MetaData.StandardFields
|
2017-03-30 23:32:58 +00:00
|
|
|
Annex.Multicast
|
2016-05-24 05:00:06 +00:00
|
|
|
Annex.Notification
|
|
|
|
Annex.NumCopies
|
|
|
|
Annex.Path
|
|
|
|
Annex.Perms
|
|
|
|
Annex.Queue
|
|
|
|
Annex.ReplaceFile
|
|
|
|
Annex.SpecialRemote
|
|
|
|
Annex.Ssh
|
|
|
|
Annex.TaggedPush
|
|
|
|
Annex.Transfer
|
2017-02-17 19:21:39 +00:00
|
|
|
Annex.UpdateInstead
|
2016-05-24 05:00:06 +00:00
|
|
|
Annex.UUID
|
|
|
|
Annex.Url
|
2017-08-14 17:55:38 +00:00
|
|
|
Annex.VectorClock
|
2016-05-24 05:00:06 +00:00
|
|
|
Annex.VariantFile
|
|
|
|
Annex.Version
|
|
|
|
Annex.View
|
|
|
|
Annex.View.ViewedFile
|
|
|
|
Annex.Wanted
|
|
|
|
Annex.WorkTree
|
2017-11-29 19:49:05 +00:00
|
|
|
Annex.YoutubeDl
|
2016-05-24 05:00:06 +00:00
|
|
|
Backend
|
|
|
|
Backend.Hash
|
|
|
|
Backend.URL
|
|
|
|
Backend.Utilities
|
|
|
|
Backend.WORM
|
2019-01-04 17:43:53 +00:00
|
|
|
Benchmark
|
2016-05-24 05:00:06 +00:00
|
|
|
Build.BundledPrograms
|
|
|
|
Build.Configure
|
2018-09-05 15:47:00 +00:00
|
|
|
Build.DesktopFile
|
2016-05-31 17:58:13 +00:00
|
|
|
Build.Mans
|
2016-05-24 05:00:06 +00:00
|
|
|
Build.TestConfig
|
|
|
|
Build.Version
|
2017-04-07 22:03:09 +00:00
|
|
|
BuildInfo
|
2018-01-02 17:47:51 +00:00
|
|
|
BuildFlags
|
2016-05-24 05:00:06 +00:00
|
|
|
CmdLine
|
|
|
|
CmdLine.Action
|
|
|
|
CmdLine.Batch
|
|
|
|
CmdLine.GitAnnex
|
|
|
|
CmdLine.GitAnnex.Options
|
|
|
|
CmdLine.GitAnnexShell
|
|
|
|
CmdLine.GitAnnexShell.Checks
|
|
|
|
CmdLine.GitAnnexShell.Fields
|
|
|
|
CmdLine.GlobalSetter
|
|
|
|
CmdLine.Option
|
2016-11-21 21:27:38 +00:00
|
|
|
CmdLine.GitRemoteTorAnnex
|
2016-05-24 05:00:06 +00:00
|
|
|
CmdLine.Seek
|
|
|
|
CmdLine.Usage
|
|
|
|
Command
|
|
|
|
Command.Add
|
|
|
|
Command.AddUnused
|
|
|
|
Command.AddUrl
|
|
|
|
Command.Adjust
|
2019-01-05 12:09:28 +00:00
|
|
|
Command.Benchmark
|
2016-05-24 05:00:06 +00:00
|
|
|
Command.CalcKey
|
|
|
|
Command.CheckPresentKey
|
|
|
|
Command.Commit
|
2017-01-31 21:27:44 +00:00
|
|
|
Command.Config
|
2016-05-24 05:00:06 +00:00
|
|
|
Command.ConfigList
|
|
|
|
Command.ContentLocation
|
|
|
|
Command.Copy
|
|
|
|
Command.Dead
|
|
|
|
Command.Describe
|
|
|
|
Command.DiffDriver
|
|
|
|
Command.Direct
|
|
|
|
Command.Drop
|
|
|
|
Command.DropKey
|
|
|
|
Command.DropUnused
|
|
|
|
Command.EnableRemote
|
2016-11-30 18:35:24 +00:00
|
|
|
Command.EnableTor
|
2016-05-24 05:00:06 +00:00
|
|
|
Command.ExamineKey
|
|
|
|
Command.Expire
|
2017-09-13 18:21:08 +00:00
|
|
|
Command.Export
|
2016-05-24 05:00:06 +00:00
|
|
|
Command.Find
|
|
|
|
Command.FindRef
|
|
|
|
Command.Fix
|
|
|
|
Command.Forget
|
|
|
|
Command.FromKey
|
|
|
|
Command.Fsck
|
|
|
|
Command.FuzzTest
|
|
|
|
Command.GCryptSetup
|
|
|
|
Command.Get
|
|
|
|
Command.Group
|
|
|
|
Command.GroupWanted
|
|
|
|
Command.Help
|
|
|
|
Command.Import
|
|
|
|
Command.ImportFeed
|
|
|
|
Command.InAnnex
|
|
|
|
Command.Indirect
|
|
|
|
Command.Info
|
|
|
|
Command.Init
|
|
|
|
Command.InitRemote
|
2017-12-28 15:46:39 +00:00
|
|
|
Command.Inprogress
|
2016-05-24 05:00:06 +00:00
|
|
|
Command.List
|
|
|
|
Command.Lock
|
|
|
|
Command.LockContent
|
|
|
|
Command.Log
|
|
|
|
Command.LookupKey
|
|
|
|
Command.Map
|
|
|
|
Command.MatchExpression
|
|
|
|
Command.Merge
|
|
|
|
Command.MetaData
|
|
|
|
Command.Migrate
|
|
|
|
Command.Mirror
|
|
|
|
Command.Move
|
2017-03-30 23:32:58 +00:00
|
|
|
Command.Multicast
|
2016-05-24 05:00:06 +00:00
|
|
|
Command.NotifyChanges
|
|
|
|
Command.NumCopies
|
2016-11-30 18:35:24 +00:00
|
|
|
Command.P2P
|
2018-03-07 19:15:23 +00:00
|
|
|
Command.P2PStdIO
|
2017-02-17 18:04:43 +00:00
|
|
|
Command.PostReceive
|
2016-05-24 05:00:06 +00:00
|
|
|
Command.PreCommit
|
|
|
|
Command.Proxy
|
|
|
|
Command.ReKey
|
|
|
|
Command.ReadPresentKey
|
|
|
|
Command.RecvKey
|
|
|
|
Command.RegisterUrl
|
|
|
|
Command.Reinit
|
|
|
|
Command.Reinject
|
|
|
|
Command.RemoteDaemon
|
|
|
|
Command.Repair
|
|
|
|
Command.Required
|
|
|
|
Command.ResolveMerge
|
|
|
|
Command.RmUrl
|
|
|
|
Command.Schedule
|
|
|
|
Command.Semitrust
|
|
|
|
Command.SendKey
|
|
|
|
Command.SetKey
|
|
|
|
Command.SetPresentKey
|
|
|
|
Command.Smudge
|
|
|
|
Command.Status
|
|
|
|
Command.Sync
|
|
|
|
Command.Test
|
|
|
|
Command.TestRemote
|
|
|
|
Command.TransferInfo
|
|
|
|
Command.TransferKey
|
|
|
|
Command.TransferKeys
|
|
|
|
Command.Trust
|
|
|
|
Command.Unannex
|
|
|
|
Command.Undo
|
|
|
|
Command.Ungroup
|
|
|
|
Command.Uninit
|
|
|
|
Command.Unlock
|
|
|
|
Command.Untrust
|
|
|
|
Command.Unused
|
|
|
|
Command.Upgrade
|
|
|
|
Command.VAdd
|
|
|
|
Command.VCycle
|
|
|
|
Command.VFilter
|
|
|
|
Command.VPop
|
|
|
|
Command.Version
|
|
|
|
Command.Vicfg
|
|
|
|
Command.View
|
|
|
|
Command.Wanted
|
|
|
|
Command.Whereis
|
|
|
|
Common
|
|
|
|
Config
|
|
|
|
Config.Cost
|
|
|
|
Config.Files
|
2017-08-17 16:26:14 +00:00
|
|
|
Config.DynamicConfig
|
2017-02-03 17:40:14 +00:00
|
|
|
Config.GitConfig
|
2018-08-28 14:26:51 +00:00
|
|
|
Config.Smudge
|
2016-05-24 05:00:06 +00:00
|
|
|
Creds
|
|
|
|
Crypto
|
2017-09-04 17:52:22 +00:00
|
|
|
Database.Export
|
2016-05-24 05:00:06 +00:00
|
|
|
Database.Fsck
|
|
|
|
Database.Handle
|
2017-02-13 21:30:28 +00:00
|
|
|
Database.Init
|
2016-05-24 05:00:06 +00:00
|
|
|
Database.Keys
|
|
|
|
Database.Keys.Handle
|
|
|
|
Database.Keys.SQL
|
|
|
|
Database.Queue
|
|
|
|
Database.Types
|
|
|
|
Git
|
|
|
|
Git.AutoCorrect
|
|
|
|
Git.Branch
|
|
|
|
Git.BuildVersion
|
|
|
|
Git.CatFile
|
|
|
|
Git.CheckAttr
|
|
|
|
Git.CheckIgnore
|
|
|
|
Git.Command
|
|
|
|
Git.Command.Batch
|
|
|
|
Git.Config
|
2017-02-17 18:04:43 +00:00
|
|
|
Git.ConfigTypes
|
2016-05-24 05:00:06 +00:00
|
|
|
Git.Construct
|
|
|
|
Git.CurrentRepo
|
|
|
|
Git.DiffTree
|
|
|
|
Git.DiffTreeItem
|
|
|
|
Git.Env
|
|
|
|
Git.FileMode
|
|
|
|
Git.FilePath
|
|
|
|
Git.Filename
|
|
|
|
Git.Fsck
|
|
|
|
Git.GCrypt
|
|
|
|
Git.HashObject
|
|
|
|
Git.Hook
|
|
|
|
Git.Index
|
|
|
|
Git.LockFile
|
|
|
|
Git.LsFiles
|
|
|
|
Git.LsTree
|
|
|
|
Git.Merge
|
|
|
|
Git.Objects
|
|
|
|
Git.Queue
|
|
|
|
Git.Ref
|
|
|
|
Git.RefLog
|
|
|
|
Git.Remote
|
|
|
|
Git.Remote.Remove
|
|
|
|
Git.Repair
|
|
|
|
Git.Sha
|
2017-03-17 20:02:47 +00:00
|
|
|
Git.Ssh
|
2016-05-24 05:00:06 +00:00
|
|
|
Git.Status
|
|
|
|
Git.Tree
|
|
|
|
Git.Types
|
|
|
|
Git.UnionMerge
|
|
|
|
Git.UpdateIndex
|
|
|
|
Git.Url
|
|
|
|
Git.Version
|
2017-02-24 17:42:30 +00:00
|
|
|
Key
|
2016-05-24 05:00:06 +00:00
|
|
|
Limit
|
|
|
|
Limit.Wanted
|
|
|
|
Logs
|
|
|
|
Logs.Activity
|
|
|
|
Logs.Chunk
|
|
|
|
Logs.Chunk.Pure
|
2017-01-31 21:27:44 +00:00
|
|
|
Logs.Config
|
2016-05-24 05:00:06 +00:00
|
|
|
Logs.Difference
|
|
|
|
Logs.Difference.Pure
|
2017-08-31 19:41:48 +00:00
|
|
|
Logs.Export
|
2018-01-02 21:17:10 +00:00
|
|
|
Logs.File
|
2016-05-24 05:00:06 +00:00
|
|
|
Logs.FsckResults
|
|
|
|
Logs.Group
|
2016-05-27 16:15:01 +00:00
|
|
|
Logs.Line
|
2016-05-24 05:00:06 +00:00
|
|
|
Logs.Location
|
|
|
|
Logs.MapLog
|
|
|
|
Logs.MetaData
|
2018-09-05 17:20:10 +00:00
|
|
|
Logs.MetaData.Pure
|
2017-03-30 23:32:58 +00:00
|
|
|
Logs.Multicast
|
2016-05-24 05:00:06 +00:00
|
|
|
Logs.NumCopies
|
|
|
|
Logs.PreferredContent
|
|
|
|
Logs.PreferredContent.Raw
|
|
|
|
Logs.Presence
|
|
|
|
Logs.Presence.Pure
|
|
|
|
Logs.Remote
|
|
|
|
Logs.RemoteState
|
|
|
|
Logs.Schedule
|
|
|
|
Logs.SingleValue
|
2018-09-05 17:20:10 +00:00
|
|
|
Logs.SingleValue.Pure
|
2018-10-25 18:43:13 +00:00
|
|
|
Logs.Smudge
|
2016-05-24 05:00:06 +00:00
|
|
|
Logs.Transfer
|
|
|
|
Logs.Transitions
|
|
|
|
Logs.Trust
|
|
|
|
Logs.Trust.Basic
|
|
|
|
Logs.Trust.Pure
|
|
|
|
Logs.UUID
|
|
|
|
Logs.UUIDBased
|
|
|
|
Logs.Unused
|
|
|
|
Logs.View
|
|
|
|
Logs.Web
|
|
|
|
Messages
|
|
|
|
Messages.Concurrent
|
|
|
|
Messages.Internal
|
|
|
|
Messages.JSON
|
|
|
|
Messages.Progress
|
2016-11-29 21:30:27 +00:00
|
|
|
P2P.Address
|
2016-12-02 17:50:56 +00:00
|
|
|
P2P.Annex
|
2016-11-22 18:37:19 +00:00
|
|
|
P2P.Auth
|
2016-11-22 18:34:49 +00:00
|
|
|
P2P.IO
|
|
|
|
P2P.Protocol
|
2016-05-24 05:00:06 +00:00
|
|
|
Remote
|
2018-03-27 16:41:57 +00:00
|
|
|
Remote.Adb
|
2016-05-24 05:00:06 +00:00
|
|
|
Remote.BitTorrent
|
|
|
|
Remote.Bup
|
|
|
|
Remote.Ddar
|
|
|
|
Remote.Directory
|
|
|
|
Remote.Directory.LegacyChunked
|
|
|
|
Remote.External
|
|
|
|
Remote.External.Types
|
|
|
|
Remote.GCrypt
|
|
|
|
Remote.Git
|
|
|
|
Remote.Glacier
|
|
|
|
Remote.Helper.AWS
|
|
|
|
Remote.Helper.Chunked
|
|
|
|
Remote.Helper.Chunked.Legacy
|
|
|
|
Remote.Helper.Encryptable
|
2017-09-01 17:02:07 +00:00
|
|
|
Remote.Helper.Export
|
2016-05-24 05:00:06 +00:00
|
|
|
Remote.Helper.Git
|
|
|
|
Remote.Helper.Hooks
|
|
|
|
Remote.Helper.Messages
|
2018-03-08 20:11:00 +00:00
|
|
|
Remote.Helper.P2P
|
2016-05-24 05:00:06 +00:00
|
|
|
Remote.Helper.ReadOnly
|
|
|
|
Remote.Helper.Special
|
|
|
|
Remote.Helper.Ssh
|
|
|
|
Remote.Hook
|
|
|
|
Remote.List
|
2016-12-06 16:19:47 +00:00
|
|
|
Remote.P2P
|
2016-05-24 05:00:06 +00:00
|
|
|
Remote.Rsync
|
|
|
|
Remote.Rsync.RsyncUrl
|
|
|
|
Remote.Tahoe
|
|
|
|
Remote.Web
|
|
|
|
RemoteDaemon.Common
|
|
|
|
RemoteDaemon.Core
|
|
|
|
RemoteDaemon.Transport
|
|
|
|
RemoteDaemon.Transport.GCrypt
|
2016-11-20 19:45:01 +00:00
|
|
|
RemoteDaemon.Transport.Tor
|
2016-05-24 05:00:06 +00:00
|
|
|
RemoteDaemon.Transport.Ssh
|
|
|
|
RemoteDaemon.Transport.Ssh.Types
|
|
|
|
RemoteDaemon.Types
|
|
|
|
Test
|
2018-02-18 15:48:48 +00:00
|
|
|
Test.Framework
|
2016-05-24 05:00:06 +00:00
|
|
|
Types
|
2016-08-08 14:41:54 +00:00
|
|
|
Types.ActionItem
|
2018-10-19 19:17:48 +00:00
|
|
|
Types.AdjustedBranch
|
2016-05-24 05:00:06 +00:00
|
|
|
Types.Availability
|
|
|
|
Types.Backend
|
2019-01-04 17:43:53 +00:00
|
|
|
Types.Benchmark
|
2016-05-24 05:00:06 +00:00
|
|
|
Types.BranchState
|
|
|
|
Types.CleanupActions
|
|
|
|
Types.Command
|
2016-09-09 16:57:42 +00:00
|
|
|
Types.Concurrency
|
2016-05-24 05:00:06 +00:00
|
|
|
Types.Creds
|
|
|
|
Types.Crypto
|
|
|
|
Types.DeferredParse
|
|
|
|
Types.DesktopNotify
|
|
|
|
Types.Difference
|
|
|
|
Types.Distribution
|
2017-09-15 20:34:45 +00:00
|
|
|
Types.Export
|
2016-05-24 05:00:06 +00:00
|
|
|
Types.FileMatcher
|
|
|
|
Types.GitConfig
|
|
|
|
Types.Group
|
|
|
|
Types.Key
|
|
|
|
Types.KeySource
|
|
|
|
Types.LockCache
|
|
|
|
Types.Messages
|
|
|
|
Types.MetaData
|
|
|
|
Types.NumCopies
|
|
|
|
Types.RefSpec
|
|
|
|
Types.Remote
|
2018-10-25 21:23:53 +00:00
|
|
|
Types.RepoVersion
|
2016-05-24 05:00:06 +00:00
|
|
|
Types.ScheduledActivity
|
|
|
|
Types.StandardGroups
|
|
|
|
Types.StoreRetrieve
|
|
|
|
Types.Test
|
2016-08-08 14:41:54 +00:00
|
|
|
Types.Transfer
|
2016-05-24 05:00:06 +00:00
|
|
|
Types.TrustLevel
|
|
|
|
Types.UUID
|
|
|
|
Types.UrlContents
|
|
|
|
Types.View
|
|
|
|
Upgrade
|
|
|
|
Upgrade.V0
|
|
|
|
Upgrade.V1
|
|
|
|
Upgrade.V2
|
|
|
|
Upgrade.V3
|
|
|
|
Upgrade.V4
|
|
|
|
Upgrade.V5
|
2018-10-25 21:23:53 +00:00
|
|
|
Upgrade.V6
|
Fix mangling of --json output of utf-8 characters when not running in a utf-8 locale
As long as all code imports Utility.Aeson rather than Data.Aeson,
and no Strings that may contain utf-8 characters are used for eg, object
keys via T.pack, this is guaranteed to fix the problem everywhere that
git-annex generates json.
It's kind of annoying to need to wrap ToJSON with a ToJSON', especially
since every data type that has a ToJSON instance has to be ported over.
However, that only took 50 lines of code, which is worth it to ensure full
coverage. I initially tried an alternative approach of a newtype FileEncoded,
which had to be used everywhere a String was fed into aeson, and chasing
down all the sites would have been far too hard. Did consider creating an
intentionally overlapping instance ToJSON String, and letting ghc fail
to build anything that passed in a String, but am not sure that wouldn't
pollute some library that git-annex depends on that happens to use ToJSON
String internally.
This commit was supported by the NSF-funded DataLad project.
2018-04-16 19:42:45 +00:00
|
|
|
Utility.Aeson
|
2018-09-05 15:47:00 +00:00
|
|
|
Utility.Android
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.Applicative
|
2016-11-22 18:18:34 +00:00
|
|
|
Utility.AuthToken
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.Base64
|
|
|
|
Utility.Batch
|
|
|
|
Utility.Bloom
|
|
|
|
Utility.CoProcess
|
|
|
|
Utility.CopyFile
|
|
|
|
Utility.Daemon
|
|
|
|
Utility.Data
|
|
|
|
Utility.DataUnits
|
2018-11-19 19:00:24 +00:00
|
|
|
Utility.DebugLocks
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.DirWatcher
|
|
|
|
Utility.DirWatcher.Types
|
|
|
|
Utility.Directory
|
2017-12-31 20:08:31 +00:00
|
|
|
Utility.Directory.Stream
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.DiskFree
|
|
|
|
Utility.Dot
|
|
|
|
Utility.DottedVersion
|
|
|
|
Utility.Env
|
2017-12-31 20:08:31 +00:00
|
|
|
Utility.Env.Basic
|
|
|
|
Utility.Env.Set
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.Exception
|
|
|
|
Utility.FileMode
|
|
|
|
Utility.FileSize
|
|
|
|
Utility.FileSystemEncoding
|
|
|
|
Utility.Format
|
|
|
|
Utility.FreeDesktop
|
|
|
|
Utility.Glob
|
|
|
|
Utility.Gpg
|
|
|
|
Utility.Hash
|
2017-11-28 16:50:30 +00:00
|
|
|
Utility.HtmlDetect
|
2018-06-16 18:18:29 +00:00
|
|
|
Utility.HttpManagerRestricted
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.HumanNumber
|
|
|
|
Utility.HumanTime
|
|
|
|
Utility.InodeCache
|
2018-06-16 22:44:27 +00:00
|
|
|
Utility.IPAddress
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.LinuxMkLibs
|
|
|
|
Utility.LockFile
|
|
|
|
Utility.LockFile.LockStatus
|
|
|
|
Utility.LockFile.PidLock
|
|
|
|
Utility.LockPool
|
|
|
|
Utility.LockPool.LockHandle
|
|
|
|
Utility.LockPool.PidLock
|
|
|
|
Utility.LockPool.STM
|
|
|
|
Utility.LogFile
|
|
|
|
Utility.Lsof
|
2016-12-18 20:50:58 +00:00
|
|
|
Utility.MagicWormhole
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.Matcher
|
|
|
|
Utility.Metered
|
|
|
|
Utility.Misc
|
|
|
|
Utility.Monad
|
|
|
|
Utility.Network
|
|
|
|
Utility.NotificationBroadcaster
|
|
|
|
Utility.OptParse
|
|
|
|
Utility.PID
|
|
|
|
Utility.Parallel
|
|
|
|
Utility.PartialPrelude
|
|
|
|
Utility.Path
|
2017-12-31 20:08:31 +00:00
|
|
|
Utility.Path.Max
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.Percentage
|
|
|
|
Utility.Process
|
|
|
|
Utility.Process.Shim
|
2017-12-31 20:08:31 +00:00
|
|
|
Utility.Process.Transcript
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.QuickCheck
|
2019-01-14 19:19:20 +00:00
|
|
|
Utility.RawFilePath
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.Rsync
|
|
|
|
Utility.SafeCommand
|
|
|
|
Utility.Scheduled
|
|
|
|
Utility.Scheduled.QuickCheck
|
|
|
|
Utility.Shell
|
|
|
|
Utility.SimpleProtocol
|
2017-05-16 03:32:17 +00:00
|
|
|
Utility.Split
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.SshConfig
|
2017-08-18 02:11:31 +00:00
|
|
|
Utility.SshHost
|
2016-12-20 21:40:36 +00:00
|
|
|
Utility.Su
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.SystemDirectory
|
2018-10-30 03:13:36 +00:00
|
|
|
Utility.TimeStamp
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.TList
|
|
|
|
Utility.Tense
|
|
|
|
Utility.ThreadLock
|
|
|
|
Utility.ThreadScheduler
|
|
|
|
Utility.Tmp
|
2017-12-31 20:08:31 +00:00
|
|
|
Utility.Tmp.Dir
|
2016-11-14 17:26:34 +00:00
|
|
|
Utility.Tor
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.Touch
|
2017-05-16 03:32:17 +00:00
|
|
|
Utility.Tuple
|
2016-05-24 05:00:06 +00:00
|
|
|
Utility.Url
|
|
|
|
Utility.UserInfo
|
|
|
|
Utility.Verifiable
|
2017-08-18 14:53:31 +00:00
|
|
|
|
|
|
|
if (os(windows))
|
|
|
|
Other-Modules:
|
|
|
|
Utility.LockFile.Windows
|
|
|
|
Utility.LockPool.Windows
|
|
|
|
else
|
|
|
|
Other-Modules:
|
|
|
|
Utility.LockFile.Posix
|
|
|
|
Utility.LockPool.Posix
|