From 29b43cfa395c87f722be35fb45cfea94cd3338ea Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 30 May 2012 20:50:53 -0400 Subject: pairing --- doc/design/assistant.mdwn | 2 +- doc/design/assistant/configurators.mdwn | 7 +------ doc/design/assistant/pairing.mdwn | 13 +++++++++++++ 3 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 doc/design/assistant/pairing.mdwn diff --git a/doc/design/assistant.mdwn b/doc/design/assistant.mdwn index 63f3c56d6..7a720a5e0 100644 --- a/doc/design/assistant.mdwn +++ b/doc/design/assistant.mdwn @@ -9,7 +9,7 @@ Feel free to chip in with comments! --[[Joey]] * Month 1 "like dropbox": [[!traillink inotify]] [[!traillink syncing]] * Month 2 "shiny webapp": [[!traillink webapp]] [[!traillink progressbars]] -* Month 3 "easy setup": [[!traillink configurators]] +* Month 3 "easy setup": [[!traillink configurators]] [[!traillink pairing]] * Month 4 "polishing": [[!traillink cloud]] [[!traillink leftovers]] * Months 5-6 "9k bonus round": [[!traillink Android]] [[!traillink partial_content]] diff --git a/doc/design/assistant/configurators.mdwn b/doc/design/assistant/configurators.mdwn index b9e3a6632..e0e938efd 100644 --- a/doc/design/assistant/configurators.mdwn +++ b/doc/design/assistant/configurators.mdwn @@ -10,12 +10,7 @@ through setting up common use cases. * Create a repository (run when the web app is started without a configured repository too). * Clone this repo to a USB drive. -* Clone this repo to another host: - 1. Prompt for the hostname (or do avahi local machine discovery). - 2. Enable the two hosts to ssh to one-another and run git-annex shell. - (A tricky problem, if ssh keys need to be added to do that.) - 3. Push over a clone of the repository. (Using git-annex-shell?) - 4. Start [[syncing]]. +* Clone this repo to another host. (Needs [[pairing]]) * Set up Amazon S3. * Set up rsync remote. * Set up encryption. diff --git a/doc/design/assistant/pairing.mdwn b/doc/design/assistant/pairing.mdwn new file mode 100644 index 000000000..f33c5e11d --- /dev/null +++ b/doc/design/assistant/pairing.mdwn @@ -0,0 +1,13 @@ +For git-annex to be able to clone its repo to another host, it'd be good to +have some way of pairing devices. + +It could work like this: + +1. Prompt for the hostname (or do avahi local machine discovery). +2. Enable the two hosts to ssh to one-another and run git-annex shell. + (A tricky problem, if ssh keys need to be added to do that.) +3. Push over a clone of the repository. (Using git-annex-shell?) +4. Start [[syncing]]. + +Also look into the method used by + -- cgit v1.2.3