diff mbox series

TODO: Cleanup obsolete info

Message ID 20250218231900.1468007-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 71fba3b193711104c83c15c961c15da346da6d4f
Headers show
Series TODO: Cleanup obsolete info | expand

Commit Message

Richard Purdie Feb. 18, 2025, 11:19 p.m. UTC
The file has some useful items but also something things which are obsolete.
Clean it up.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 TODO | 65 ++++++++++++++++++------------------------------------------
 1 file changed, 19 insertions(+), 46 deletions(-)
diff mbox series

Patch

diff --git a/TODO b/TODO
index 54d091fb84..4e0bd9a791 100644
--- a/TODO
+++ b/TODO
@@ -1,36 +1,31 @@ 
-- Reimplement the interactive mode as a proper ui
-- Continue dropping fatal/SystemExit/sys.exit usage in favor of raising
-  appropriate exceptions
-- Continue pylint / pyflakes / pychecker / pep8 fixups
+
+- Interfaces
+  - Add an interactive mode to knotty (similar to the interactive mode we dropped)
+  - Fix up or drop the ncurses interface? Currently too limited to be useful.
+  - Concerns about whether teamcity interface works. No testing.
+
+- Improve exception handling:
+  - dropping fatal/SystemExit/sys.exit usage in favor of raising
+    appropriate exceptions
+  - Audit bb.fatal usage - these should all be able to be replaced with
+    exceptions
+
+- Continue pylint / pyflakes / pychecker / pep8 fixups - focus on real issues
+  or performance issues, not cosmetic ones.
+
 - Drop os.system usage in favor of direct subprocess usage or a subprocess
   wrapper
-- Kill the execution of 'tee' for the task log file in build.py
-- Fix up the exception handling
-
-  - Kill exec_task's catch of FuncFailed, instead catch it in the other
-    callers of exec_task/exec_func
-  - What exactly is the purpose of the "EventException"?  I can see using an
-    exception like that, *perhaps*, to abstract away exceptions raised by
-    event handlers, but it has no place in bb.build.exec_task
 
 - BUG: if you chmod 000 local.conf, it silently doesn't parse it, when it
   should really fail, so the user can fix the problem.
 
-- Audit bb.fatal usage - these should all be able to be replaced with
-  exceptions
-- Figure out how to handle the ncurses UI.  Should some of our logging
-  formatting stuff be made common to all of bitbake, or perhaps all UIs via
-  the UIHelper?
 
 Long term, high impact:
 
-  - Change override application to actually *move* it over -- so the original
-    override specific version of the variable goes away, rather than sticking
-    around as a duplicate.
-  - Change the behavior when a variable is referenced and is unset.  Today, it
-    evaluates to ${FOO} and then shell has a chance to expand it, but this is
-    far from ideal.  We had considered evaluating it to the empty string, but
-    that has other potential problems.  Frans Meulenbroeks has proposed just
+  - Consider changing the behavior when a variable is referenced and is unset
+    Today, it evaluates to ${FOO} and then shell has a chance to expand it, but
+    this is far from ideal.  We had considered evaluating it to the empty string,
+    but that has other potential problems.  Frans Meulenbroeks has proposed just
     erroring when this occurs, as we can always define default values for the
     variables in bitbake.conf.  This seems reasonable.  My only concern with
     that is the case where you want to reference a shell variable with odd
@@ -38,25 +33,3 @@  Long term, high impact:
     expansion rather than normal $.  To handle that case, we'd really need a
     way to escape / disable bitbake variable expansion, \${} perhaps.
 
-Uncertain:
-
-  - Leverage the python 2.6 multiprocessing module
-
-    - Worker processes for bb.cooker
-    - Server / UI processes
-
-  - Create a bitbake configuration class which is utilized by the library, not
-    just bin/bitbake.  This class should be responsible for extracting
-    configuration parameters from the metadata for bitbake internal use, as well
-    as pulling specific items like BBDEBUG, and importing settings from an
-    optparse options object.
-
-  - Python version bits
-
-    - Utilize the new string formatting where appropriate
-    - Do we need to take into account the bytes literals changes?
-    - Do we have any file-like objects that would benefit from using the "io"
-      module?
-    - Do we want to leverage the abstract base classes in collections?
-    - Aside: Set methods now accept multiple iterables
-