diff options
-rw-r--r-- | doc/devblog/day_235__thanksgiving_backlog.mdwn | 3 | ||||
-rw-r--r-- | doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment | 21 |
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/devblog/day_235__thanksgiving_backlog.mdwn b/doc/devblog/day_235__thanksgiving_backlog.mdwn index c694ad238..4cc28b5a1 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 000000000..6ee85367e --- /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 +"""]] |