summaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-12 14:20:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-12 14:20:41 -0400
commitd4e54c2eba70ca4587c9ef0f9599a53225506e6f (patch)
treebca029eba2071672ee98f6a59fa0f1d20084786f /doc/tips
parentdb4897aaff83f33e049cbe731ae16da96f340297 (diff)
parentb356a4f8d13ca9e1e2d68b17dd0b7b93143c8ef5 (diff)
Merge branch 'master' into remotecontrol
Conflicts: debian/changelog
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/googledriveannex/comment_2_c98c00e87bc921158c9c3698fd9f89c9._comment23
-rw-r--r--doc/tips/using_gitolite_with_git-annex.mdwn12
2 files changed, 32 insertions, 3 deletions
diff --git a/doc/tips/googledriveannex/comment_2_c98c00e87bc921158c9c3698fd9f89c9._comment b/doc/tips/googledriveannex/comment_2_c98c00e87bc921158c9c3698fd9f89c9._comment
new file mode 100644
index 000000000..e90903b19
--- /dev/null
+++ b/doc/tips/googledriveannex/comment_2_c98c00e87bc921158c9c3698fd9f89c9._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="https://www.google.com/accounts/o8/id?id=AItOawl64jV2rE8GMogJ6XuqESSkz78RVBgVdGw"
+ nickname="Mesut"
+ subject="I can't add google drive as remote"
+ date="2014-04-10T07:55:56Z"
+ content="""
+Hi,
+
+I am new to git-annex and I want to use google drive as remote but I can't.
+
+I create syslink to `googledriveannex` in `/usr/local/bin`.
+
+When I execute below command, command waiting but not make anything:
+
+`$ git annex initremote googledrive type=external externaltype=googledrive encryption=shared folder=gitannex`
+
+`initremote googledrive (encryption setup)` # Waiting but does not do anything.
+
+What I am doing wrong?
+
+Thanks for helps
+
+"""]]
diff --git a/doc/tips/using_gitolite_with_git-annex.mdwn b/doc/tips/using_gitolite_with_git-annex.mdwn
index fcc3f96c3..746b6b17f 100644
--- a/doc/tips/using_gitolite_with_git-annex.mdwn
+++ b/doc/tips/using_gitolite_with_git-annex.mdwn
@@ -3,8 +3,6 @@ manager. Here's how to add git-annex support to gitolite, so you can
`git annex copy` files to a gitolite repository, and `git annex get`
files from it.
-Warning : The method described here works with gitolite version g2, avaible in the g2 branch on github. There is an experimental support for g3 in the git-annex branch, if you tested it please add some feedback.
-
A nice feature of using gitolite with git-annex is that users can be given
read-only access to a repository, and this allows them to `git annex get`
file contents, but not change anything.
@@ -12,7 +10,8 @@ file contents, but not change anything.
First, you need new enough versions:
* gitolite 2.2 is needed -- this version contains a git-annex-shell ADC
- and supports "ua" ADCs.
+ and supports "ua" ADCs. Alternatively, gitoline g3 also recently added
+ support for git-annex.
* git-annex 3.20111016 or newer needs to be installed on the gitolite
server. Don't install an older version, it wouldn't be secure!
@@ -39,6 +38,13 @@ cd /usr/local/lib/gitolite/adc/ua/
cp gitolite/contrib/adc/git-annex-shell .
</pre>
+If using gitolite g3, an additional setup step is needed:
+In the ENABLE list in the rc file, add an entry like this:
+
+<pre>
+ 'git-annex-shell ua',
+</pre>
+
Now all gitolite repositories can be used with git-annex just as any
ssh remote normally would be used. For example: