Commit graph

32915 commits

Author SHA1 Message Date
Joey Hess
b72f1e1b48
update android docs for termux
This commit was sponsored by John Pellman on Patreon.
2018-10-13 12:11:47 -04:00
Joey Hess
d14983ee68
webapp: fix termux detection
The bundled uname -o says Linux in termux; have runshell on Android
delete it so the termux one is used instead.

This fixes the webapp so it will enter Android mode.

This commit was sponsored by mo on Patreon.
2018-10-13 12:08:27 -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
Ilya_Shlyakhter
aaa841e60a Added a comment 2018-10-11 20:36:58 +00:00
Ilya_Shlyakhter
37d1763851 Added a comment 2018-10-11 20:12:09 +00:00
Ilya_Shlyakhter
2275c0ea52 Added a comment 2018-10-11 18:59:31 +00:00
Joey Hess
4a7a5fd320
devblog 2018-10-11 13:56:54 -04:00
Joey Hess
ed51aaa3b9
add news item for git-annex 6.20181011 2018-10-11 13:51:26 -04:00
Joey Hess
426f0f3f4b
releasing package git-annex version 6.20181011 2018-10-11 13:50:53 -04:00
Joey Hess
3c2b86eee8
update 2018-10-11 13:50:22 -04:00
Joey Hess
f430fda73b
move comment 2018-10-11 13:35:13 -04:00
Joey Hess
c5b6c55afc
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-11 13:33:14 -04:00
Joey Hess
0240775f32
adding arm64 build, and improved termux installation process
* Added arm64 Linux standalone build. (No autobuilder yet.)
* Improved termux installation process.

Added git-annex-install.sh script to avoid user needing to type as much in
termux. The scope of this script is limited; runshell handles the rest.

Runshell runs termux-fix-shebang on the shell scripts. The problem is
the bundled bin/sh script, deleting that script also works, but then the
others probably use the system Android /bin/sh, which could be old or
broken or not posix or whatever. Using termux sh to run the scripts is
better.

This commit was sponsored by Eric Drechsel on Patreon.
2018-10-11 13:32:00 -04:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
897e5ba57d Added a comment: Works now!! 2018-10-11 16:09:00 +00:00
erewhon_smith@6671dff14d578cb6d55a3ca285f2c54151b69f60
68202c4107 2018-10-11 15:14:16 +00:00
Ilya_Shlyakhter
451f391c7d Added a comment 2018-10-11 12:03:13 +00:00
erewhon_smith@6671dff14d578cb6d55a3ca285f2c54151b69f60
38bce6e153 2018-10-11 01:16:08 +00:00
ericm
6178e3f634 Added a comment 2018-10-10 23:20:17 +00:00
Joey Hess
0691372064
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-10 18:16:20 -04:00
Joey Hess
3b8ce5a89a
update 2018-10-10 18:16:07 -04:00
erewhon
b8556e428d 2018-10-10 20:21:06 +00:00
Joey Hess
a97ef366fa
Linux standalone: Avoid using bundled cp before envionment is fully set up.
On android arm64, I saw the cp fail with "Bad system call", because proot
has not run yet. runshell only recently started using cp, and it's bundled
with git-annex, so this fixes a reversion.

This commit was sponsored by Nick Piper on Patreon.
2018-10-10 16:02:25 -04:00
Joey Hess
142795993a
hide stderr if cmp is used on file that does not exist
seen on android in termux
2018-10-10 15:28:27 -04:00
Joey Hess
fd8094cbbc
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-10 12:59:01 -04:00
erewhon
85e38eeed7 2018-10-10 16:07:51 +00:00
Ilya_Shlyakhter
60c652c733 Added a comment 2018-10-10 16:04:39 +00:00
erewhon
48044c5acf 2018-10-10 16:03:46 +00:00
erewhon
99ba61e32c 2018-10-10 16:02:28 +00:00
erewhon
6b1c81e746 2018-10-10 16:00:30 +00:00
erewhon
219de02f45 2018-10-10 15:59:06 +00:00
Joey Hess
1275bf2100
update 2018-10-10 11:23:10 -04:00
Joey Hess
a9dd087074
centralized "yes"/"no" parsing
This commit was sponsored by Jack Hill on Patreon.
2018-10-10 11:14:27 -04:00
Joey Hess
6f0d8870df
Fix crash when exporttree is set to a bad value.
Made it impossible to recover from setting a bad value since enableremote
to change it would crash.

This commit was sponsored by Henrik Riomar on Patreon.
2018-10-10 10:44:54 -04:00
yarikoptic
b18ee06518 Added a comment 2018-10-10 14:05:53 +00:00
andrew
6a04d11b16 Added a comment 2018-10-10 11:28:40 +00:00
anarcat
ff8e03689d Added a comment 2018-10-09 21:49:02 +00:00
Joey Hess
def5d8b02c
Fix potential crash in exporttree database due to failure to honor uniqueness constraint
I don't know the circumstances, but have a report of this:

git-annex: failed to commit changes to sqlite database: Just SQLite3 returned
ErrorConstraint while attempting to perform step.

All 3 tables in the export db have uniqueness constraints on them,
insertUnique is used for all the rest, but this use of insertMany
means it doesn't check the constraint. I guess that's what caused the
crash, but I have not been able to test it yet.

Use putMany when available, as it should be faster than mapM of insertMany.

This commit was sponsored by Brock Spratlen on Patreon.
2018-10-09 16:56:33 -04:00
Joey Hess
b8ed97f5d8
add missing space 2018-10-09 16:32:59 -04:00
Joey Hess
bd24814d42
Merge branch 'master' of ssh://git-annex.branchable.com 2018-10-09 15:58:45 -04:00
Joey Hess
91b799d1a6
export: Fix false positive in export conflict detection
It occurred when the same tree was exported by multiple clones. nub out
identical trees.

This commit was sponsored by Jochen Bartl on Patreon.
2018-10-09 15:54:12 -04:00
Ilya_Shlyakhter
b8148fefa0 Added a comment 2018-10-09 18:53:30 +00:00
Ilya_Shlyakhter
44a57ba293 Added a comment 2018-10-09 18:41:33 +00:00
Ilya_Shlyakhter
e86cf08981 Added a comment 2018-10-09 15:34:00 +00:00
branchable@bafd175a4b99afd6ed72501042e364ebd3e0c45e
87206a985a Added a comment: aarch64 still broken, please help 2018-10-09 09:17:11 +00:00
ericm
a6e8c4f157 2018-10-09 01:18:02 +00:00
ericm
4a66a3c447 2018-10-09 01:16:47 +00:00
Ilya_Shlyakhter
3c94f83cbf Added a comment 2018-10-08 21:48:27 +00:00
Ilya_Shlyakhter
679b9a0919 Added a comment 2018-10-08 21:43:17 +00:00
Joey Hess
ca200c561d
followup 2018-10-08 12:47:02 -04:00
Joey Hess
6e41b2080b
followup 2018-10-08 12:44:30 -04:00