Commit graph

53 commits

Author SHA1 Message Date
Joey Hess
9127fe4821
add DebugLocks build flag
Using the method described in
https://www.fpcomplete.com/blog/2018/05/pinpointing-deadlocks-in-haskell
but my own code to implement it, and with callstacks added.

This work is supported by the NIH-funded NICEMAN (ReproNim TR&D3) project.
2018-11-19 15:02:43 -04:00
Joey Hess
38d691a10f
removed the old Android app
Running git-annex linux builds in termux seems to work well enough that the
only reason to keep the Android app would be to support Android 4-5, which
the old Android app supported, and which I don't know if the termux method
works on (although I see no reason why it would not).
According to [1], Android 4-5 remains on around 29% of devices, down from
51% one year ago.

[1] https://www.statista.com/statistics/271774/share-of-android-platforms-on-mobile-devices-with-android-os/

This is a rather large commit, but mostly very straightfoward removal of
android ifdefs and patches and associated cruft.

Also, removed support for building with very old ghc < 8.0.1, and with
yesod < 1.4.3, and without concurrent-output, which were only being used
by the cross build.

Some documentation specific to the Android app (screenshots etc) needs
to be updated still.

This commit was sponsored by Brett Eisenberg on Patreon.
2018-10-13 01:41:11 -04:00
Joey Hess
14557a3ff6
git-annex.cabal: Fix network version.
Needed for hostAddressToTuple.

Which means the build flag for the network-uri split is no longer needed.
2018-07-01 13:07:24 -04:00
Joey Hess
b23c54fbb3
Revert "response"
This reverts commit 96373a8555.

Contained unrelated change.
2018-05-30 11:27:54 -04:00
Joey Hess
96373a8555
response 2018-05-30 11:27:32 -04:00
Joey Hess
79857d7e9f
Removed the testsuite build flag
Test suite is always included.

Building with this flag disabled has actually been broken for some time,
since Command.TestRemote uses tasty. Fewer build flags are better, so good
time to drop it.

This commit was sponsored by Thomas Hochstein on Patreon.
2017-12-20 12:25:03 -04:00
Joey Hess
f00770d736
Removed no longer needed dependency on yesod-default.
This commit was sponsored by Nick Daly on Patreon.
2017-12-05 13:18:25 -04:00
Joey Hess
25854c73db
still need stack-windows.yaml to specify newer versions of Win32 and unix-compat 2017-11-09 13:54:05 -04:00
Joey Hess
a0c38d7c96
use win32 2.6.1.0
That has my patches merged into it, so stack-windows.yaml is not needed
any longer.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2017-11-09 13:39:07 -04:00
Joey Hess
0f150a054b
revert accidental change 2017-11-09 12:46:26 -04:00
Joey Hess
85b912377b
retitle; known bug 2017-11-09 12:00:11 -04:00
Joey Hess
8c77bbf713
remove nix section to unbreak i386-ancient build 2017-11-08 14:52:36 -04:00
Joey Hess
64f1c09526
stack.yaml: Added nix packages section.
Thanks, Sean T Parsons
2017-10-25 15:09:18 -04:00
Joey Hess
193b5f4ca4
new lts 2017-10-17 13:00:22 -04:00
Joey Hess
61dccecad7
Fix build with aws-0.17.
This commit was sponsored by Denis Dzyubenko on Patreon.
2017-10-11 10:57:20 -04:00
Joey Hess
02ecf9a81f
update to lts-8.13 2017-05-15 16:01:24 -04:00
Joey Hess
0e7276b5ac stack.yaml: Update to lts-8.6. 2017-03-27 20:01:46 -04:00
Joey Hess
9ef7207d5a
Revert "Drop support for building without network-uri."
This reverts commit fc3925a1cd.

Need it in stable w/o backports for the ancient autobuilder.
2017-03-10 15:49:18 -04:00
Joey Hess
fc3925a1cd
Drop support for building without network-uri.
network-uri is available in Debian stable (backports) and testing,
so no need to complicate the cabal file anymore
2017-03-10 15:38:15 -04:00
Joey Hess
40327cab6e
Removed support for building with the old cryptohash library.
Building with that library made git-annex not support SHA3; it's time for
that to always be supported in case SHA2 dominoes.
2017-02-24 20:56:26 -04:00
Joey Hess
2d2f72abf0
add missing extra-deps 2017-02-02 14:24:06 -04:00
Joey Hess
3300911b14
lts-7.18 finally!
esqueleto finally got fixed, thanks to @bitemyapp

Since XMPP was removed, the previous build failures related to it should
no longer be a problem either.

Meanwhile, lts-5.18 fails to build anymore on Debian due to linker
hardening breaking the version of ghc stack uses with that version.

This commit was sponsored by Francois Marier on Patreon.
2017-01-31 12:27:08 -04:00
Joey Hess
d58148031b
remove xmpp support
I've long considered the XMPP support in git-annex a wart.
It's nice to remove it.

(This also removes the NetMessager, which was only used for XMPP, and the
daemonstatus's desynced list (likewise).)

Existing XMPP remotes should be ignored by git-annex.

This commit was sponsored by Brock Spratlen on Patreon.
2016-11-14 14:53:08 -04:00
Joey Hess
e72a0875f0
pin concurrent-output to a version that works on windows 2016-09-21 18:01:46 -04:00
Joey Hess
4b26aee92c
Revert "stack.yaml: Update to lts-7.0 (ghc 8)"
This reverts commit e181603103.

This broke the i386ancient autobuilder due to its use of
--flag git-annex:XMPP --flag=git-annex:dbus

-- Failure when adding dependencies:
fdo-notify: needed ((>=0.3)), stack configuration has no specified version
(latest applicable is 0.3.1)
gnutls: needed ((>=0.1.4)), stack configuration has no specified version
(latest applicable is 0.2)
network-protocol-xmpp: needed (-any), stack configuration has no specified
version (latest applicable is 0.4.8)

OSX autobuilder also seems hosed by it, so too soon.

De-revert later..
2016-09-21 18:01:23 -04:00
Joey Hess
e181603103
stack.yaml: Update to lts-7.0 (ghc 8)
A few of these extra-deps are setting versions to work around various
library dep issues with ghc 8.
2016-09-15 00:37:05 -04:00
Joey Hess
d04f2f6437
remove old ekg flag 2016-07-13 16:00:58 -04:00
Joey Hess
cbb1dbdafc
lts-5.18 2016-05-23 18:52:09 -04:00
Joey Hess
3e79a2f114
enable explicit-setup-deps 2016-05-05 15:37:42 -04:00
Joey Hess
204dbf597d
well, that broke the i386ancient autobuilder. revert 2016-03-17 23:42:45 -04:00
Joey Hess
edbd46943f
update 2016-03-17 23:20:50 -04:00
Joey Hess
b482cb9d90
Fix build with stack 0.1.6 which needs explicit-setup-deps. 2016-03-17 23:14:37 -04:00
Joey Hess
b02f813ed8
bump process version in stack.yaml
Newer version than current lts has is needed on windows
2016-03-12 12:37:11 -04:00
Joey Hess
9ee367a814
switch to lts 5.5 2016-03-05 16:20:35 -04:00
Joey Hess
844e0b3ad9
add new deps 2016-03-05 16:17:14 -04:00
Joey Hess
0226122842
Brought back the dbus and xmpp build flags, so build from source can be done without C libraries that may be hard to install. 2016-02-05 18:00:20 -04:00
Joey Hess
f8e1c130d1
add xmpp and dbus flags 2016-02-05 15:34:25 -04:00
Joey Hess
a02b46b3f5
disable magicmime build flag in stack.yaml
When it was enabled by default, stack tried to install the haskell magic
library, but that fails on systems without libmagic dev. So, we need to
disable this by default for stack, it seems.
2016-02-05 13:43:29 -04:00
Joey Hess
635d2dedf6
update for removed tags 2016-01-26 14:49:22 -04:00
Joey Hess
4eb968ca89
switch to lts-5.0
has concurrent-output and a new enough aws included
2016-01-26 08:29:37 -04:00
Joey Hess
e40d8bc625
remove Inotify build flag
Available for a long time in Linux, and only used there, so a flag is not
needed.
2015-12-28 14:46:01 -04:00
Joey Hess
7916414004
remove win32-extras; was merged into stackage 2015-12-28 14:43:24 -04:00
Joey Hess
8db4cae6d7
fix format 2015-12-28 14:40:34 -04:00
Joey Hess
664208d19f
remove XMPP, DBus, DesktopNotify build flags
Make these features solely dependent on the OS being built on.

This lets stack build on windows w/o XMPP, on OSX w/o DBUS,
and on Linux with everything.
2015-12-28 14:38:58 -04:00
Joey Hess
d7b6d7e157
enable xmpp in stack.yaml
Since stack is being used to build the OSX autouild now, I want xmpp
enabled.

This means stack can't be used to build git-annex on windows, unless the
user edits this file and disables xmpp. Unfortunate that stack is so
unconfigurable, compared with cabal..
2015-12-28 14:26:01 -04:00
Joey Hess
7d19a4f22c
switch to nightly-2015-12-28
This has aws new enough for glacier and storageclass features.
2015-12-28 13:35:24 -04:00
Joey Hess
f4e5ed384a
temporarily disable concurrent-output in stack.yaml
Revert once https://github.com/fpco/stackage/pull/1082 is fixed
2015-12-28 13:27:10 -04:00
Joey Hess
25d6cb4bc4
remove database flag, following changes to cabal file 2015-12-28 13:19:06 -04:00
Joey Hess
d435a717e6
enable ConcurrentOutput flag for stack 2015-11-06 15:26:12 -04:00
Joey Hess
06fad42299
put Win32-extras in extra-deps as it's not yet in lts 2015-10-13 12:34:01 -04:00