aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-12-12 04:21:08 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-12-12 04:21:08 +0100
commitc3d1317f85c23fa13f7e141f20641b6774c7fe47 (patch)
treeeef66c1c4d13c5916221ecc9eab37880cfcb178f /app
parente33ff2188d42d21822ac3eaeca886aa01429230b (diff)
issue: add future improvements
Diffstat (limited to 'app')
-rw-r--r--app/Main.hs29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/Main.hs b/app/Main.hs
index ed9ba30..928f1c4 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -1,3 +1,32 @@
+-- TODO Compute patches only when demanded
+--
+-- Currently, `IssueEvents` contain patches of the relevant issues. These
+-- patches are computed upfront, and also when not needed (ie. if not shown).
+-- Additionally, there are cached.
+--
+-- I think it would be sufficient to compute patches on-the-fly, ie. when
+-- requested to be shown.
+
+-- TODO Compute history from the top
+--
+-- Currently we are computing the history from the bottom (ie. earliest commit
+-- first). When computing history from the top, it might allow us to interrupt
+-- the process and present slightly inaccurate information earlier.
+
+-- TODO Add support for cache progress
+--
+-- When generating caches, `anissue` can sometimes run for a long time without
+-- producing any output. I would like `anissue` to output a live progress
+-- report when run from an interactive shell.
+--
+-- That progress output should include:
+--
+-- - the total number of commits having to be analyzed
+-- - the number of analyzed (including cached) commits
+-- - the estimated time of completion in format %M:%s
+--
+-- The progress output should not exceed a single terminal line.
+
-- TODO Add `anissue format`
--
-- `anissue format` should format all open issues according to the formatting rules.