2011-06-30 14:55:03 -04:00
|
|
|
Name: git-annex
|
2020-03-30 13:46:24 -04:00
|
|
|
Version: 8.20200330
|
2012-04-05 16:39:50 -04:00
|
|
|
Cabal-Version: >= 1.8
|
2019-02-08 15:19:11 -04:00
|
|
|
License: AGPL-3
|
2015-01-21 12:50:09 -04:00
|
|
|
Maintainer: Joey Hess <id@joeyh.name>
|
2011-06-30 14:55:03 -04:00
|
|
|
Author: Joey Hess
|
|
|
|
Stability: Stable
|
2020-02-02 17:03:00 -04:00
|
|
|
Copyright: 2010-2020 Joey Hess
|
2012-09-24 15:20:28 -04:00
|
|
|
License-File: COPYRIGHT
|
2011-06-30 14:55:03 -04:00
|
|
|
Homepage: http://git-annex.branchable.com/
|
2013-02-28 19:18:56 -04:00
|
|
|
Build-type: Custom
|
2011-06-30 14:55:03 -04: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 19:43:15 -04:00
|
|
|
to limitations in memory, time, or disk space.
|
2011-06-30 14:55:03 -04:00
|
|
|
.
|
2014-10-03 14:12:01 -04: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 01:00:06 -04: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 17:27:38 -04:00
|
|
|
doc/git-annex-enable-tor.mdwn
|
2016-05-24 01:00:06 -04:00
|
|
|
doc/git-annex-examinekey.mdwn
|
|
|
|
doc/git-annex-expire.mdwn
|
2017-12-14 13:32:24 -04:00
|
|
|
doc/git-annex-export.mdwn
|
2016-05-24 01:00:06 -04: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 11:46:39 -04:00
|
|
|
doc/git-annex-inprogress.mdwn
|
2016-05-24 01:00:06 -04: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 19:32:58 -04:00
|
|
|
doc/git-annex-multicast.mdwn
|
2016-05-24 01:00:06 -04:00
|
|
|
doc/git-annex-numcopies.mdwn
|
2016-11-30 14:35:24 -04:00
|
|
|
doc/git-annex-p2p.mdwn
|
2016-05-24 01:00:06 -04: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
|
2019-04-15 13:05:44 -04:00
|
|
|
doc/git-annex-renameremote.mdwn
|
2016-05-24 01:00:06 -04:00
|
|
|
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 17:27:38 -04:00
|
|
|
doc/git-remote-tor-annex.mdwn
|
2016-05-24 01:00:06 -04: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 16:36:05 -04:00
|
|
|
templates/configurators/pairing/wormhole/prompt.hamlet
|
|
|
|
templates/configurators/pairing/wormhole/start.hamlet
|
2016-05-24 01:00:06 -04: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/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 16:36:05 -04:00
|
|
|
templates/configurators/addrepository/wormholepairing.hamlet
|
2016-05-24 01:00:06 -04:00
|
|
|
templates/configurators/rsync.net/add.hamlet
|
|
|
|
templates/configurators/rsync.net/encrypt.hamlet
|
|
|
|
templates/configurators/needgcrypt.hamlet
|
2016-12-24 17:08:03 -04:00
|
|
|
templates/configurators/needtor.hamlet
|
|
|
|
templates/configurators/needmagicwormhole.hamlet
|
2016-05-24 01:00:06 -04: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 14:55:03 -04:00
|
|
|
|
2012-04-14 14:22:33 -04:00
|
|
|
Flag S3
|
|
|
|
Description: Enable S3 support
|
|
|
|
|
2012-11-14 20:25:00 -04:00
|
|
|
Flag WebDAV
|
|
|
|
Description: Enable WebDAV support
|
|
|
|
|
2012-06-26 09:15:47 -04:00
|
|
|
Flag Assistant
|
|
|
|
Description: Enable git-annex assistant and watch command
|
|
|
|
|
2012-07-25 21:26:13 -04:00
|
|
|
Flag Webapp
|
|
|
|
Description: Enable git-annex webapp
|
|
|
|
|
2012-09-07 19:44:20 -04:00
|
|
|
Flag Pairing
|
|
|
|
Description: Enable pairing
|
2012-09-07 14:54:00 -04:00
|
|
|
|
2013-02-27 01:41:01 -04:00
|
|
|
Flag Production
|
2013-02-27 02:30:26 -04:00
|
|
|
Description: Enable production build (slower build; faster binary)
|
|
|
|
|
2014-12-18 14:22:43 -04:00
|
|
|
Flag TorrentParser
|
|
|
|
Description: Use haskell torrent library to parse torrent files
|
|
|
|
|
2016-02-03 16:29:34 -04:00
|
|
|
Flag MagicMime
|
|
|
|
Description: Use libmagic to determine file MIME types
|
|
|
|
|
2016-01-12 13:01:44 -04:00
|
|
|
Flag Benchmark
|
|
|
|
Description: Enable benchmarking
|
|
|
|
Default: False
|
|
|
|
|
2018-11-19 15:00:24 -04:00
|
|
|
Flag DebugLocks
|
|
|
|
Description: Debug location of MVar/STM deadlocks
|
|
|
|
Default: False
|
|
|
|
|
2016-02-05 18:00:20 -04:00
|
|
|
Flag Dbus
|
|
|
|
Description: Enable dbus support
|
|
|
|
|
2019-02-08 13:32:20 -04:00
|
|
|
Flag NetworkBSD
|
|
|
|
Description: Build with network-3.0 which split out network-bsd
|
|
|
|
Default: True
|
|
|
|
|
2016-05-24 01:00:06 -04:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://git-annex.branchable.com/
|
|
|
|
|
2017-12-31 16:08:31 -04:00
|
|
|
custom-setup
|
2019-07-05 15:09:37 -04:00
|
|
|
Setup-Depends: base (>= 4.11.1.0), hslogger, split, unix-compat, process,
|
2017-12-31 16:08:31 -04:00
|
|
|
filepath, exceptions, bytestring, directory, IfElse, data-default,
|
2020-01-04 20:18:40 -04:00
|
|
|
filepath-bytestring (>= 1.4.2.1.1),
|
2018-07-01 13:08:40 -04:00
|
|
|
utf8-string, transformers, Cabal
|
2017-12-31 16:08:31 -04:00
|
|
|
|
2011-06-30 14:55:03 -04:00
|
|
|
Executable git-annex
|
|
|
|
Main-Is: git-annex.hs
|
2015-05-10 17:03:20 -04:00
|
|
|
Build-Depends:
|
2019-07-05 15:09:37 -04:00
|
|
|
base (>= 4.11.1.0 && < 5.0),
|
2018-07-01 13:07:24 -04:00
|
|
|
network-uri (>= 2.6),
|
2019-07-05 15:09:37 -04:00
|
|
|
optparse-applicative (>= 0.14.1),
|
2019-10-10 15:46:12 -04:00
|
|
|
containers (>= 0.5.8),
|
2015-05-10 17:03:20 -04:00
|
|
|
exceptions (>= 0.6),
|
|
|
|
stm (>= 2.3),
|
|
|
|
mtl (>= 2),
|
2016-07-27 07:38:11 -04:00
|
|
|
uuid (>= 1.2.6),
|
2019-07-05 15:09:37 -04:00
|
|
|
process (>= 1.4.2),
|
2016-09-05 19:42:41 -04:00
|
|
|
data-default,
|
|
|
|
case-insensitive,
|
|
|
|
random,
|
|
|
|
dlist,
|
2020-01-02 12:18:38 -04:00
|
|
|
unix-compat (>= 0.5),
|
2016-09-05 19:42:41 -04:00
|
|
|
SafeSemaphore,
|
|
|
|
async,
|
2017-03-10 15:57:41 -04:00
|
|
|
directory (>= 1.2),
|
2018-10-13 01:36:06 -04:00
|
|
|
disk-free-space,
|
2016-09-05 19:42:41 -04:00
|
|
|
filepath,
|
2020-01-04 20:18:40 -04:00
|
|
|
filepath-bytestring (>= 1.4.2.1.1),
|
2016-09-05 19:42:41 -04:00
|
|
|
IfElse,
|
|
|
|
hslogger,
|
|
|
|
monad-logger,
|
2016-11-17 17:19:04 -04:00
|
|
|
free,
|
2016-09-05 19:42:41 -04:00
|
|
|
utf8-string,
|
|
|
|
bytestring,
|
|
|
|
text,
|
|
|
|
sandi,
|
|
|
|
monad-control,
|
|
|
|
transformers,
|
2019-07-05 15:09:37 -04:00
|
|
|
bloomfilter (>= 2.0.0),
|
2016-09-05 19:42:41 -04:00
|
|
|
edit-distance,
|
|
|
|
resourcet,
|
2018-06-19 19:41:30 -04:00
|
|
|
connection (>= 0.2.6),
|
2019-07-05 15:09:37 -04:00
|
|
|
http-client (>= 0.5.0),
|
2018-06-16 14:18:29 -04:00
|
|
|
http-client-tls,
|
2017-03-10 15:57:41 -04:00
|
|
|
http-types (>= 0.7),
|
2019-07-05 15:09:37 -04:00
|
|
|
http-conduit (>= 2.3.0),
|
2018-04-06 15:58:16 -04:00
|
|
|
conduit,
|
2019-07-05 15:09:37 -04:00
|
|
|
time (>= 1.5.0),
|
2016-09-05 19:42:41 -04:00
|
|
|
old-locale,
|
2019-07-05 15:09:37 -04:00
|
|
|
persistent-sqlite (>= 2.8.1),
|
|
|
|
persistent (>= 2.8.1),
|
2016-09-05 19:42:41 -04:00
|
|
|
persistent-template,
|
2019-09-26 12:24:03 -04:00
|
|
|
unliftio-core,
|
2018-10-30 13:47:38 -04:00
|
|
|
microlens,
|
2016-01-26 08:14:57 -04:00
|
|
|
aeson,
|
2018-02-19 15:28:38 -04:00
|
|
|
vector,
|
2017-11-28 12:50:30 -04:00
|
|
|
tagsoup,
|
2016-07-26 14:53:00 -04:00
|
|
|
unordered-containers,
|
2019-07-05 15:09:37 -04:00
|
|
|
feed (>= 1.0.0),
|
2016-11-21 17:27:38 -04:00
|
|
|
regex-tdfa,
|
2016-11-22 14:18:34 -04:00
|
|
|
socks,
|
2016-12-08 16:31:08 -04:00
|
|
|
byteable,
|
2016-12-09 14:52:38 -04:00
|
|
|
stm-chans,
|
2017-02-20 12:21:35 -04:00
|
|
|
securemem,
|
2017-02-24 20:56:26 -04:00
|
|
|
crypto-api,
|
2019-07-05 15:09:37 -04:00
|
|
|
cryptonite (>= 0.23),
|
2017-05-15 23:32:17 -04:00
|
|
|
memory,
|
2019-06-25 13:10:06 -04:00
|
|
|
deepseq,
|
2017-12-20 12:25:03 -04:00
|
|
|
split,
|
2018-08-10 13:38:29 -04:00
|
|
|
attoparsec,
|
2019-07-05 15:09:37 -04:00
|
|
|
concurrent-output (>= 1.10),
|
|
|
|
QuickCheck (>= 2.10.0),
|
2017-12-20 12:25:03 -04:00
|
|
|
tasty (>= 0.7),
|
|
|
|
tasty-hunit,
|
|
|
|
tasty-quickcheck,
|
|
|
|
tasty-rerun
|
2015-06-06 12:09:45 -04:00
|
|
|
CC-Options: -Wall
|
2020-04-13 15:56:10 -04:00
|
|
|
GHC-Options: -Wall -fno-warn-tabs -Wincomplete-uni-patterns
|
2017-11-15 16:55:38 -04:00
|
|
|
Extensions: PackageImports, LambdaCase
|
2013-07-25 13:57:53 -04:00
|
|
|
-- Some things don't work with the non-threaded RTS.
|
|
|
|
GHC-Options: -threaded
|
2017-05-15 16:50:03 -04:00
|
|
|
Other-Extensions: TemplateHaskell
|
2013-02-27 01:41:01 -04:00
|
|
|
|
2016-01-26 08:14:57 -04:00
|
|
|
-- Fully optimize for production.
|
|
|
|
if flag(Production)
|
2018-03-04 19:48:07 -04:00
|
|
|
-- Lower memory systems can run out of memory with -O2, so
|
|
|
|
-- optimise slightly less.
|
|
|
|
if arch(arm)
|
2018-10-30 00:49:59 -04:00
|
|
|
GHC-Options: -O2 -optlo-O2
|
2018-03-04 19:48:07 -04:00
|
|
|
else
|
|
|
|
GHC-Options: -O2
|
2016-01-26 08:14:57 -04:00
|
|
|
|
2015-07-07 13:19:13 -04:00
|
|
|
-- Avoid linking with unused dynamic libaries.
|
|
|
|
-- (Only tested on Linux).
|
|
|
|
if os(Linux)
|
|
|
|
GHC-Options: -optl-Wl,--as-needed
|
|
|
|
|
2013-12-10 01:18:04 -04:00
|
|
|
if (os(windows))
|
2017-11-13 12:36:07 -04:00
|
|
|
Build-Depends:
|
|
|
|
Win32 (>= 2.6.1.0),
|
|
|
|
setenv,
|
2019-08-07 17:42:16 -04:00
|
|
|
process (>= 1.6.2.0),
|
2019-08-08 11:58:38 -04:00
|
|
|
silently (>= 1.2.5.1)
|
2013-12-10 01:18:04 -04:00
|
|
|
else
|
2018-10-29 22:22:36 -04:00
|
|
|
Build-Depends: unix (>= 2.7.2)
|
2013-05-10 15:08:53 -05:00
|
|
|
|
2019-02-08 13:32:20 -04:00
|
|
|
if flag(NetworkBSD)
|
|
|
|
Build-Depends: network-bsd, network (>= 3.0.0.0)
|
|
|
|
else
|
|
|
|
Build-Depends: network (< 3.0.0.0), network (>= 2.6.3.0)
|
|
|
|
|
2012-04-14 14:22:33 -04:00
|
|
|
if flag(S3)
|
2019-07-05 15:09:37 -04:00
|
|
|
Build-Depends: aws (>= 0.20)
|
2012-04-14 14:22:33 -04:00
|
|
|
CPP-Options: -DWITH_S3
|
2017-09-29 20:56:14 -04:00
|
|
|
Other-Modules: Remote.S3
|
2011-06-30 14:55:03 -04:00
|
|
|
|
2013-12-05 19:15:23 -04:00
|
|
|
if flag(WebDAV)
|
2015-11-06 12:54:23 -04:00
|
|
|
Build-Depends: DAV (>= 1.0)
|
2012-11-18 13:28:18 -04:00
|
|
|
CPP-Options: -DWITH_WEBDAV
|
2018-01-24 20:40:50 -04:00
|
|
|
Other-Modules:
|
|
|
|
Remote.WebDAV
|
|
|
|
Remote.WebDAV.DavLocation
|
2018-09-04 17:41:45 +03:00
|
|
|
if flag(S3) || flag(WebDAV)
|
|
|
|
Other-Modules:
|
|
|
|
Remote.Helper.Http
|
2013-02-22 16:08:34 +01:00
|
|
|
|
2018-09-05 11:47:00 -04:00
|
|
|
if flag(Assistant) && ! os(solaris) && ! os(gnu)
|
2018-09-04 17:41:45 +03:00
|
|
|
Build-Depends: mountpoints
|
2012-06-26 09:15:47 -04:00
|
|
|
CPP-Options: -DWITH_ASSISTANT
|
2018-09-04 17:41:45 +03: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 11:55:08 -04:00
|
|
|
Utility.OSX
|
2012-06-26 09:15:47 -04:00
|
|
|
|
2018-10-13 01:36:06 -04:00
|
|
|
if os(linux)
|
2019-07-05 15:09:37 -04:00
|
|
|
Build-Depends: hinotify (>= 0.3.10)
|
2013-07-16 11:29:43 -04:00
|
|
|
CPP-Options: -DWITH_INOTIFY
|
2017-08-18 10:53:31 -04:00
|
|
|
Other-Modules: Utility.DirWatcher.INotify
|
2012-12-27 14:19:12 -05:00
|
|
|
else
|
2013-07-12 15:36:59 -04:00
|
|
|
if os(darwin)
|
|
|
|
Build-Depends: hfsevents
|
|
|
|
CPP-Options: -DWITH_FSEVENTS
|
2018-09-04 17:41:45 +03:00
|
|
|
Other-Modules:
|
|
|
|
Utility.DirWatcher.FSEvents
|
2013-07-12 15:36:59 -04:00
|
|
|
else
|
2013-11-12 14:54:02 -04:00
|
|
|
if os(windows)
|
|
|
|
Build-Depends: Win32-notify
|
|
|
|
CPP-Options: -DWITH_WIN32NOTIFY
|
2017-08-18 10:53:31 -04:00
|
|
|
Other-Modules: Utility.DirWatcher.Win32Notify
|
2013-11-12 14:54:02 -04:00
|
|
|
else
|
2018-02-18 11:09:16 -04:00
|
|
|
if (! os(solaris) && ! os(gnu) && ! os(linux))
|
2017-08-18 10:53:31 -04:00
|
|
|
CPP-Options: -DWITH_KQUEUE
|
|
|
|
C-Sources: Utility/libkqueue.c
|
2017-10-24 12:54:33 -04:00
|
|
|
Includes: Utility/libkqueue.h
|
2017-08-18 10:53:31 -04:00
|
|
|
Other-Modules: Utility.DirWatcher.Kqueue
|
2013-07-12 15:36:59 -04:00
|
|
|
|
2016-02-05 18:00:20 -04: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 10:53:31 -04:00
|
|
|
Other-Modules: Utility.DBus
|
2014-03-22 10:42:38 -04:00
|
|
|
|
2013-12-06 15:04:19 -04:00
|
|
|
if flag(Webapp)
|
2013-05-23 11:02:25 -04:00
|
|
|
Build-Depends:
|
2018-10-13 01:36:06 -04:00
|
|
|
yesod (>= 1.4.3),
|
|
|
|
yesod-static (>= 1.5.1),
|
|
|
|
yesod-form (>= 1.4.8),
|
2019-07-05 15:09:37 -04:00
|
|
|
yesod-core (>= 1.6.0),
|
2018-10-13 01:36:06 -04:00
|
|
|
path-pieces (>= 0.2.1),
|
|
|
|
warp (>= 3.2.8),
|
|
|
|
warp-tls (>= 3.2.2),
|
2016-09-05 19:42:41 -04:00
|
|
|
wai,
|
|
|
|
wai-extra,
|
|
|
|
blaze-builder,
|
|
|
|
clientsession,
|
2016-01-26 08:14:57 -04:00
|
|
|
template-haskell,
|
2018-10-13 01:36:06 -04:00
|
|
|
shakespeare (>= 2.0.11)
|
2012-07-25 21:26:13 -04:00
|
|
|
CPP-Options: -DWITH_WEBAPP
|
2018-01-24 20:40:50 -04: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
|
2019-08-26 12:32:45 -04:00
|
|
|
Assistant.MakeRepo
|
2018-01-24 20:40:50 -04:00
|
|
|
Utility.Yesod
|
|
|
|
Utility.WebApp
|
2015-05-10 17:03:20 -04:00
|
|
|
|
2013-07-16 11:29:43 -04:00
|
|
|
if flag(Pairing)
|
2012-09-07 19:44:20 -04:00
|
|
|
Build-Depends: network-multicast, network-info
|
|
|
|
CPP-Options: -DWITH_PAIRING
|
2012-09-07 14:54:00 -04:00
|
|
|
|
2014-12-18 14:22:43 -04:00
|
|
|
if flag(TorrentParser)
|
|
|
|
Build-Depends: torrent (>= 10000.0.0)
|
|
|
|
CPP-Options: -DWITH_TORRENTPARSER
|
|
|
|
|
2016-02-03 16:29:34 -04:00
|
|
|
if flag(MagicMime)
|
2016-02-15 15:05:31 -04:00
|
|
|
if (! os(windows))
|
|
|
|
Build-Depends: magic
|
|
|
|
CPP-Options: -DWITH_MAGICMIME
|
2016-02-03 16:29:34 -04:00
|
|
|
|
2016-01-12 13:01:44 -04:00
|
|
|
if flag(Benchmark)
|
2019-06-25 13:10:06 -04:00
|
|
|
Build-Depends: criterion
|
2016-01-12 13:01:44 -04:00
|
|
|
CPP-Options: -DWITH_BENCHMARK
|
2018-11-19 15:00:24 -04:00
|
|
|
|
|
|
|
if flag(DebugLocks)
|
|
|
|
CPP-Options: -DDEBUGLOCKS
|
2013-07-28 15:27:36 -04:00
|
|
|
|
2016-05-24 01:00:06 -04:00
|
|
|
Other-Modules:
|
|
|
|
Annex
|
|
|
|
Annex.Action
|
|
|
|
Annex.AdjustedBranch
|
2018-10-19 15:17:48 -04:00
|
|
|
Annex.AdjustedBranch.Name
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.AutoMerge
|
|
|
|
Annex.BloomFilter
|
|
|
|
Annex.Branch
|
|
|
|
Annex.Branch.Transitions
|
|
|
|
Annex.BranchState
|
|
|
|
Annex.CatFile
|
2016-12-09 14:52:38 -04:00
|
|
|
Annex.ChangedRefs
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.CheckAttr
|
|
|
|
Annex.CheckIgnore
|
|
|
|
Annex.Common
|
|
|
|
Annex.Concurrent
|
2020-04-21 11:20:10 -04:00
|
|
|
Annex.Concurrent.Utility
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.Content
|
2018-08-22 14:41:09 -04:00
|
|
|
Annex.Content.LowLevel
|
|
|
|
Annex.Content.PointerFile
|
2018-10-19 15:17:48 -04:00
|
|
|
Annex.CurrentBranch
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.Difference
|
|
|
|
Annex.DirHashes
|
|
|
|
Annex.Drop
|
|
|
|
Annex.Environment
|
2017-09-18 13:57:25 -04:00
|
|
|
Annex.Export
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.FileMatcher
|
|
|
|
Annex.Fixup
|
|
|
|
Annex.GitOverlay
|
|
|
|
Annex.HashObject
|
|
|
|
Annex.Hook
|
2019-02-21 17:32:59 -04:00
|
|
|
Annex.Import
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.Ingest
|
|
|
|
Annex.Init
|
|
|
|
Annex.InodeSentinal
|
|
|
|
Annex.Journal
|
|
|
|
Annex.Link
|
|
|
|
Annex.Locations
|
|
|
|
Annex.LockFile
|
|
|
|
Annex.LockPool
|
2019-01-23 12:39:02 -04:00
|
|
|
Annex.Magic
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.MetaData
|
|
|
|
Annex.MetaData.StandardFields
|
2017-03-30 19:32:58 -04:00
|
|
|
Annex.Multicast
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.Notification
|
|
|
|
Annex.NumCopies
|
|
|
|
Annex.Path
|
|
|
|
Annex.Perms
|
|
|
|
Annex.Queue
|
|
|
|
Annex.ReplaceFile
|
2019-03-01 14:44:22 -04:00
|
|
|
Annex.RemoteTrackingBranch
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.SpecialRemote
|
2019-10-10 12:48:26 -04:00
|
|
|
Annex.SpecialRemote.Config
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.Ssh
|
|
|
|
Annex.TaggedPush
|
2019-01-17 15:40:44 -04:00
|
|
|
Annex.Tmp
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.Transfer
|
2017-02-17 15:21:39 -04:00
|
|
|
Annex.UpdateInstead
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.UUID
|
|
|
|
Annex.Url
|
2017-08-14 13:55:38 -04:00
|
|
|
Annex.VectorClock
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.VariantFile
|
|
|
|
Annex.Version
|
|
|
|
Annex.View
|
|
|
|
Annex.View.ViewedFile
|
|
|
|
Annex.Wanted
|
2020-04-17 14:36:45 -04:00
|
|
|
Annex.WorkerPool
|
2016-05-24 01:00:06 -04:00
|
|
|
Annex.WorkTree
|
2017-11-29 15:49:05 -04:00
|
|
|
Annex.YoutubeDl
|
2016-05-24 01:00:06 -04:00
|
|
|
Backend
|
|
|
|
Backend.Hash
|
|
|
|
Backend.URL
|
|
|
|
Backend.Utilities
|
|
|
|
Backend.WORM
|
2019-01-04 13:43:53 -04:00
|
|
|
Benchmark
|
2016-05-24 01:00:06 -04:00
|
|
|
Build.BundledPrograms
|
|
|
|
Build.Configure
|
2018-09-05 11:47:00 -04:00
|
|
|
Build.DesktopFile
|
2016-05-31 13:58:13 -04:00
|
|
|
Build.Mans
|
2016-05-24 01:00:06 -04:00
|
|
|
Build.TestConfig
|
|
|
|
Build.Version
|
2017-04-07 18:03:09 -04:00
|
|
|
BuildInfo
|
2018-01-02 13:47:51 -04:00
|
|
|
BuildFlags
|
2016-05-24 01:00:06 -04: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 17:27:38 -04:00
|
|
|
CmdLine.GitRemoteTorAnnex
|
2016-05-24 01:00:06 -04:00
|
|
|
CmdLine.Seek
|
|
|
|
CmdLine.Usage
|
|
|
|
Command
|
|
|
|
Command.Add
|
|
|
|
Command.AddUnused
|
|
|
|
Command.AddUrl
|
|
|
|
Command.Adjust
|
2019-01-05 08:09:28 -04:00
|
|
|
Command.Benchmark
|
2016-05-24 01:00:06 -04:00
|
|
|
Command.CalcKey
|
|
|
|
Command.CheckPresentKey
|
|
|
|
Command.Commit
|
2017-01-31 17:27:44 -04:00
|
|
|
Command.Config
|
2016-05-24 01:00:06 -04: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 14:35:24 -04:00
|
|
|
Command.EnableTor
|
2016-05-24 01:00:06 -04:00
|
|
|
Command.ExamineKey
|
|
|
|
Command.Expire
|
2017-09-13 14:21:08 -04:00
|
|
|
Command.Export
|
2016-05-24 01:00:06 -04: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 11:46:39 -04:00
|
|
|
Command.Inprogress
|
2016-05-24 01:00:06 -04: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 19:32:58 -04:00
|
|
|
Command.Multicast
|
2016-05-24 01:00:06 -04:00
|
|
|
Command.NotifyChanges
|
|
|
|
Command.NumCopies
|
2016-11-30 14:35:24 -04:00
|
|
|
Command.P2P
|
2018-03-07 15:15:23 -04:00
|
|
|
Command.P2PStdIO
|
2017-02-17 14:04:43 -04:00
|
|
|
Command.PostReceive
|
2016-05-24 01:00:06 -04:00
|
|
|
Command.PreCommit
|
|
|
|
Command.Proxy
|
|
|
|
Command.ReKey
|
|
|
|
Command.ReadPresentKey
|
|
|
|
Command.RecvKey
|
|
|
|
Command.RegisterUrl
|
|
|
|
Command.Reinit
|
|
|
|
Command.Reinject
|
|
|
|
Command.RemoteDaemon
|
2019-04-15 13:05:44 -04:00
|
|
|
Command.RenameRemote
|
2016-05-24 01:00:06 -04:00
|
|
|
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 12:26:14 -04:00
|
|
|
Config.DynamicConfig
|
2017-02-03 13:40:14 -04:00
|
|
|
Config.GitConfig
|
2018-08-28 10:26:51 -04:00
|
|
|
Config.Smudge
|
2016-05-24 01:00:06 -04:00
|
|
|
Creds
|
|
|
|
Crypto
|
2019-10-29 15:16:15 -04:00
|
|
|
Database.Benchmark
|
2019-02-20 16:59:10 -04:00
|
|
|
Database.ContentIdentifier
|
2017-09-04 13:52:22 -04:00
|
|
|
Database.Export
|
2016-05-24 01:00:06 -04:00
|
|
|
Database.Fsck
|
|
|
|
Database.Handle
|
2017-02-13 17:30:28 -04:00
|
|
|
Database.Init
|
2016-05-24 01:00:06 -04: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 14:04:43 -04:00
|
|
|
Git.ConfigTypes
|
2016-05-24 01:00:06 -04:00
|
|
|
Git.Construct
|
2019-09-24 12:32:54 -04:00
|
|
|
Git.Credential
|
2016-05-24 01:00:06 -04:00
|
|
|
Git.CurrentRepo
|
|
|
|
Git.DiffTree
|
|
|
|
Git.DiffTreeItem
|
|
|
|
Git.Env
|
|
|
|
Git.FileMode
|
|
|
|
Git.FilePath
|
|
|
|
Git.Filename
|
|
|
|
Git.Fsck
|
|
|
|
Git.GCrypt
|
|
|
|
Git.HashObject
|
2019-04-24 14:55:49 -04:00
|
|
|
Git.History
|
2016-05-24 01:00:06 -04:00
|
|
|
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 16:02:47 -04:00
|
|
|
Git.Ssh
|
2016-05-24 01:00:06 -04:00
|
|
|
Git.Status
|
|
|
|
Git.Tree
|
|
|
|
Git.Types
|
|
|
|
Git.UnionMerge
|
|
|
|
Git.UpdateIndex
|
|
|
|
Git.Url
|
|
|
|
Git.Version
|
2017-02-24 13:42:30 -04:00
|
|
|
Key
|
2016-05-24 01:00:06 -04:00
|
|
|
Limit
|
|
|
|
Limit.Wanted
|
|
|
|
Logs
|
|
|
|
Logs.Activity
|
|
|
|
Logs.Chunk
|
|
|
|
Logs.Chunk.Pure
|
2017-01-31 17:27:44 -04:00
|
|
|
Logs.Config
|
2019-02-20 17:22:56 -04:00
|
|
|
Logs.ContentIdentifier
|
2019-02-20 15:36:09 -04:00
|
|
|
Logs.ContentIdentifier.Pure
|
2016-05-24 01:00:06 -04:00
|
|
|
Logs.Difference
|
|
|
|
Logs.Difference.Pure
|
2017-08-31 15:41:48 -04:00
|
|
|
Logs.Export
|
2018-01-02 17:17:10 -04:00
|
|
|
Logs.File
|
2016-05-24 01:00:06 -04:00
|
|
|
Logs.FsckResults
|
|
|
|
Logs.Group
|
2016-05-27 12:15:01 -04:00
|
|
|
Logs.Line
|
2016-05-24 01:00:06 -04:00
|
|
|
Logs.Location
|
|
|
|
Logs.MapLog
|
|
|
|
Logs.MetaData
|
2018-09-05 13:20:10 -04:00
|
|
|
Logs.MetaData.Pure
|
2017-03-30 19:32:58 -04:00
|
|
|
Logs.Multicast
|
2016-05-24 01:00:06 -04:00
|
|
|
Logs.NumCopies
|
|
|
|
Logs.PreferredContent
|
|
|
|
Logs.PreferredContent.Raw
|
|
|
|
Logs.Presence
|
|
|
|
Logs.Presence.Pure
|
|
|
|
Logs.Remote
|
2019-10-14 15:38:07 -04:00
|
|
|
Logs.Remote.Pure
|
2016-05-24 01:00:06 -04:00
|
|
|
Logs.RemoteState
|
|
|
|
Logs.Schedule
|
|
|
|
Logs.SingleValue
|
2018-09-05 13:20:10 -04:00
|
|
|
Logs.SingleValue.Pure
|
2018-10-25 14:43:13 -04:00
|
|
|
Logs.Smudge
|
2016-05-24 01:00:06 -04: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 17:30:27 -04:00
|
|
|
P2P.Address
|
2016-12-02 13:50:56 -04:00
|
|
|
P2P.Annex
|
2016-11-22 14:37:19 -04:00
|
|
|
P2P.Auth
|
2016-11-22 14:34:49 -04:00
|
|
|
P2P.IO
|
|
|
|
P2P.Protocol
|
2016-05-24 01:00:06 -04:00
|
|
|
Remote
|
2018-03-27 12:41:57 -04:00
|
|
|
Remote.Adb
|
2016-05-24 01:00:06 -04:00
|
|
|
Remote.BitTorrent
|
|
|
|
Remote.Bup
|
|
|
|
Remote.Ddar
|
|
|
|
Remote.Directory
|
|
|
|
Remote.Directory.LegacyChunked
|
|
|
|
Remote.External
|
|
|
|
Remote.External.Types
|
|
|
|
Remote.GCrypt
|
|
|
|
Remote.Git
|
2019-08-01 15:11:45 -04:00
|
|
|
Remote.GitLFS
|
2016-05-24 01:00:06 -04:00
|
|
|
Remote.Glacier
|
|
|
|
Remote.Helper.AWS
|
|
|
|
Remote.Helper.Chunked
|
|
|
|
Remote.Helper.Chunked.Legacy
|
|
|
|
Remote.Helper.Encryptable
|
2019-02-20 15:55:01 -04:00
|
|
|
Remote.Helper.ExportImport
|
2016-05-24 01:00:06 -04:00
|
|
|
Remote.Helper.Git
|
|
|
|
Remote.Helper.Hooks
|
|
|
|
Remote.Helper.Messages
|
2018-03-08 16:11:00 -04:00
|
|
|
Remote.Helper.P2P
|
2016-05-24 01:00:06 -04:00
|
|
|
Remote.Helper.ReadOnly
|
|
|
|
Remote.Helper.Special
|
|
|
|
Remote.Helper.Ssh
|
|
|
|
Remote.Hook
|
|
|
|
Remote.List
|
2016-12-06 12:19:47 -04:00
|
|
|
Remote.P2P
|
2016-05-24 01:00:06 -04:00
|
|
|
Remote.Rsync
|
|
|
|
Remote.Rsync.RsyncUrl
|
|
|
|
Remote.Tahoe
|
|
|
|
Remote.Web
|
|
|
|
RemoteDaemon.Common
|
|
|
|
RemoteDaemon.Core
|
|
|
|
RemoteDaemon.Transport
|
|
|
|
RemoteDaemon.Transport.GCrypt
|
2016-11-20 15:45:01 -04:00
|
|
|
RemoteDaemon.Transport.Tor
|
2016-05-24 01:00:06 -04:00
|
|
|
RemoteDaemon.Transport.Ssh
|
|
|
|
RemoteDaemon.Transport.Ssh.Types
|
|
|
|
RemoteDaemon.Types
|
|
|
|
Test
|
2018-02-18 11:48:48 -04:00
|
|
|
Test.Framework
|
2016-05-24 01:00:06 -04:00
|
|
|
Types
|
2016-08-08 10:41:54 -04:00
|
|
|
Types.ActionItem
|
2018-10-19 15:17:48 -04:00
|
|
|
Types.AdjustedBranch
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.Availability
|
|
|
|
Types.Backend
|
2019-01-04 13:43:53 -04:00
|
|
|
Types.Benchmark
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.BranchState
|
2020-04-20 13:53:27 -04:00
|
|
|
Types.CatFileHandles
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.CleanupActions
|
|
|
|
Types.Command
|
2016-09-09 12:57:42 -04:00
|
|
|
Types.Concurrency
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.Creds
|
|
|
|
Types.Crypto
|
|
|
|
Types.DeferredParse
|
|
|
|
Types.DesktopNotify
|
|
|
|
Types.Difference
|
|
|
|
Types.Distribution
|
2017-09-15 16:34:45 -04:00
|
|
|
Types.Export
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.FileMatcher
|
|
|
|
Types.GitConfig
|
|
|
|
Types.Group
|
2019-02-21 13:38:27 -04:00
|
|
|
Types.Import
|
2020-04-10 13:37:04 -04:00
|
|
|
Types.IndexFiles
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.Key
|
|
|
|
Types.KeySource
|
|
|
|
Types.LockCache
|
|
|
|
Types.Messages
|
|
|
|
Types.MetaData
|
2019-04-30 11:58:06 -04:00
|
|
|
Types.Mime
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.NumCopies
|
2020-01-10 14:10:20 -04:00
|
|
|
Types.ProposedAccepted
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.RefSpec
|
|
|
|
Types.Remote
|
2020-01-13 12:35:39 -04:00
|
|
|
Types.RemoteConfig
|
add RemoteStateHandle
This solves the problem of sameas remotes trampling over per-remote
state. Used for:
* per-remote state, of course
* per-remote metadata, also of course
* per-remote content identifiers, because two remote implementations
could in theory generate the same content identifier for two different
peices of content
While chunk logs are per-remote data, they don't use this, because the
number and size of chunks stored is a common property across sameas
remotes.
External special remote had a complication, where it was theoretically
possible for a remote to send SETSTATE or GETSTATE during INITREMOTE or
EXPORTSUPPORTED. Since the uuid of the remote is typically generate in
Remote.setup, it would only be possible to pass a Maybe
RemoteStateHandle into it, and it would otherwise have to construct its
own. Rather than go that route, I decided to send an ERROR in this case.
It seems unlikely that any existing external special remote will be
affected. They would have to make up a git-annex key, and set state for
some reason during INITREMOTE. I can imagine such a hack, but it doesn't
seem worth complicating the code in such an ugly way to support it.
Unfortunately, both TestRemote and Annex.Import needed the Remote
to have a new field added that holds its RemoteStateHandle.
2019-10-14 12:33:27 -04:00
|
|
|
Types.RemoteState
|
2018-10-25 17:23:53 -04:00
|
|
|
Types.RepoVersion
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.ScheduledActivity
|
|
|
|
Types.StandardGroups
|
|
|
|
Types.StoreRetrieve
|
|
|
|
Types.Test
|
2016-08-08 10:41:54 -04:00
|
|
|
Types.Transfer
|
2016-05-24 01:00:06 -04:00
|
|
|
Types.TrustLevel
|
|
|
|
Types.UUID
|
|
|
|
Types.UrlContents
|
|
|
|
Types.View
|
2019-06-05 13:03:05 -04:00
|
|
|
Types.WorkerPool
|
2016-05-24 01:00:06 -04:00
|
|
|
Upgrade
|
|
|
|
Upgrade.V0
|
|
|
|
Upgrade.V1
|
|
|
|
Upgrade.V2
|
|
|
|
Upgrade.V3
|
|
|
|
Upgrade.V4
|
|
|
|
Upgrade.V5
|
2019-08-27 14:01:28 -04:00
|
|
|
Upgrade.V5.Direct
|
2018-10-25 17:23:53 -04:00
|
|
|
Upgrade.V6
|
2019-11-06 15:37:18 -04:00
|
|
|
Upgrade.V7
|
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 15:42:45 -04:00
|
|
|
Utility.Aeson
|
2018-09-05 11:47:00 -04:00
|
|
|
Utility.Android
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Applicative
|
2019-12-06 13:58:28 -04:00
|
|
|
Utility.Attoparsec
|
2016-11-22 14:18:34 -04:00
|
|
|
Utility.AuthToken
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Base64
|
|
|
|
Utility.Batch
|
|
|
|
Utility.Bloom
|
|
|
|
Utility.CoProcess
|
|
|
|
Utility.CopyFile
|
|
|
|
Utility.Daemon
|
|
|
|
Utility.Data
|
|
|
|
Utility.DataUnits
|
2018-11-19 15:00:24 -04:00
|
|
|
Utility.DebugLocks
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.DirWatcher
|
|
|
|
Utility.DirWatcher.Types
|
|
|
|
Utility.Directory
|
2017-12-31 16:08:31 -04:00
|
|
|
Utility.Directory.Stream
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.DiskFree
|
|
|
|
Utility.Dot
|
|
|
|
Utility.DottedVersion
|
|
|
|
Utility.Env
|
2017-12-31 16:08:31 -04:00
|
|
|
Utility.Env.Basic
|
|
|
|
Utility.Env.Set
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Exception
|
|
|
|
Utility.FileMode
|
|
|
|
Utility.FileSize
|
|
|
|
Utility.FileSystemEncoding
|
|
|
|
Utility.Format
|
|
|
|
Utility.FreeDesktop
|
2019-08-01 15:11:45 -04:00
|
|
|
Utility.GitLFS
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Glob
|
|
|
|
Utility.Gpg
|
|
|
|
Utility.Hash
|
2017-11-28 12:50:30 -04:00
|
|
|
Utility.HtmlDetect
|
2018-06-16 14:18:29 -04:00
|
|
|
Utility.HttpManagerRestricted
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.HumanNumber
|
|
|
|
Utility.HumanTime
|
|
|
|
Utility.InodeCache
|
2018-06-16 18:44:27 -04:00
|
|
|
Utility.IPAddress
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.LockFile
|
|
|
|
Utility.LockPool
|
|
|
|
Utility.LockPool.LockHandle
|
2019-07-22 09:25:08 -04:00
|
|
|
Utility.LockPool.STM
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.LogFile
|
|
|
|
Utility.Lsof
|
2016-12-18 16:50:58 -04:00
|
|
|
Utility.MagicWormhole
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Matcher
|
2019-07-28 14:27:33 -04:00
|
|
|
Utility.MD5
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Metered
|
|
|
|
Utility.Misc
|
|
|
|
Utility.Monad
|
|
|
|
Utility.Network
|
|
|
|
Utility.NotificationBroadcaster
|
|
|
|
Utility.OptParse
|
|
|
|
Utility.PID
|
|
|
|
Utility.Parallel
|
|
|
|
Utility.PartialPrelude
|
|
|
|
Utility.Path
|
2017-12-31 16:08:31 -04:00
|
|
|
Utility.Path.Max
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Percentage
|
|
|
|
Utility.Process
|
|
|
|
Utility.Process.Shim
|
2017-12-31 16:08:31 -04:00
|
|
|
Utility.Process.Transcript
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.QuickCheck
|
2019-01-14 15:19:20 -04:00
|
|
|
Utility.RawFilePath
|
2020-04-20 13:53:27 -04:00
|
|
|
Utility.ResourcePool
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Rsync
|
|
|
|
Utility.SafeCommand
|
|
|
|
Utility.Scheduled
|
|
|
|
Utility.Scheduled.QuickCheck
|
|
|
|
Utility.Shell
|
|
|
|
Utility.SimpleProtocol
|
2017-05-15 23:32:17 -04:00
|
|
|
Utility.Split
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.SshConfig
|
2017-08-17 22:11:31 -04:00
|
|
|
Utility.SshHost
|
2016-12-20 17:40:36 -04:00
|
|
|
Utility.Su
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.SystemDirectory
|
2018-10-29 23:13:36 -04:00
|
|
|
Utility.TimeStamp
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.TList
|
|
|
|
Utility.Tense
|
|
|
|
Utility.ThreadLock
|
|
|
|
Utility.ThreadScheduler
|
|
|
|
Utility.Tmp
|
2017-12-31 16:08:31 -04:00
|
|
|
Utility.Tmp.Dir
|
2016-11-14 13:26:34 -04:00
|
|
|
Utility.Tor
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Touch
|
2017-05-15 23:32:17 -04:00
|
|
|
Utility.Tuple
|
2016-05-24 01:00:06 -04:00
|
|
|
Utility.Url
|
|
|
|
Utility.UserInfo
|
|
|
|
Utility.Verifiable
|
2017-08-18 10:53:31 -04:00
|
|
|
|
|
|
|
if (os(windows))
|
|
|
|
Other-Modules:
|
|
|
|
Utility.LockFile.Windows
|
|
|
|
Utility.LockPool.Windows
|
|
|
|
else
|
|
|
|
Other-Modules:
|
|
|
|
Utility.LockFile.Posix
|
|
|
|
Utility.LockPool.Posix
|
2019-07-22 09:08:05 -04:00
|
|
|
Annex.LockPool.PosixOrPid
|
2019-07-22 09:21:41 -04:00
|
|
|
Utility.LockFile.LockStatus
|
|
|
|
Utility.LockFile.PidLock
|
|
|
|
Utility.LockPool.PidLock
|
|
|
|
Utility.LinuxMkLibs
|