aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Main.hs')
-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.