diff options
author | Bruno Haible <bruno@clisp.org> | 2022-08-07 17:02:21 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-08-07 23:04:18 +0200 |
commit | 72ac023526e84e7847cc67788be9afca2f3204fb (patch) | |
tree | 91676bb8151ed5c33fb978018853be559becc5c7 /gnulib-tool.py.TODO | |
parent | 858467abd14f2f513d407dbdc5a5093dc0147096 (diff) | |
download | gnulib-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.TODO | 5 |
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 |