summaryrefslogtreecommitdiff
path: root/doc/tips/publishing_your_files_to_the_public/comment_1_48f545ce26dbec944f96796ed3b9204d._comment
blob: 6ee85367e854b060069931780ca0ea144dc479d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
"""]]