From: Joey Hess Date: Mon, 5 Oct 2020 16:57:16 +0000 (-0400) Subject: comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~112^2~25 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9e12e4c4194a07a864cf3e48a9b75607d1514fa7;p=git-annex.git comment --- diff --git a/doc/bugs/standalone_runshell_can_race_and_fail_to_remove___96____126____47__.cache__47__git-annex__47__locales__47____96___dirs/comment_3_57681d5959095d9a3e6ea9e4d0679c85._comment b/doc/bugs/standalone_runshell_can_race_and_fail_to_remove___96____126____47__.cache__47__git-annex__47__locales__47____96___dirs/comment_3_57681d5959095d9a3e6ea9e4d0679c85._comment new file mode 100644 index 0000000000..206e3b1ce3 --- /dev/null +++ b/doc/bugs/standalone_runshell_can_race_and_fail_to_remove___96____126____47__.cache__47__git-annex__47__locales__47____96___dirs/comment_3_57681d5959095d9a3e6ea9e4d0679c85._comment @@ -0,0 +1,19 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2020-10-05T16:46:25Z" + content=""" +I thought you were mostly using git-annex-standalone.deb @yoh, +and that, I think sets `GIT_ANNEX_PACKAGE_INSTALL` which prevents doing +anything with locales. + +It does a minumum amount of work every time to get the locales +available, which is necessary because the user might have deleted the cache +since a previous run. If the cached files are available, it does not do +anything expensive. Clearing the old cache, which is what happened to fail +here, needs to be done at some point, and only happens once per old cache +directory, so I see no way to improve performance of that. + +Anyway, something needs to be done to make runshell's updating of this +stuff idempotent, clearly. +"""]]