diff options
author | Bruno Haible <bruno@clisp.org> | 2022-07-31 18:39:19 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-07-31 23:52:27 +0200 |
commit | 6bdf668e5748a511082efed773b2b127e93fcb1d (patch) | |
tree | 4096874c27798c4bb6a647899436b1aa0304a3b0 /gnulib-tool.py.TODO | |
parent | 18dcc627ddeced96bc192e169bf19e1a38c53374 (diff) | |
download | gnulib-6bdf668e5748a511082efed773b2b127e93fcb1d.tar.gz |
gnulib-tool.py: Follow gnulib-tool changes, part 19.
Follow gnulib-tool changes
2015-12-09 Pavel Raiskup <praiskup@redhat.com>
gnulib-tool: allow multiple --local-dir usage
2019-02-14 Bruno Haible <bruno@clisp.org>
gnulib-tool: Improve handling of multiple --local-dir options.
* gnulib-tool (func_reconstruct_cached_dir): When the argument is
absolute, return it unmodified.
(func_compute_relative_local_gnulib_path): Renamed from
func_count_relative_local_gnulib_path. Add comment.
* gnulib-tool.py: Accept multiple --local-dir options and collect the
values into localpath.
* pygnulib/GLConfig.py: Take a localpath argument instead of a localdir
argument.
(getLocalDir, setLocalDir, resetLocalDir): Remove methods.
(getLocalPath, setLocalPath, resetLocalPath): New methods.
* pygnulib/GLFileSystem.py (CopyAction): New class.
(GLFileSystem.lookup): Consider all dirs in localpath.
(GLFileSystem.shouldLink): New method.
(GLFileAssistant): Use shouldLink.
* pygnulib/GLModuleSystem.py (GLModuleSystem.exists): Iterate over all
dirs in localpath.
(GLModuleSystem.list): Likewise.
* pygnulib/GLEmiter.py: Update.
* pygnulib/GLImport.py (GLImport.__init__): Put the argument of
gl_LOCAL_DIR into localpath, not localdir.
(GLImport.actioncmd): Consider all dirs in localpath.
(GLImport.relative_to_destdir, GLImport.relative_to_currdir): New
methods.
(GLImport.gnulib_cache): Combine all dirs in localpath. Use
self.relative_to_destdir.
* pygnulib/GLTestDir.py (GLTestDir.execute): Use shouldLink.
Diffstat (limited to 'gnulib-tool.py.TODO')
-rw-r--r-- | gnulib-tool.py.TODO | 90 |
1 files changed, 31 insertions, 59 deletions
diff --git a/gnulib-tool.py.TODO b/gnulib-tool.py.TODO index c0a2c975f3..26c59c5353 100644 --- a/gnulib-tool.py.TODO +++ b/gnulib-tool.py.TODO @@ -15,6 +15,37 @@ The following commits to gnulib-tool have not yet been reflected in -------------------------------------------------------------------------------- +Implement the options: + --find + --without-tests + --without-c++-tests + --without-longrunning-tests + --without-privileged-tests + --without-unportable-tests + --single-configure + --conditional-dependencies + --no-conditional-dependencies + --gnu-make + --tests-makefile-name + --automake-subdir + --no-libtool + --macro-prefix + --po-domain + --witness-c-macro + --vc-files + --no-vc-files + --no-changelog + -s | --symbolic + --local-symlink + -h | --hardlink + --local-hardlink + -S | --more-symlinks + -H | --more-hardlinks + --help (same output) + --version + +-------------------------------------------------------------------------------- + commit 76c7703cb2e9e0e803d1296618d8ab9e86e13d6c Author: Akim Demaille <akim.demaille@gmail.com> Date: Mon Jul 4 07:18:07 2022 +0200 @@ -1079,65 +1110,6 @@ Date: Wed May 1 13:39:22 2013 +0900 -------------------------------------------------------------------------------- -commit 49137e3bc6a2b3fd83c502a514e4a3b89fc1571c -Author: Bruno Haible <bruno@clisp.org> -Date: Thu Feb 14 20:50:57 2019 +0100 - - gnulib-tool: Improve handling of multiple --local-dir options. - - * doc/gnulib.texi (Extending Gnulib): Explain how multiple --local-dir - options work. - * gnulib-tool (func_path_prepend): Remove function. - (func_path_foreach): Make IFS handling more robust. - (local_gnulib_path): Collect --local-dir values using func_path_append, - not func_path_prepend. - (func_determine_path_separator): Make IFS handling more robust. - (func_lookup_file_cb): New function. - (func_lookup_file): Rewritten to use func_lookup_file_cb instead of - func_lookup_local_file. Apply the patches in the reverse order of their - origin in $local_gnulib_path. - (func_count_relative_local_gnulib_path): Make IFS handling more robust. - * NEWS: Mention that the first --local-dir option is the one with - highest priority. - -commit 55c6f22b8043843aa7cf6843326eb4abed4de75c -Author: Pavel Raiskup <praiskup@redhat.com> -Date: Sat Nov 21 14:09:15 2015 +0100 - - gnulib-tool: allow multiple --local-dir usage - - * gnulib-tool: Use --local-dir to construct compound - $local_gnulib_path path instead of $local_gnulib_dir. Determine - PATH_SEPARATOR early. - (local_gnulib_dir): Rename into $local_gnulib_path everywhere. - (func_gnulib_dir): Cut out PATH_SEPARATOR detection code into - func_determine_path_separator because that needs to be detected - earlier now. - (func_determine_path_separator): New function. - (func_path_foreach, func_path_foreach_inner): New functions. - (func_path_prepend, func_path_append): Likewise. - (func_lookup_local_file, func_lookup_local_file_cb): Likewise. - (func_lookup_file, func_all_modules): Use new functions to work - with local_gnulib_path. - (func_modules_in_dir, func_exists_module): New callbacks for - func_path_foreach. - (func_exists_module, func_get_tests_module): Likewise. - (func_is_local_file, func_should_symlink): New helper methods. - (func_add_file, func_update_file): Use new func_should_symlink - instead, DRY. - (func_reconstruct_cached_local_gnulib_path): New helper. - (func_reconstruct_cached_dir): New callback. - (func_import): The cached_local_gnulib_dir renamed to - cached_local_gnulib_path similarly to local_gnulib_dir. - Use new func_reconstruct_cached_local_gnulib_path. - (func_count_relative_local_gnulib_path): New sub-method. - (func_create_testdir): Use func_should_symlink, DRY. - (func_create_megatestdir): Use new functions to work with - local_gnulib_path correctly. - (func_append_local_dir): New helper. - --------------------------------------------------------------------------------- - commit 9bdf6c8a0cdeb13c12e4b65dee9538c5468dbe1d Author: Bruno Haible <bruno@clisp.org> Date: Sun Aug 19 14:06:50 2012 +0200 |