esp-idf/tools
Frantisek Hrbata 6f3241a34b fix(tools): Upgrade shell detection & simplify autocompletion
Explicitly set shell type in export.sh for bash and zsh

-Most of the issues reported with the updated export scripts are related
 to shell detection. Since we already know the shell type for commonly
 used ones like bash or zsh, we can pass the shell type directly to the
 activate script. This should hopefully resolve the shell detection
 problems for most users.

 This update also modifies the shell type detection to rely solely on
 psutil.Process().cmdline() rather than psutil.Process().exe(). This
 change aims to resolve permission issues that may occur if, for example,
 the Python binary has certain capabilities assigned.

Move shell completion to the init script

- Currently we are expanding the autocompletion in the activate script and
 adding the expanded commands into the init script. To avoid
 concerns about shell versions, move the entire expansion to the init
 script.
2024-09-18 13:03:26 +02:00
..
ble feat: add requirements.ttfw.txt 2022-08-01 15:52:21 +08:00
catch Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
ci feat(tools): Move sample_project from examples to tools 2024-09-16 09:12:50 +02:00
cmake Merge branch 'bugfix/reproducible_builds_improvements' into 'master' 2024-08-16 19:02:40 +08:00
docker feat(docker): Switch to Ubuntu 24.04 LTS in the ESP-IDF docker image 2024-05-03 09:38:45 +02:00
esp_app_trace fix: Replace deprecated flushregs alias with full gdb command 2023-07-13 09:26:47 +02:00
esp_prov fix(tools/esp_prov): Fix incorrect input decoding when using console transport 2024-06-21 14:07:20 +05:30
export_utils fix(tools): Upgrade shell detection & simplify autocompletion 2024-09-18 13:03:26 +02:00
gen_soc_caps_kconfig feat(soc_cap_kconfig): support to search recursively 2024-03-01 10:17:17 +08:00
idf_py_actions feat(tools): Move sample_project from examples to tools 2024-09-16 09:12:50 +02:00
kconfig_new feat(tools/kconfig): add initial and current versions of IDF to kconfig 2023-07-10 17:01:51 +02:00
ldgen fix(ldgen): fix linker script generation from a single-entry fragment file 2024-08-23 17:25:19 +08:00
legacy_exports feat(tools): Add backup option to use legacy export script 2024-09-05 10:13:05 +02:00
mass_mfg fix(tools): python3.12 support 2024-09-04 18:00:56 +02:00
mocks feat(bootloader_support): added bootloader_support mocks 2024-08-06 11:03:55 +02:00
requirements change: add a note regarding separate constraint files 2024-09-18 16:56:04 +08:00
templates feat(tools): Move sample_project from examples to tools 2024-09-16 09:12:50 +02:00
test_apps Merge branch 'bugfix/check_bootloader_size_with_sign' into 'master' 2024-09-14 14:35:21 +08:00
test_build_system Merge branch 'feat/update_tools_in_tools_json' into 'master' 2024-09-11 14:40:19 +08:00
test_idf_py docs(secure_boot_v2): Mention idf.py and openssl commands to generate and verify signatures 2024-08-27 15:44:05 +05:30
test_idf_size feat: add diff option support to idf.py size commands 2024-05-24 15:19:37 +08:00
test_idf_tools feat(tools): Update tools: cmake, ninja, ccache 2024-09-04 12:48:14 +02:00
test_mkdfu fix(ci): Remove unittest-xml-reporting dependency from host tests 2023-11-30 14:03:41 +01:00
unit-test-app fix: properly resolve component dependencies 2024-05-30 22:01:55 +08:00
activate.py feat(tools): Added Windows shells support + refactoring 2024-09-05 10:13:04 +02:00
check_python_dependencies.py fix(tools): catch more general errors in python dependency checker 2024-02-15 10:47:02 +01:00
check_term.py check_term: allow alacritty term 2022-05-19 11:10:59 +08:00
detect_python.fish feat: Drop Python 3.7 support 2023-08-08 08:37:29 +02:00
detect_python.sh feat: Drop Python 3.7 support 2023-08-08 08:37:29 +02:00
eclipse-code-style.xml
format.sh ci: add astyle pre-commit check 2023-09-27 08:43:45 +02:00
gdb_panic_server.py feat(tools): remove gdb_panic_server and use just a wrapper for script 2023-08-24 15:20:29 +02:00
gen_esp_err_to_name.py fix(err_to_name): restrict gen_esp_err_to_name.py to only search in components/ 2023-11-06 11:41:39 +08:00
idf_monitor.py feat(idf_monitor): move idf_monitor to separate repo 2023-02-03 11:20:15 +01:00
idf_size.py fix: make idf_size.py compatible with python3.8 2024-05-08 11:21:10 +02:00
idf_tools.py feat: add python script to activate ESP-IDF environment 2024-09-05 10:13:03 +02:00
idf.py feat(tools): add 'idf.py qemu' extension 2023-12-03 07:45:19 +01:00
install_util.py ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
mkdfu.py tools: remove the dependency on the future package 2022-08-09 16:46:58 +02:00
mkuf2.py feat(tools): move uf2 generation to esptool 2023-10-09 15:38:30 +02:00
python_version_checker.py feat: Drop Python 3.7 support 2023-08-08 08:37:29 +02:00
requirements_schema.json Tools: Make easier the detection of the list of Python features 2022-02-03 19:02:14 +01:00
requirements.json feat: split pytest requirements to base and test-specific 2024-09-12 20:18:46 +08:00
set-submodules-to-github.sh
split_paths_by_spaces.py tools: fixup version references related to paths with spaces 2022-05-02 19:05:47 +02:00
tools_schema.json fix(schema): Add missing linux-armhf to tools_schema 2024-06-14 15:57:00 -06:00
tools.json Merge branch 'feat/update_tools_in_tools_json' into 'master' 2024-09-11 14:40:19 +08:00