summaryrefslogtreecommitdiff
path: root/gnulib-tool.py.TODO
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-08-07 17:02:21 +0200
committerBruno Haible <bruno@clisp.org>2022-08-07 23:04:18 +0200
commit72ac023526e84e7847cc67788be9afca2f3204fb (patch)
tree91676bb8151ed5c33fb978018853be559becc5c7 /gnulib-tool.py.TODO
parent858467abd14f2f513d407dbdc5a5093dc0147096 (diff)
downloadgnulib-72ac023526e84e7847cc67788be9afca2f3204fb.tar.gz
gnulib-tool.py: Implement option --find.
* pygnulib/GLModuleSystem.py (GLModuleSystem.file_is_module): New method. (GLModuleSystem.list): Filter the listing in memory; don't use a 'sed' subprocess. * gnulib-tool.py (main): Handle mode 'find'.
Diffstat (limited to 'gnulib-tool.py.TODO')
-rw-r--r--gnulib-tool.py.TODO5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnulib-tool.py.TODO b/gnulib-tool.py.TODO
index 53915662b8..a46da5e2ad 100644
--- a/gnulib-tool.py.TODO
+++ b/gnulib-tool.py.TODO
@@ -20,7 +20,6 @@ Inline all 'sed' invocations.
--------------------------------------------------------------------------------
Implement the options:
- --find
--extract-recursive-dependencies
--extract-recursive-link-directive
--extract-tests-module
@@ -37,6 +36,10 @@ Implement the options:
Remove exit() in GLImport.py.
+Optimize:
+ - GLModuleSystem: Parse each module description only once.
+ - os.chdir around subprocess creation -> cwd=... argument instead.
+
--------------------------------------------------------------------------------
commit 76c7703cb2e9e0e803d1296618d8ab9e86e13d6c