From dbfc00e2a6ad99200da35f75f889174cd7bfd195 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 19 Apr 2016 13:46:11 -0400 Subject: 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 Q3 2015. Command line used: for f in $(grep -l '\[\[done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=09-09-2015 --pretty=oneline -- "$f")" -a -z "$(git log --since=09-09-2015 --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=09-09-2015 --pretty=oneline -- "$f")" -a -z "$(git log --since=09-09-2015 --pretty=oneline -- "$d")" ]; then git rm -- "$f"; git rm -rf "$d"; fi; done --- .../comment_1_0156942b1629ee994bf3699a56b3ceb7._comment | 11 ----------- .../comment_2_15a6571d57794c3f1268c7a064e05bef._comment | 13 ------------- .../comment_3_62601714648631a31dee366a5a2e8f44._comment | 7 ------- 3 files changed, 31 deletions(-) delete mode 100644 doc/todo/Add___39__dir__39___option_to_addurl/comment_1_0156942b1629ee994bf3699a56b3ceb7._comment delete mode 100644 doc/todo/Add___39__dir__39___option_to_addurl/comment_2_15a6571d57794c3f1268c7a064e05bef._comment delete mode 100644 doc/todo/Add___39__dir__39___option_to_addurl/comment_3_62601714648631a31dee366a5a2e8f44._comment (limited to 'doc/todo/Add___39__dir__39___option_to_addurl') diff --git a/doc/todo/Add___39__dir__39___option_to_addurl/comment_1_0156942b1629ee994bf3699a56b3ceb7._comment b/doc/todo/Add___39__dir__39___option_to_addurl/comment_1_0156942b1629ee994bf3699a56b3ceb7._comment deleted file mode 100644 index 112c4bb6b..000000000 --- a/doc/todo/Add___39__dir__39___option_to_addurl/comment_1_0156942b1629ee994bf3699a56b3ceb7._comment +++ /dev/null @@ -1,11 +0,0 @@ -[[!comment format=mdwn - username="joey" - subject="""comment 1""" - date="2015-07-20T16:19:15Z" - content=""" ---file=subdir/foo will work, assuming subdir already exists. - -If the goal is just to add whatever filename addurl comes up with by -default to a subdirectory, why not just `cd` to that subdir before -running addurl? -"""]] diff --git a/doc/todo/Add___39__dir__39___option_to_addurl/comment_2_15a6571d57794c3f1268c7a064e05bef._comment b/doc/todo/Add___39__dir__39___option_to_addurl/comment_2_15a6571d57794c3f1268c7a064e05bef._comment deleted file mode 100644 index 95504b1b2..000000000 --- a/doc/todo/Add___39__dir__39___option_to_addurl/comment_2_15a6571d57794c3f1268c7a064e05bef._comment +++ /dev/null @@ -1,13 +0,0 @@ -[[!comment format=mdwn - username="CandyAngel" - subject="comment 2" - date="2015-07-21T12:11:45Z" - content=""" -I was hoping something like tar's *-C*, or unzip's *-d* options would be easy to implement, given that git-annex will already create required directories when using --pathdepth. As far as I can tell, you can't mix --file and --pathdepth.. I'd have to reimplemnt --pathdepth and the directory creation in my script, which while not a major problem in Perl (aside from reinventing a potentially inferior wheel), may be if someone is using shell scripting. - -Maybe this request can be more generalised to *--prefix*? - -Then people could use --prefix to either just prefix the filename or set a directory for it to be put into. I had a look at Command/AddUrl.hs to see how feasible that would be but I'm struggling to follow it (not knowing Haskell yet). - -In the meantime(?), I have made my script remember the original directory it was started in and it cd's about as needed. -"""]] diff --git a/doc/todo/Add___39__dir__39___option_to_addurl/comment_3_62601714648631a31dee366a5a2e8f44._comment b/doc/todo/Add___39__dir__39___option_to_addurl/comment_3_62601714648631a31dee366a5a2e8f44._comment deleted file mode 100644 index d521008bc..000000000 --- a/doc/todo/Add___39__dir__39___option_to_addurl/comment_3_62601714648631a31dee366a5a2e8f44._comment +++ /dev/null @@ -1,7 +0,0 @@ -[[!comment format=mdwn - username="CandyAngel" - subject="comment 3" - date="2015-07-22T07:41:53Z" - content=""" -Yay! Awesome, thank you :) -"""]] -- cgit v1.2.3