move old fixed datalad/dandi/repronim bugs to the project pages

This is to cut down on the number of files in bugs/, which makes it slow
to file new bug reports or update active bug reports. These old bugs
were about 1/3rd of the files in there. These projects want lists of
their old bugs to still be accessible, and have the lists on their
project pages, which will still list the old bugs.

Commands used:

for f in $(git grep -l '\[\[!tag projects/dandi\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/dandi/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/dandi/bugs-done; fi; fi; done
for f in $(git grep -l '\[\[!tag projects/repronim\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/repronim/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/repronim/bugs-done; fi; fi; done
for f in $(git grep -l '\[\[!tag projects/datalad\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/datalad/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/datalad/bugs-done; fi; fi; done

That assumes that bugs are not tagged by multiple projects at the same
time. Of the ones I moved, I've checked and none are.

Could do the same with todo/ but there are only 370 files in there, and
less than 84 of them could be moved this way, which does not seem likely
to produce a sizeable speedup.

Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
Joey Hess 2023-01-05 13:16:15 -04:00
parent 946fc20165
commit bcc69f07e8
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
1011 changed files with 4 additions and 4 deletions
doc/projects
dandi.mdwn
dandi/bugs-done
addurl__58___content-disposition_field_should_be_taken_as_is_without_obfuscation_.mdwn
addurl__58___content-disposition_field_should_be_taken_as_is_without_obfuscation_
addurl_failure_has_empty_error-messages.mdwn
addurl_failure_has_empty_error-messages
be_like_git_and_ask_for_credentials_if_404.mdwn
be_like_git_and_ask_for_credentials_if_404
beegfs__58___init_tests_FAIL_resource_busy.mdwn
beegfs__58___init_tests_FAIL_resource_busy
fsck_--key_without___34__chunking__34___information_in_git-annex_does_not_try_chunks.mdwn
fsck_--key_without___34__chunking__34___information_in_git-annex_does_not_try_chunks
git-lfs_remote_URL_is_not_recorded__63__.mdwn
git-lfs_remote_URL_is_not_recorded__63__
impossible__40____63____41___to_continuously_re-import_a_directory_while_keeping_original_files_in_place.mdwn
impossible__40____63____41___to_continuously_re-import_a_directory_while_keeping_original_files_in_place
initremote_type__61__git_is_not_working_for_unkn_reason.mdwn
initremote_type__61__git_is_not_working_for_unkn_reason
leaks_git_config_error_message_upon_inability_to_read_downloaded___34__config__34___file.mdwn
leaks_git_config_error_message_upon_inability_to_read_downloaded___34__config__34___file
many___40__2x_jobs__63____41___sleeping__hash-object__processes__63__.mdwn
many___40__2x_jobs__63____41___sleeping__hash-object__processes__63__
metadata_cmd._vs._--json-error-messages.mdwn
metadata_cmd._vs._--json-error-messages
move.log__58___openFile__58___resource_busy___40__file_is_locked__41__.mdwn
move.log__58___openFile__58___resource_busy___40__file_is_locked__41__
reports_file___34__modified__34___whenever_it_is_not.mdwn
reports_file___34__modified__34___whenever_it_is_not
standalone_needs_more_depends_-_libgcc-s1__63__.mdwn
standalone_needs_more_depends_-_libgcc-s1__63__
datalad.mdwn
datalad/bugs-done
--debug_is_not_in_effect_if_precedes_-c.mdwn
--debug_is_not_in_effect_if_precedes_-c
1_test_failure_under_conda_on_Windows_10__58___prop__95__view__95__roundtrips.mdwn
1_test_failure_under_conda_on_Windows_10__58___prop__95__view__95__roundtrips
2_mac_crippled_FS__58___Unable_to_remove_all_write.mdwn
2_mac_crippled_FS__58___Unable_to_remove_all_write
2_ssh_connection_prompts_for_password.mdwn
2_ssh_connection_prompts_for_password
A_case_where_file_tracked_by_git_unexpectedly_becomes_annex_pointer_file.mdwn
A_case_where_file_tracked_by_git_unexpectedly_becomes_annex_pointer_file

View file

@ -21,6 +21,6 @@ DANDI: Distributed Archives for Neurophysiology Data Integration is a platform f
<details>
<summary>Done</summary>
[[!inline pages="bugs/* and !bugs/done and link(bugs/done) and tagged(projects/dandi)" sort=mtime feeds=no actions=yes archive=yes show=0 template=buglist]]
[[!inline pages="(bugs/* or projects/dandi/bugs-done/*) and !bugs/done and link(bugs/done) and tagged(projects/dandi)" sort=mtime feeds=no actions=yes archive=yes show=0 template=buglist]]
</details>

View file

@ -24,7 +24,7 @@ My bugs
<details>
<summary>Fixed</summary>
[[!inline pages="bugs/* and !bugs/done and link(bugs/done) and
(author(mih) or author(ben) or author(kyle) or tagged(projects/datalad))" feeds=no actions=yes archive=yes show=0 template=buglist template=buglist]]
[[!inline pages="(bugs/* or projects/datalad/bugs-done/*) and !bugs/done and link(bugs/done) and
(author(mih) or author(ben) or author(kyle) or tagged(projects/datalad))" feeds=no actions=yes archive=yes show=0 template=buglist]]
</details>

Some files were not shown because too many files have changed in this diff Show more