summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://mildred.fr/ <http://mildred.fr/@web>2014-04-02 15:58:23 +0000
committerGravatar admin <admin@branchable.com>2014-04-02 15:58:23 +0000
commit00f0adaf2f55a47d2c8593117539ff6401576ce5 (patch)
treed6067f5e9f2fa59c3694f4d6ad1c5815b41ed201
parent83c5f0742c6e864e8ac3d53d93e916e38bdd5430 (diff)
-rw-r--r--doc/todo/using_file_metadata_for_preferred___40__wanted__41___content.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/todo/using_file_metadata_for_preferred___40__wanted__41___content.mdwn b/doc/todo/using_file_metadata_for_preferred___40__wanted__41___content.mdwn
new file mode 100644
index 000000000..d9226d21f
--- /dev/null
+++ b/doc/todo/using_file_metadata_for_preferred___40__wanted__41___content.mdwn
@@ -0,0 +1,12 @@
+Having the option of choosing for every file if we want it in our repository or not would be a great feature. It is currently possible using the wanted expression, but it is not very flexible, or it becomes unmaintainable.
+
+I tried with two repositories a and b, with the following wanted expressions :
+
+* for a: `not metadata=unwanted=<uuid-of-a>`
+* for b: `not metadata=unwanted=<uuid-of-b>`
+
+I think those expressions should be included in standard wanted expressions.
+
+Also, to improbe the feature, it should be possible to set (or remove) metadata in directories, and those should automatically affect their content.
+
+And we could imagine a `git annex unwant` command that would add the unwanted metadata to a file, copy it to other repositories, and attempt to drop it.