Commit Graph

464 Commits

Author SHA1 Message Date
Ivan Kravets 8c8a94fc71 Run config option validation even in raw mode 2021-10-26 15:41:41 +03:00
Ivan Kravets 1174958e8b Add project.helpers.get_project_all_lib_dirs API (used by platformio-node-helpers) 2021-10-26 14:36:18 +03:00
Ivan Kravets e0e4a594e9 Fix conf tests on Windows 2021-10-24 19:59:52 +03:00
Ivan Kravets 4839fe37a3 Improved PlatformIO directory interpolation (${platformio.***_dir}) in “platformio.ini” configuration file // Resolve #3934 2021-10-24 18:19:40 +03:00
Ivan Kravets 5b091b602f Fixed a “TypeError” issue when extending configuration option in “platformio.ini” with the multi-line default value // Resolve #4082 2021-10-20 15:35:01 +03:00
Valerii Koval 6008275aae Properly handle in-progress C++ standards when invoking Cppcheck // Resolve #3944 (#4070) 2021-09-29 14:46:02 +03:00
Ivan Kravets dd7d133263 Dump "embedded_result.output" 2021-09-27 22:59:36 +03:00
Valerii Koval eab70fae3b Properly handle "--keep-build-dir" option in platformio ci command (#4061)
This fixes #4011 and possible "FileExists" errors when the "platformio ci"
command by safely copying sources to the build folder
2021-09-23 23:26:42 +03:00
Ivan Kravets fed40ef104 Add debug information when a test fails on Win/Py3.8 2021-09-17 21:06:08 +03:00
valeros 63a2465bac Update check tools to the latest available // Resolve #4041 2021-09-10 18:11:48 +03:00
Ivan Kravets d819617d2b Specify encoding for "open()" functions 2021-08-28 13:10:07 +03:00
Ivan Kravets 76b46f59e9 Fix lib test 2021-07-30 20:13:53 +03:00
Ivan Kravets 71ae579bc0 PyLint fix 2021-07-05 16:06:02 +03:00
Ivan Kravets a78db17784 Drop support for Python 2 2021-03-19 00:21:44 +02:00
valeros 3b2fafd789 Add new test for check command and project with whitespace 2021-03-04 22:27:00 +02:00
Ivan Kravets 58947d91a6 PyLint fixes 2021-02-27 17:13:30 +02:00
Ivan Kravets 4012a86cac Fixed a "ValueError: Invalid simple block" when uninstalling a package with a custom name and external source // Resolve #3816 2021-01-26 16:15:11 +02:00
Ivan Kravets 985f31877c Automatically install tool-unity when there are tests and "idedata" target is called 2021-01-20 15:14:45 +02:00
valeros 6e958b8415 Handle possible issues when check tool cannot be executed // Resolve #3753
Now, each tool individually decides under what conditions the check is considered failed.
2020-12-22 00:21:32 +02:00
Ivan Kravets d485703768 Use "Updating to X.Y.Z" instead of "Outdated" when doing a real package updating 2020-12-11 17:53:48 +02:00
Ivan Kravets 9ff3c758eb Fix tests 2020-11-12 15:35:37 +02:00
Ivan Kravets ae7b8f9ecf Fix tests 2020-11-11 20:52:23 +02:00
Ivan Kravets e333bb1cca Tests: skip dev-plalform without examples 2020-10-29 23:42:15 +02:00
Ivan Kravets 175448deda Fix tests on PY2 2020-10-29 14:37:50 +02:00
Ivan Kravets 6987d6c1c6 Fixed an issue when can not remove update or remove external dev-platform using PlatformIO Home // Resolve #3663 2020-09-09 17:53:04 +03:00
Ivan Kravets f946a0bc08 Reformat code with black==20.8b1 2020-09-09 16:27:36 +03:00
Ivan Kravets 4f47ca5742 Fixed an issue with "Invalid simple block (semantic_version)" from library dependency that refs to an external source (repository, ZIP/Tar archives) // Resolve #3658 2020-09-09 16:13:39 +03:00
Ivan Kravets c454ae336d Added support for "owner" requirement when declaring `dependencies using library.json` 2020-09-09 13:10:42 +03:00
Ivan Kravets 6e5198f373 Minor improvements 2020-09-02 18:49:00 +03:00
Ivan Kravets 44c2b65372 Show ignored project environments only in the verbose mode // Resolve #3641 2020-09-02 17:31:32 +03:00
Ivan Kravets 5cc21511ad Show owner name for packages 2020-09-02 16:07:16 +03:00
Ivan Kravets 9f2c134e44 Do not detach a new package even if it comes from external source 2020-08-28 21:24:48 +03:00
Ivan Kravets d59416431d Parse npm-like "repository" data from a package manifest // Resolve #3637 2020-08-26 15:40:03 +03:00
Ivan Kravets f77978a295 Apply formatting 2020-08-25 22:01:08 +03:00
Valerii Koval 3e72f098fe Updates for PIO Check (#3640)
* Update check tools to the latest versions

* Use language standard when exporting defines to check tools

* Buffer Cppcheck output to detect multiline messages

* Add new test for PIO Check

* Pass include paths to Clang-Tidy as individual compiler arguments

Clang-tidy doesn't support response files which can exceed command
length limitations on Windows

* Simplify tests for PIO Check

* Update history

* Sync changelog
2020-08-25 21:19:21 +03:00
Ivan Kravets 2ea80d91f8 Minor fixes 2020-08-25 15:55:17 +03:00
Ivan Kravets ff19109787 Fix test 2020-08-25 14:34:03 +03:00
Ivan Kravets a069bae1fb Fix a bug with package updating when version is not in SemVer format // Resolve #3635 2020-08-23 15:26:58 +03:00
Ivan Kravets da179cb33f Enhance configuration variables 2020-08-23 14:29:31 +03:00
Ivan Kravets d92c1d3442 Refactor HTTP related operations 2020-08-22 17:48:49 +03:00
Ivan Kravets fb6e1fd33c PyLint fixes 2020-08-17 15:33:08 +03:00
Ivan Kravets 6f7fc638c7 Fix PyLint errors in tests 2020-08-17 12:56:57 +03:00
Ivan Kravets 04694b4126 Switch legacy platform manager to the new 2020-08-15 23:11:01 +03:00
Ivan Kravets bb6fb3fdf8 Fix bug with parsing detached packages 2020-08-15 15:24:35 +03:00
Ivan Kravets 4ec64f8980 Fix a test for examples 2020-08-14 17:00:18 +03:00
Ivan Kravets ff8ec43a28 Ensure tool-type package is compatible with a host system 2020-08-13 21:46:46 +03:00
Ivan Kravets ecc369c2f8 Minor fixes 2020-08-13 20:19:27 +03:00
Ivan Kravets 64ff6a0ff5 Switch legacy core package manager to the new 2020-08-13 18:30:04 +03:00
Ivan Kravets d5451756fd Minor improvements 2020-08-12 20:09:10 +03:00
Ivan Kravets 893ca1b328 Switch library manager to the new package manager 2020-08-12 13:27:05 +03:00