Would https://syncthing.net/ work for syncing home?
It makes a symlink out of the file? What does that mean for general use?
data/
, but on one of your computers/servers, you might want to save it somewhere else (without changing code), you can then symlink data/
on that computer to point to an external drive or whereverIf the files are not stored in git, are there locations were we can store the files? (for free?)
Is there any compatibility layer to use (for instance) storage provided by git-lfs via git-annex? (both GitHub and GitLab provide git-lfs integration)
So in the current example, if someone would clone the repo, he gets the metadata but could not use the files?
A word of caution, git annex sync
also syncronizes the history of all git remotes. If one of the remotes is a github/gitlab repository that reacts to special keywords in commits (e.g. fixes #issue-number) issues can be automatically closed by accident. True story on gitlab.com.
Also git annex web
if you can get there.
About encryption, if the repository is public, having the tokens/keys in the metadata would make little sense. Are there common approaches used for open projects with sensitive data?
Related to the previous is encryption a requirement or entirely optional?
great questions which we have discussed on coderefinery.zulipchat.com (chat stream #RSHour) just before this session. hopefully we will have time to discuss these here
can you share the instructions on how to set this up on allas? This is awesome! I did not know that this was possible
--mode=s3cmd
: source allas_conf --mode=s3cmd
~/.aws/credentials
to export
the environment variables, so that you can source it in the next step.source ~/.aws/credentials
. This should set the environment variables AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
.AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
(this is very clear from the docs)git annex initremote allas type=S3 encryption=shared host=a3s.fi bucket=ga-demo-2 protocol=https port=443
(this is clearly documented in git-annex here, but was very hard to figure out what the Allas parameters are)allas
special remote you can push/pull data from.Out of curiosity: Do you have to pay for this cloud space or how does it work?
does this use s3cmd in background? or swift or..?
In this case, only people that also have access to the Allas bucket can access the data?
What is the largest file or largest amount of files/data you have stored in a single git-annex repository?
If I already have lots of data in an Allas bucket, can I then also link it with my repository?
git annex initremote tree importtree=yes exporttree=yes type=directory directory=/home/rkdarst/git/ga-demo-tree/ encryption=none
git annex import master --from tree
git merge tree/master
importtree=yes
/ exporttree=yes
remote, then git annex import
and git annex export
and get a normal view of files from it.YES! So cool! :)
Git annex is huge!!
Yes please a blogpost would be great!
Thanks everyone!
Thanks for a nice stream!
Thanks! Looking forward to tune in again :)
Thank you very much. I am looking forward to more RSH sessions.