diff options
author | 2014-06-03 18:20:50 +0000 | |
---|---|---|
committer | 2014-06-03 18:20:50 +0000 | |
commit | 7479724e690b4a6d13dfbc2c7236c70a7cc447b5 (patch) | |
tree | e26434ebed0fd1d9aeb95a3f3ef5e910f3acfcc0 | |
parent | ab34cc77b2f9f49e0b1a338df45236fec5d712c8 (diff) |
Added a comment: Metadata vs "drop --relaxed"
-rw-r--r-- | doc/todo/wishlist:___96__git_annex_drop_--relaxed__96__/comment_6_79d115f95cec46bb51e7fba078524db1._comment | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/todo/wishlist:___96__git_annex_drop_--relaxed__96__/comment_6_79d115f95cec46bb51e7fba078524db1._comment b/doc/todo/wishlist:___96__git_annex_drop_--relaxed__96__/comment_6_79d115f95cec46bb51e7fba078524db1._comment new file mode 100644 index 000000000..6e376e316 --- /dev/null +++ b/doc/todo/wishlist:___96__git_annex_drop_--relaxed__96__/comment_6_79d115f95cec46bb51e7fba078524db1._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="erics" + ip="76.10.136.8" + subject="Metadata vs "drop --relaxed"" + date="2014-06-03T18:20:50Z" + content=""" +[This isn't as much about my suggested implementation for \"drop --relaxed\" as about whether the feature is worth providing in the first place. I'm not arguing strongly for it, actually; just continuing the discussion.] + +> I'd be inclinded to instead use the new metadata support. + +I see metadata as more for static attributes of a given file -- this thing is \"a picture\", \"related to project X\", \"from Mary\". Thus, the combination of metadata plus preferred-content settings seems to me more suitable for static preferences (likely ones that implement some kind of policy, however informal); e.g. \"this repo wants pictures but not mp3s\", or \"Mary's stuff but not Alex's\". + +\"drop --relaxed\", on the other hand, would be good for more ad-hoc usage: \"disk space is getting tight; hmm, I'm not using *foo* today, so git-annex, please delete my local copy of *${myrepo}/foo* -- but only as much as you have to, because I'm going to want it again tomorrow\". + +One reason not to want to use metadata and preferred-content settings for such short-term, ad-hoc needs is that you then have to remember to go undo the changes later. That's even worse if you had to add ad-hoc metadata, and now have to go delete it all again. Undoing a \"drop --relaxed\", on the other hand, consists of a simple \"git annex get\". + +"""]] |