2018-04-24 23:53:24 +00:00
|
|
|
[[!comment format=mdwn
|
|
|
|
username="joey"
|
|
|
|
subject="""comment 3"""
|
|
|
|
date="2018-04-24T23:35:33Z"
|
|
|
|
content="""
|
|
|
|
A few problems with using git-annex this way..
|
|
|
|
|
|
|
|
git init fails in sdcard because it tries to chmod something. It works in
|
|
|
|
the termux home directory. Note that only the git bundled with git-annex
|
|
|
|
has this problem; the termux one works (probably it's patched like I did in
|
|
|
|
the android git-annex port). Hacking the standalone build to not run the
|
2018-04-25 01:22:20 +00:00
|
|
|
bundled git should work. This could be done only when uname -o = Android.
|
2018-04-25 17:47:43 +00:00
|
|
|
(Update: Fixed)
|
2018-04-24 23:53:24 +00:00
|
|
|
|
|
|
|
git annex init fails with a getUserEntryForID exception.
|
2018-04-25 01:22:20 +00:00
|
|
|
[[!commit 526243d6f5db6e16c32ed7f835da590b877f78b8]] probably fixed this,
|
2018-04-25 17:47:43 +00:00
|
|
|
but not tested yet. (Update: Fixed)
|
2018-04-24 23:53:24 +00:00
|
|
|
|
2018-04-25 17:47:43 +00:00
|
|
|
The webapp is able to open an url (after I upgraded termux) via xdg-open
|
|
|
|
(alias for termux-open), but when in /sdcard/t2 it opened an url that
|
|
|
|
chrome was not able to access, apparently a permissions problem. The
|
|
|
|
webapp.html does not add any security on android, since it's not a
|
|
|
|
multiuser unix system, and so it should open the url to the webapp
|
2018-04-25 18:38:42 +00:00
|
|
|
directly. (Done)
|
2018-04-25 01:22:20 +00:00
|
|
|
|
|
|
|
Accessing the sdcard may need termux-setup-storage to be run once,
|
|
|
|
depending on the version of android. That sets up $HOME/storage.
|
2018-04-25 17:47:43 +00:00
|
|
|
The webapp ought to default to making a repository somewhere in there.
|
2018-04-25 18:38:42 +00:00
|
|
|
(Done)
|
2018-04-25 01:28:08 +00:00
|
|
|
|
2018-04-25 20:58:12 +00:00
|
|
|
The assistant won't start on boot, but could be made to using
|
|
|
|
https://wiki.termux.com/wiki/Termux:Boot (Integration in place now)
|
2018-04-25 15:19:59 +00:00
|
|
|
|
|
|
|
Apparently termux-exec sets a `LD_PRELOAD` that is not compatible, so
|
2018-04-25 17:47:43 +00:00
|
|
|
the wrapper script would need to unset it. (Done now)
|
2018-04-24 23:53:24 +00:00
|
|
|
"""]]
|