xonsh/tests
Andy Kipp 059fc301e7
Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544)
* remove commands_cache from pyghooks to avoid cc.update_cache on every key press

* create executables.py

* replace cc.locate_binary to locate_executable

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* vc: replace locate_binary

* pyghooks: remove commands_cache

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused func _yield_executables

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Move `executables_in` from tools to commands_cache to avoid circular imports.

* First steps to `procs.executables` that is based on `commands_cache` and `tools`.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* test_executables

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add not recommended notes

* tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Add `get_paths` with test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix source test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* vc: remove tests because commands cache is not used

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* specs: fix exception for recursive call

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* specs: fix exception for recursive call

* improve test_locate_executable

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix test

* beautify pathext

* tests

* docs

* tests

* update locators

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* locate_file

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* comments

* return environ locate bin test

* comments

* Update xonsh/procs/executables.py

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>

* Update xonsh/procs/executables.py

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>

* Update xonsh/procs/executables.py

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* add itertools

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* moving is_executable

* doc

* optimization is_executable_in_windows

* micro improvements

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* news

* news

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* bump test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: a <1@1.1>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2024-07-09 09:44:03 +02:00
..
aliases Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
api refactoring: create xonsh.api, update xonsh.lib (#5557) 2024-06-29 11:58:11 +02:00
bin Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
built_ins refactoring: move tests to component dirs: lib, procs (#5558) 2024-06-29 11:23:16 +02:00
completers fix: argparse based completions should work in newer python versions (#5542) 2024-06-27 11:55:39 +05:30
history refactoring: move lazy to lib (#5560) 2024-06-29 12:19:08 +02:00
lib refactoring: move lazy to lib (#5560) 2024-06-29 12:19:08 +02:00
man1 improve completers (#4648) 2022-01-27 21:22:36 +05:30
parsers refactoring: restore parser to backwards compatibility after refactoring (#5571) 2024-07-03 10:33:17 +02:00
platform refactoring: move platform, winutils, macutils to platform submodule (#5549) 2024-06-29 02:01:15 +02:00
procs Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
prompt Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
scripts xonsh script.xsh should not fail over 2017-01-11 21:59:42 +08:00
shell refactoring: deprecation warnings and revert shell moving for backwards compatibility (#5575) 2024-07-04 17:24:04 +02:00
xoreutils Py 312 pre-liminary support (#5156) 2023-07-04 22:18:37 +05:30
xpack fix: do not append empty/comment-only input to history (#4822) 2022-05-26 17:50:08 +05:30
.somedotfile dotfile matching 2018-09-12 18:12:02 -04:00
bashrc.sh added tests for foreign shells 2015-10-10 19:52:53 -04:00
batch.bat Add test for sourcing bat file on windows 2016-04-18 00:41:11 +02:00
conftest.py Fix vox env dir (#4736) 2022-03-27 17:12:52 +05:30
run_pwd.xsh more fixes 2016-09-09 00:58:32 -04:00
sample.xsh fixed up dashing 2018-11-08 13:16:44 -05:00
test_aliases.py feat: add superhelp and additional context via new FuncAlias (#5366) 2024-05-13 09:11:58 -04:00
test_ansi_colors.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_builtins.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_cli_utils.py Fix argparser (#5421) 2024-05-16 16:31:05 +05:30
test_color_tools.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_commands_cache.py Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
test_completer.py Use substring for env completion and better way to sort list (#5388) 2024-05-03 10:30:14 +02:00
test_completion_context.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_contexts.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_dirstack.py fix(dirstack): use XSH.env for $HOME check, not os.path (#5211) 2023-09-25 14:53:15 +06:00
test_dirstack_unc.py refactor: update line length to default setting 2024-04-16 11:23:35 -04:00
test_environ.py refactoring: tests for case when env var is class with repr. (#5583) 2024-07-05 23:23:36 +02:00
test_events.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_execer.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_foreign_shells.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_imphooks.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_integrations.py Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
test_main.py refactoring: fix test_main on mac (#5570) 2024-07-03 08:10:03 +02:00
test_man.py style: sort imports 2022-03-24 19:49:30 +05:30
test_news.py [pre-commit.ci] pre-commit autoupdate (#5271) 2024-01-30 12:23:50 +01:00
test_pyghooks.py refactoring: move lazy to lib (#5560) 2024-06-29 12:19:08 +02:00
test_tools.py Introduce new resolver for executables to replace commands_cache usages and speed up everything (#5544) 2024-07-09 09:44:03 +02:00
test_virtualenv_activator.py fix: update virtualenv activator (#5419) 2024-05-16 14:29:48 +05:30
test_xonsh.xsh Remove globals (#4280) 2021-05-20 13:14:26 +03:00