From 5c1c55eaf44819ba2158cdad4ef9fc7d3df3f3e2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 1 Dec 2014 19:08:15 -0400 Subject: [PATCH] update tip --- .../day_235__thanksgiving_backlog.mdwn | 3 +++ ..._48f545ce26dbec944f96796ed3b9204d._comment | 21 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment diff --git a/doc/devblog/day_235__thanksgiving_backlog.mdwn b/doc/devblog/day_235__thanksgiving_backlog.mdwn index c694ad2380..4cc28b5a1c 100644 --- a/doc/devblog/day_235__thanksgiving_backlog.mdwn +++ b/doc/devblog/day_235__thanksgiving_backlog.mdwn @@ -1,6 +1,9 @@ Back from the holiday, catching up on traffic. Backlog stands at 113 messages. +Here's a nice tip that Giovanni added: +[[tips/publishing_your_files_to_the_public]] (using a public S3 bucket) + Just before going on break, I added a new feature that I didn't mention here. `git annex diffdriver` integrates git-annex with git's external diff driver support. So if you have a smart diff program that can diff, say, diff --git a/doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment b/doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment new file mode 100644 index 0000000000..6ee85367e8 --- /dev/null +++ b/doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="joey" + subject="""nice tip""" + date="2014-12-01T22:59:58Z" + content=""" +Thanks Giovanni for that nice tip! + +You can additionally publish the whole git repository +by eg pushing it to github. (Not if it contains private files +or if you have embedded encryption keys or credentials though.) + +You can tell git-annex the public url for the files too, and then others +can just clone the git repository and use git-annex to download the files +from S3. + +You could set that up by running something like this: + + for filename in $(git annex find --in public-s3); do + git annex addurl --file "$filename" https://public-annex.s3.amazonaws.com/"$(git annex lookupkey $filename)" + done +"""]]