summaryrefslogtreecommitdiff
path: root/git-annex.cabal
blob: 65252359ebecfc2334e694dee76ceee2373836eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
Name: git-annex
Version: 6.20171026
Cabal-Version: >= 1.8
License: GPL-3
Maintainer: Joey Hess <id@joeyh.name>
Author: Joey Hess
Stability: Stable
Copyright: 2010-2017 Joey Hess
License-File: COPYRIGHT
Homepage: http://git-annex.branchable.com/
Build-type: Custom
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
 to limitations in memory, time, or disk space.
 .
 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.
-- 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
  doc/git-annex-enable-tor.mdwn
  doc/git-annex-examinekey.mdwn
  doc/git-annex-expire.mdwn
  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
  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
  doc/git-annex-multicast.mdwn
  doc/git-annex-numcopies.mdwn
  doc/git-annex-p2p.mdwn
  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
  doc/git-remote-tor-annex.mdwn
  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
  templates/configurators/pairing/wormhole/prompt.hamlet
  templates/configurators/pairing/wormhole/start.hamlet
  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/upgrade/android.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
  templates/configurators/addrepository/wormholepairing.hamlet
  templates/configurators/rsync.net/add.hamlet
  templates/configurators/rsync.net/encrypt.hamlet
  templates/configurators/gitlab.com/add.hamlet
  templates/configurators/needgcrypt.hamlet
  templates/configurators/needtor.hamlet
  templates/configurators/needmagicwormhole.hamlet
  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

Flag S3
  Description: Enable S3 support

Flag WebDAV
  Description: Enable WebDAV support

Flag Assistant
  Description: Enable git-annex assistant and watch command

Flag Webapp
  Description: Enable git-annex webapp

Flag Pairing
  Description: Enable pairing

Flag Production
  Description: Enable production build (slower build; faster binary)

Flag Android
  Description: Cross building for Android
  Default: False

Flag AndroidSplice
  Description: Building to get TH splices for Android
  Default: False

Flag TestSuite
  Description: Embed the test suite into git-annex

Flag TorrentParser
  Description: Use haskell torrent library to parse torrent files

Flag MagicMime
  Description: Use libmagic to determine file MIME types

Flag ConcurrentOutput
  Description: Use concurrent-output library

Flag Benchmark
  Description: Enable benchmarking
  Default: False

Flag network-uri
  Description: Get Network.URI from the network-uri package
  Default: True

Flag Dbus
  Description: Enable dbus support

source-repository head
  type: git
  location: git://git-annex.branchable.com/

Executable git-annex
  Main-Is: git-annex.hs
  Build-Depends:
   base (>= 4.5 && < 5.0),
   optparse-applicative (>= 0.11.0), 
   containers (>= 0.5.0.0),
   exceptions (>= 0.6),
   QuickCheck (>= 2.1),
   stm (>= 2.3),
   mtl (>= 2),
   uuid (>= 1.2.6),
   process,
   data-default,
   case-insensitive,
   random,
   dlist,
   unix-compat,
   SafeSemaphore,
   async,
   directory (>= 1.2),
   filepath,
   IfElse,
   hslogger,
   monad-logger,
   free,
   utf8-string,
   bytestring,
   text,
   sandi,
   monad-control,
   transformers,
   bloomfilter,
   edit-distance,
   resourcet,
   http-client,
   http-types (>= 0.7),
   http-conduit (>= 2.0),
   time,
   old-locale,
   esqueleto,
   persistent-sqlite, 
   persistent,
   persistent-template,
   aeson,
   unordered-containers,
   feed (>= 0.3.9),
   regex-tdfa,
   socks,
   byteable,
   stm-chans,
   securemem,
   crypto-api,
   cryptonite,
   memory,
   split
  CC-Options: -Wall
  GHC-Options: -Wall -fno-warn-tabs
  Extensions: PackageImports
  -- Some things don't work with the non-threaded RTS.
  GHC-Options: -threaded
  Other-Extensions: TemplateHaskell

  -- Fully optimize for production.
  if flag(Production)
    GHC-Options: -O2

  -- Avoid linking with unused dynamic libaries.
  -- (Only tested on Linux).
  if os(Linux)
    GHC-Options: -optl-Wl,--as-needed

  if flag(network-uri)
    Build-Depends: network-uri (>= 2.6), network (>= 2.6)
  else
    Build-Depends: network (< 2.6), network (>= 2.4)

  if (os(windows))
    Build-Depends: Win32 (== 2.3.1.1), Win32-extras, unix-compat (>= 0.4.1.3), setenv,
      process (>= 1.4.2.0)
  else
    Build-Depends: unix
    if impl(ghc <= 7.6.3)
      Other-Modules: Utility.Touch.Old

  if flag(TestSuite)
    Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun
    CPP-Options: -DWITH_TESTSUITE

  if flag(S3)
    Build-Depends: conduit, conduit-extra, aws (>= 0.9.2)
    CPP-Options: -DWITH_S3
    Other-Modules: Remote.S3

  if flag(WebDAV)
    Build-Depends: DAV (>= 1.0)
    CPP-Options: -DWITH_WEBDAV

  if flag(Assistant) && ! os(solaris)
    Build-Depends: dns (>= 1.0.0), mountpoints
    CPP-Options: -DWITH_ASSISTANT

  if flag(Assistant)
    if os(linux) || flag(Android)
      Build-Depends: hinotify
      CPP-Options: -DWITH_INOTIFY
      Other-Modules: Utility.DirWatcher.INotify
    else
      if os(darwin)
        Build-Depends: hfsevents
        CPP-Options: -DWITH_FSEVENTS
        Other-Modules: Utility.DirWatcher.FSEvents
      else
        if os(windows)
          Build-Depends: Win32-notify
          CPP-Options: -DWITH_WIN32NOTIFY
          Other-Modules: Utility.DirWatcher.Win32Notify
        else
          if (! os(solaris) && ! os(linux))
            CPP-Options: -DWITH_KQUEUE
            C-Sources: Utility/libkqueue.c
            Includes: Utility/libkqueue.h
            Other-Modules: Utility.DirWatcher.Kqueue

  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
      Other-Modules: Utility.DBus

  if flag(Android)
    Build-Depends: data-endian
    CPP-Options: -D__ANDROID__ -DANDROID_SPLICES -D__NO_TH__
  else
    Build-Depends: disk-free-space

  if flag(AndroidSplice)
    CPP-Options: -DANDROID_SPLICES

  if flag(Webapp)
    Build-Depends:
     yesod (>= 1.2.6), 
     yesod-default (>= 1.2.0),
     yesod-static (>= 1.2.4),
     yesod-form (>= 1.3.15),
     yesod-core (>= 1.2.19),
     path-pieces (>= 0.1.4),
     warp (>= 3.0.0.5),
     warp-tls (>= 1.4),
     wai,
     wai-extra,
     blaze-builder,
     clientsession,
     template-haskell,
     shakespeare (>= 2.0.0)
    CPP-Options: -DWITH_WEBAPP

  if flag(Pairing)
    Build-Depends: network-multicast, network-info
    CPP-Options: -DWITH_PAIRING

  if flag(TorrentParser)
    Build-Depends: torrent (>= 10000.0.0)
    CPP-Options: -DWITH_TORRENTPARSER

  if flag(MagicMime)
    if (! os(windows))
      Build-Depends: magic
      CPP-Options: -DWITH_MAGICMIME

  if flag(ConcurrentOutput)
    Build-Depends: concurrent-output (>= 1.6)
    CPP-Options: -DWITH_CONCURRENTOUTPUT

  if flag(Benchmark)
    Build-Depends: criterion, deepseq
    CPP-Options: -DWITH_BENCHMARK
    Other-Modules: Command.Benchmark

  Other-Modules:
    Annex
    Annex.Action
    Annex.AdjustedBranch
    Annex.AutoMerge
    Annex.BloomFilter
    Annex.Branch
    Annex.Branch.Transitions
    Annex.BranchState
    Annex.CatFile
    Annex.ChangedRefs
    Annex.CheckAttr
    Annex.CheckIgnore
    Annex.Common
    Annex.Concurrent
    Annex.Content
    Annex.Content.Direct
    Annex.Difference
    Annex.DirHashes
    Annex.Direct
    Annex.Drop
    Annex.Environment
    Annex.Export
    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.MakeRepo
    Annex.MetaData
    Annex.MetaData.StandardFields
    Annex.Multicast
    Annex.Notification
    Annex.NumCopies
    Annex.Path
    Annex.Perms
    Annex.Queue
    Annex.Quvi
    Annex.ReplaceFile
    Annex.SpecialRemote
    Annex.Ssh
    Annex.TaggedPush
    Annex.Transfer
    Annex.UpdateInstead
    Annex.UUID
    Annex.Url
    Annex.VectorClock
    Annex.VariantFile
    Annex.Version
    Annex.View
    Annex.View.ViewedFile
    Annex.Wanted
    Annex.WorkTree
    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.PairListener
    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.Threads.WebApp
    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
    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
    Backend
    Backend.Hash
    Backend.URL
    Backend.Utilities
    Backend.WORM
    Build.BundledPrograms
    Build.Configure
    Build.DesktopFile
    Build.Mans
    Build.TestConfig
    Build.Version
    BuildInfo
    CmdLine
    CmdLine.Action
    CmdLine.Batch
    CmdLine.GitAnnex
    CmdLine.GitAnnex.Options
    CmdLine.GitAnnexShell
    CmdLine.GitAnnexShell.Checks
    CmdLine.GitAnnexShell.Fields
    CmdLine.GlobalSetter
    CmdLine.Option
    CmdLine.GitRemoteTorAnnex
    CmdLine.Seek
    CmdLine.Usage
    Command
    Command.Add
    Command.AddUnused
    Command.AddUrl
    Command.Adjust
    Command.Assistant
    Command.CalcKey
    Command.CheckPresentKey
    Command.Commit
    Command.Config
    Command.ConfigList
    Command.ContentLocation
    Command.Copy
    Command.Dead
    Command.Describe
    Command.DiffDriver
    Command.Direct
    Command.Drop
    Command.DropKey
    Command.DropUnused
    Command.EnableRemote
    Command.EnableTor
    Command.ExamineKey
    Command.Expire
    Command.Export
    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
    Command.List
    Command.Lock
    Command.LockContent
    Command.Log
    Command.LookupKey
    Command.Map
    Command.MatchExpression
    Command.Merge
    Command.MetaData
    Command.Migrate
    Command.Mirror
    Command.Move
    Command.Multicast
    Command.NotifyChanges
    Command.NumCopies
    Command.P2P
    Command.PostReceive
    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.Watch
    Command.WebApp
    Command.Whereis
    Common
    Config
    Config.Cost
    Config.Files
    Config.DynamicConfig
    Config.GitConfig
    Creds
    Crypto
    Database.Export
    Database.Fsck
    Database.Handle
    Database.Init
    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
    Git.ConfigTypes
    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
    Git.Ssh
    Git.Status
    Git.Tree
    Git.Types
    Git.UnionMerge
    Git.UpdateIndex
    Git.Url
    Git.Version
    Key
    Limit
    Limit.Wanted
    Logs
    Logs.Activity
    Logs.Chunk
    Logs.Chunk.Pure
    Logs.Config
    Logs.Difference
    Logs.Difference.Pure
    Logs.Export
    Logs.FsckResults
    Logs.Group
    Logs.Line
    Logs.Location
    Logs.MapLog
    Logs.MetaData
    Logs.Multicast
    Logs.NumCopies
    Logs.PreferredContent
    Logs.PreferredContent.Raw
    Logs.Presence
    Logs.Presence.Pure
    Logs.Remote
    Logs.RemoteState
    Logs.Schedule
    Logs.SingleValue
    Logs.TimeStamp
    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
    P2P.Address
    P2P.Annex
    P2P.Auth
    P2P.IO
    P2P.Protocol
    Remote
    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
    Remote.Helper.Export
    Remote.Helper.Git
    Remote.Helper.Hooks
    Remote.Helper.Http
    Remote.Helper.Messages
    Remote.Helper.ReadOnly
    Remote.Helper.Special
    Remote.Helper.Ssh
    Remote.Hook
    Remote.List
    Remote.P2P
    Remote.Rsync
    Remote.Rsync.RsyncUrl
    Remote.Tahoe
    Remote.Web
    Remote.WebDAV
    Remote.WebDAV.DavLocation
    RemoteDaemon.Common
    RemoteDaemon.Core
    RemoteDaemon.Transport
    RemoteDaemon.Transport.GCrypt
    RemoteDaemon.Transport.Tor
    RemoteDaemon.Transport.Ssh
    RemoteDaemon.Transport.Ssh.Types
    RemoteDaemon.Types
    Test
    Types
    Types.ActionItem
    Types.Availability
    Types.Backend
    Types.BranchState
    Types.CleanupActions
    Types.Command
    Types.Concurrency
    Types.Creds
    Types.Crypto
    Types.DeferredParse
    Types.DesktopNotify
    Types.Difference
    Types.Distribution
    Types.Export
    Types.FileMatcher
    Types.GitConfig
    Types.Group
    Types.Key
    Types.KeySource
    Types.LockCache
    Types.Messages
    Types.MetaData
    Types.NumCopies
    Types.RefSpec
    Types.Remote
    Types.ScheduledActivity
    Types.StandardGroups
    Types.StoreRetrieve
    Types.Test
    Types.Transfer
    Types.TrustLevel
    Types.UUID
    Types.UrlContents
    Types.View
    Upgrade
    Upgrade.V0
    Upgrade.V1
    Upgrade.V2
    Upgrade.V3
    Upgrade.V4
    Upgrade.V5
    Utility.Applicative
    Utility.AuthToken
    Utility.Base64
    Utility.Batch
    Utility.Bloom
    Utility.CoProcess
    Utility.CopyFile
    Utility.Daemon
    Utility.Data
    Utility.DataUnits
    Utility.DirWatcher
    Utility.DirWatcher.Types
    Utility.Directory
    Utility.DiskFree
    Utility.Dot
    Utility.DottedVersion
    Utility.Env
    Utility.Exception
    Utility.ExternalSHA
    Utility.FileMode
    Utility.FileSize
    Utility.FileSystemEncoding
    Utility.Format
    Utility.FreeDesktop
    Utility.Glob
    Utility.Gpg
    Utility.Hash
    Utility.HumanNumber
    Utility.HumanTime
    Utility.InodeCache
    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
    Utility.MagicWormhole
    Utility.Matcher
    Utility.Metered
    Utility.Misc
    Utility.Monad
    Utility.Mounts
    Utility.Network
    Utility.NotificationBroadcaster
    Utility.OSX
    Utility.OptParse
    Utility.PID
    Utility.Parallel
    Utility.PartialPrelude
    Utility.Path
    Utility.Percentage
    Utility.PosixFiles
    Utility.Process
    Utility.Process.Shim
    Utility.QuickCheck
    Utility.Quvi
    Utility.Rsync
    Utility.SRV
    Utility.SafeCommand
    Utility.Scheduled
    Utility.Scheduled.QuickCheck
    Utility.Shell
    Utility.SimpleProtocol
    Utility.Split
    Utility.SshConfig
    Utility.SshHost
    Utility.Su
    Utility.SystemDirectory
    Utility.TList
    Utility.Tense
    Utility.ThreadLock
    Utility.ThreadScheduler
    Utility.Tmp
    Utility.Tor
    Utility.Touch
    Utility.Tuple
    Utility.Url
    Utility.UserInfo
    Utility.Verifiable
    Utility.WebApp
    Utility.Yesod

  if (os(windows))
    Other-Modules:
      Utility.LockFile.Windows
      Utility.LockPool.Windows
  else
    Other-Modules:
      Utility.LockFile.Posix
      Utility.LockPool.Posix