diff options
author | 2017-09-29 12:55:42 -0400 | |
---|---|---|
committer | 2017-09-29 12:55:42 -0400 | |
commit | 0dfc1d4e6eb37aadaba47a210539b2438fba97f5 (patch) | |
tree | e0beee12909c581f06829060a93a72d6686ca730 /doc/todo/ability_to_set_metadata_from_json.mdwn | |
parent | bd2a9fb40ef0bbe812e8ea375a5caabd6e628ef2 (diff) |
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were last edited or commented before 2017.
Command line used:
for f in $(grep -l '|done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done
for f in $(grep -l '\[\[done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done
Diffstat (limited to 'doc/todo/ability_to_set_metadata_from_json.mdwn')
-rw-r--r-- | doc/todo/ability_to_set_metadata_from_json.mdwn | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/doc/todo/ability_to_set_metadata_from_json.mdwn b/doc/todo/ability_to_set_metadata_from_json.mdwn deleted file mode 100644 index 1129650a0..000000000 --- a/doc/todo/ability_to_set_metadata_from_json.mdwn +++ /dev/null @@ -1,13 +0,0 @@ -I can export metadata to JSON format, which is nice as this can now be read -into any other tool and manipulated. But I cannot find a way to set the -metadata from JSON and so I am left to figure out what changes need to be -made via the g-a interface to get to the desired state, and that is hard to -get right. - -Maybe g-a metadata could grow an import-json function which would set -(overwrite) the metadata for the given file(s) from JSON input. - -Thanks, --m - -> [[done]] via `git annex metadata --batch --json` --[[Joey]] |