diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-09-29 12:55:42 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-09-29 12:55:42 -0400 |
commit | 0dfc1d4e6eb37aadaba47a210539b2438fba97f5 (patch) | |
tree | e0beee12909c581f06829060a93a72d6686ca730 /doc/todo/metadata_--batch/comment_1_5cfe3b1a2847cfddd46ab6be249a74e4._comment | |
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/metadata_--batch/comment_1_5cfe3b1a2847cfddd46ab6be249a74e4._comment')
-rw-r--r-- | doc/todo/metadata_--batch/comment_1_5cfe3b1a2847cfddd46ab6be249a74e4._comment | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/todo/metadata_--batch/comment_1_5cfe3b1a2847cfddd46ab6be249a74e4._comment b/doc/todo/metadata_--batch/comment_1_5cfe3b1a2847cfddd46ab6be249a74e4._comment deleted file mode 100644 index 54cbe6fa6..000000000 --- a/doc/todo/metadata_--batch/comment_1_5cfe3b1a2847cfddd46ab6be249a74e4._comment +++ /dev/null @@ -1,16 +0,0 @@ -[[!comment format=mdwn - username="joey" - subject="""comment 1""" - date="2016-02-19T19:18:41Z" - content=""" -The metadata command is pretty complex. A batch interface would need to -cover both setting and getting. - -There are four different ways to change a value, so it would probably -make sense for the input to be of the form "file field=value" -or "file field+=value" or "file field-=value" or "file field?=value" - -A field can have multiple values, including "". So, a batch interface -to querying the value would need to handle that in its output. Perhaps -json output? -"""]] |