From f4481ee74882fd2545c5a47d4d52644e34ac3703 Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Wed, 12 Jul 2017 17:30:33 +0000 Subject: [PATCH 1/2] Added a comment: special remotes with versioning support --- ..._fcd9890013371dae6ffcd00561b8c625._comment | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/design/exporting_trees_to_special_remotes/comment_5_fcd9890013371dae6ffcd00561b8c625._comment diff --git a/doc/design/exporting_trees_to_special_remotes/comment_5_fcd9890013371dae6ffcd00561b8c625._comment b/doc/design/exporting_trees_to_special_remotes/comment_5_fcd9890013371dae6ffcd00561b8c625._comment new file mode 100644 index 0000000000..fb73f0622d --- /dev/null +++ b/doc/design/exporting_trees_to_special_remotes/comment_5_fcd9890013371dae6ffcd00561b8c625._comment @@ -0,0 +1,28 @@ +[[!comment format=mdwn + username="yarikoptic" + avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4" + subject="special remotes with versioning support" + date="2017-07-12T17:30:33Z" + content=""" +thanks -- I will check those all out! + +Meanwhile a quick one regarding \"I'm not clear about what you're suggesting be done with versioning support in external special remotes?\". + +I meant that in some cases there might be no need for any custom/special tracking per exported file would be needed -- upon export we could just register a unique URL for that particular version of the file for the corresponding KEY so later on it could be 'annex get'ed even if a new version of the file gets uploaded or removed. So annex could just store those treeish(es) hexsha on what was exported last without any explicit additional tracking per file. URL might be some custom one to be handled by the special remote backend. + +E.g. here is a list of versions (and corresponding urls) for a sample file on the s3 bucket + +[[!format sh \"\"\" +$> datalad ls -aL s3://datalad-test0-versioned/3versions-allversioned.txt +Connecting to bucket: datalad-test0-versioned +[INFO ] S3 session: Connecting to the bucket datalad-test0-versioned +Bucket info: + Versioning: {'MfaDelete': 'Disabled', 'Versioning': 'Enabled'} + Website: datalad-test0-versioned.s3-website-us-east-1.amazonaws.com + ACL: +3versions-allversioned.txt ... http://datalad-test0-versioned.s3.amazonaws.com/3versions-allversioned.txt?versionId=Kvuind11HZh._dCPaDAb0OY9dRrQoTMn [OK] +3versions-allversioned.txt ... http://datalad-test0-versioned.s3.amazonaws.com/3versions-allversioned.txt?versionId=b.qCuh7Sg58VIYj8TVHzbRS97EvejzEl [OK] +3versions-allversioned.txt ... http://datalad-test0-versioned.s3.amazonaws.com/3versions-allversioned.txt?versionId=pNsV5jJrnGATkmNrP8.i_xNH6CY4Mo5s [OK] +3versions-allversioned.txt_sameprefix ... http://datalad-test0-versioned.s3.amazonaws.com/3versions-allversioned.txt_sameprefix?versionId=Mvsc4FgJWc6gExwSw1d6wsLrnk6wdDVa [OK] +\"\"\"]] +"""]] From 3ba8cce61f27f5e36de00fb79a0d41a800781578 Mon Sep 17 00:00:00 2001 From: yarikoptic Date: Wed, 12 Jul 2017 17:57:22 +0000 Subject: [PATCH 2/2] Added a comment: For Debian/Ubuntu users -- get git-annex-standalone from NeuroDebian --- .../comment_2_ba3985a5cbd9f5682807d2bdbb9874e2._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/install/comment_2_ba3985a5cbd9f5682807d2bdbb9874e2._comment diff --git a/doc/install/comment_2_ba3985a5cbd9f5682807d2bdbb9874e2._comment b/doc/install/comment_2_ba3985a5cbd9f5682807d2bdbb9874e2._comment new file mode 100644 index 0000000000..4db93ac341 --- /dev/null +++ b/doc/install/comment_2_ba3985a5cbd9f5682807d2bdbb9874e2._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="yarikoptic" + avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4" + subject="For Debian/Ubuntu users -- get git-annex-standalone from NeuroDebian" + date="2017-07-12T17:57:21Z" + content=""" +We provide quite an up-to-date standalone backport build of git-annex (package name [git-annex-standalone](http://neuro.debian.net/pkgs/git-annex-standalone.html)) through NeuroDebian for all Debian/Ubuntus, so you might want to enable NeuroDebian repository (`apt-get install neurodebian` on a recent debian/ubuntu or follow [NeuroDebian website](http://neuro.debian.net) for instructions). +"""]]