From 34cea0834094b325b9efaf233f1b4a743c59ea09 Mon Sep 17 00:00:00 2001 From: effigies Date: Mon, 9 Mar 2015 17:32:19 +0000 Subject: [PATCH] Added a comment: Strategy for getting up and running --- ..._55fcf44eefe6abac3f61a14e9ce9206c._comment | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 doc/bugs/assistant_does_not_allow_adding_an_existing_repo/comment_2_55fcf44eefe6abac3f61a14e9ce9206c._comment diff --git a/doc/bugs/assistant_does_not_allow_adding_an_existing_repo/comment_2_55fcf44eefe6abac3f61a14e9ce9206c._comment b/doc/bugs/assistant_does_not_allow_adding_an_existing_repo/comment_2_55fcf44eefe6abac3f61a14e9ce9206c._comment new file mode 100644 index 0000000000..8ebdb4ff98 --- /dev/null +++ b/doc/bugs/assistant_does_not_allow_adding_an_existing_repo/comment_2_55fcf44eefe6abac3f61a14e9ce9206c._comment @@ -0,0 +1,34 @@ +[[!comment format=mdwn + username="effigies" + subject="Strategy for getting up and running" + date="2015-03-09T17:32:19Z" + content=""" +The following is the set of steps I use when setting assistant up on a new repository: + + git clone user@host:repo.git + pushd repo + git annex init + touch EMPTY + git annex add EMPTY + git commit -m 'Initial commit' + git push --all + git annex copy --to origin + git annex direct + git annex sync + git annex untrust . + popd + +Entering the folder path now lets the assistant take over. + +For an existing repository: + + git clone user@host:repo.git + pushd repo + git annex get . + git annex direct + git annex sync + git annex untrust . + popd + +Not sure if this would be helpful for working out what the assistant behavior should be, but maybe it'll help others get to the point where the assistant works with a gitolite managed repo. +"""]]