plan
authorJoey Hess <joeyh@joeyh.name>
Tue, 13 Aug 2024 19:13:30 +0000 (15:13 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 13 Aug 2024 19:13:30 +0000 (15:13 -0400)
doc/todo/git-annex_proxies.mdwn

index 785326807304f9b2b911ffef86e8a401dadc7352..5e1bd0c817ad34cac14b9179a04a599890de8dfc 100644 (file)
@@ -51,6 +51,17 @@ Planned schedule of work:
 
 * `git-annex info` can use maxsize to display how full repositories are
 
+* overBranchFileContents can improve its handling of journalled files
+  by first going over the branch, and then at the end, feeding
+  the journalled filenames into catObjectStream (run on the same branch
+  sha) to check if the file was in the branch. Only pass the journalled
+  file to the callback when it was not. This will avoid innaccuracies
+  in calcRepoSizes and git-annex info.
+
+  calcRepoSizes currently skips log files in private journals,
+  when they are for a key that does not appear in the git-annex branch.
+  It needs to include those.
+
 * Implement [[track_free_space_in_repos_via_git-annex_branch]]:
 
   * Goal is for limitFullyBalanced not to need to calcRepoSizes.
@@ -83,10 +94,6 @@ Planned schedule of work:
 
     (Annex.reposizes can be updated to the resulting values.)
 
-  * calcRepoSizes currently skips log files in private journals,
-    when they are for a key that does not appear in the git-annex branch.
-    It needs to include those.
-
   * Perhaps: setRepoSize to 0 when initializing a new repo or a
     new special remote (but not when reinitializing),
     and also update Annex.reposizes for that uuid.