File: day_230__Mom.mdwn

package info (click to toggle)
git-annex 6.20170101-1%2Bdeb9u2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 50,088 kB
  • sloc: haskell: 53,116; sh: 1,582; ansic: 341; makefile: 292; perl: 144
file content (35 lines) | stat: -rw-r--r-- 1,645 bytes parent folder | download | duplicates (11)
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
Made a release today. Releasing has sure gotten easier with all the
autobuilds to use!

I am now using git-annex to share files with my mom. Here's how the webapp
looks for our family's repository. Soon several of us will be using this
repository.

[[!img assistant/example.png]]

We're using XMPP and rsync.net, so pretty standard setup much like
shown in my last screencast.

Real-world deployments help find bugs, and I found a few:

* If you're running the webapp in `w3m` on a remote computer to set it up,
  some forms are lacking submit buttons. This must be a issue with
  Bootstrap, or HTML5, I guess. I switched to `lynx` and it offers a
  way to submit forms that lack an explicit button.

* Progress bars for downloads from encrypted rsync repos don't update
  during the actual download, but only when gpg is decrypting the
  downloaded file.

* XMPP pushes sometimes fail still. Especially when your mom's computer
  is saturating its limited outgoing network connection uploading hundreds of
  photos. I have not yet determined if this is a packet loss/corruption issue,
  or if the XMPP messages are getting out of order. My gut feeling is it's
  the latter, in which can I can fix this pretty easily by adding sequence
  numbers and some buffering for out of order packets. Or perhaps just
  make it retry failed pushes when this happens.
  
  Anyway, I found it was useful to set up a regular git repository on a
  server to suppliment the git pushes over XMPP. It's helpful to have
  such a git repository anyway, so that clients can push to there when the
  other client(s) are not online to be pushed to directly over XMPP.