Commit Graph

255 Commits

Author SHA1 Message Date
Ivan Kravets
b66bf5f4c0 Ignore symbolic links for package examples 2019-10-07 20:35:01 +03:00
Ivan Kravets
5d7e7b1796 DataModel: capture exceptions from failed models in non-strict mode 2019-10-04 23:52:06 +03:00
Ivan Kravets
36acdd7797 DataModel: allow valid values in non-strict mode for TypeOfList and TypeOfDict 2019-10-04 18:30:48 +03:00
Ivan Kravets
a7855ae664 ManifestParser: init from dir using name of file in remote url if provided 2019-10-03 16:14:51 +03:00
Ivan Kravets
76865a1730 ManifetPatrser fixes (#3080)
* Skip broken examples declaration

* Allow dots in keywords

* Allow "+" in keywords
2019-10-03 14:55:04 +03:00
Ivan Kravets
8febdc19ea ManifestParser: normalize example names 2019-10-03 12:47:41 +03:00
Ivan Kravets
e6ea4cb613 PackageManifest: Ignore hidden files for examples 2019-10-02 20:42:01 +03:00
Ivan Kravets
bbd694c5ea ManifestParse: automatically generate examples from package dir 2019-10-02 17:54:59 +03:00
Ivan Kravets
a1ed99962c Better handling of non-dict values passed to DataModel 2019-10-02 12:34:50 +03:00
Ivan Kravets
a2213a1aa4 Change "examples" field in package manifest to ListOf(ExampleModel) 2019-10-02 11:04:29 +03:00
Ivan Kravets
dee2d2c538 Add manifest parsers for platform.json and package.json 2019-10-01 22:03:23 +03:00
Ivan Kravets
5b77adccb1 DataModels: fix issue when traversing using model fields 2019-10-01 18:10:48 +03:00
Ivan Kravets
a82c4666d4 DataModel: add support for DictOfType, extend base manifest with ExampelsModel 2019-10-01 17:37:11 +03:00
Ivan Kravets
df6a8da290 DataModel: add support for silent validation and "get_exceptions" API 2019-10-01 16:13:25 +03:00
Ivan Kravets
af1a0f3587 Allow to build a manifest parser from directory 2019-10-01 00:11:31 +03:00
Ivan Kravets
703912fdc9 Strict manifest validation when submitting to Registry, more tests for manifest model 2019-09-30 23:45:03 +03:00
Ivan Kravets
744881da59 Refactor DataModel with a strict type declaration 2019-09-30 19:44:03 +03:00
Ivan Kravets
5f55c18373 Introduce DataModel, package manifest parser and base manifest model 2019-09-30 17:59:06 +03:00
Ivan Kravets
d2abac9b18 Fixed an issue when configuration file options partly ignored when `--project-conf` // Resolve #3034 (#3055)
* Fixed an issue when configuration file options partly ignored when using custom ``--project-conf`` // Resolve #3034

* Py2 compatible makedirs

* Fix circle dependency

* Fix broken import in test examples

* Fix history

* Remove YAPF markers

* PyLint fix

* Fix invalid project conf path

* Move PIO Core to the root on Windows, issue with long CPPPATHs

* Respect global PLATFORMIO_BUILD_CACHE_DIR env var

* Fix Appveyor paths

* Minor changes
2019-09-27 14:13:53 +03:00
Ivan Kravets
7c41c7c2f3 Introduce Black to automate code formatting 2019-09-23 23:13:48 +03:00
Ivan Kravets
c720933d34 Refactor PIO Check 2019-09-08 23:33:25 +03:00
Ivan Kravets
f61d03ec8f PIO Check (#2982) 2019-09-08 18:04:41 +03:00
Ivan Kravets
fe237f15aa Implement "extends" for project configuration // Resolve #2953 2019-08-31 23:39:41 +03:00
Ivan Kravets
0677bcecb9 Improve printing of tabulated results 2019-08-17 20:55:16 +03:00
Ivan Kravets
c51c35018d Fix test 2019-07-22 00:57:01 +03:00
Ivan Kravets
83f64cebbd Remove test code 2019-07-02 12:23:35 +03:00
Ivan Kravets
69de40c409 Fix an issue when empty multiple values for project option were not casted to list // Resolve #2734 2019-07-02 12:21:06 +03:00
Ivan Kravets
1bff3c6615 Use isolated Core folder for test_maintenance 2019-06-28 13:21:11 +03:00
Ivan Kravets
4d23ad03c3 Remove upgrade hooks from Core 2.0 to Core 3.0 2019-06-28 13:03:49 +03:00
Ivan Kravets
38408c1e1f Use only 1 example per framework for CI 2019-06-15 21:09:52 +03:00
Ivan Kravets
23a2022f04 Add support for PLATFORMIO_DEFAULT_ENVS system environment variable // Resolve #1967 2019-06-01 22:43:44 +03:00
Ivan Kravets
4af615a49c Maintain renamed options when reading configuration file 2019-06-01 16:58:14 +03:00
Ivan Kravets
6186b425d4 Typo fix 2019-06-01 15:38:55 +03:00
Ivan Kravets
f3c8277572 Fix broken tests 2019-05-30 21:27:12 +03:00
Ivan Kravets
346579b93c Improve type converting for config options 2019-05-30 17:34:44 +03:00
Ivan Kravets
3cc4af1723 Refactor project config options 2019-05-30 16:38:04 +03:00
Ivan Kravets
dec43bec9d Fix test 2019-05-28 00:09:20 +03:00
Ivan Kravets
3df01405a1 Remove unused Python imports 2019-05-27 22:25:22 +03:00
Ivan Kravets
078b0af312 Test only 1 project example per dev/platform for AppVeyor CI 2019-05-27 18:17:57 +03:00
Ivan Kravets
c79b3ff7f1 Override default “platformio.ini” with a custom using "-c, --project-conf" option // Resolve #1913 2019-05-10 00:01:10 +03:00
Ivan Kravets
62b80c396b Added support for the latest Python "Click" package (CLI Builder) // Resolve #349 2019-05-09 00:51:28 +03:00
Ivan Kravets
4f98a3fd42 Share common (global) options between declared build environments using "[env]" section // Resolve #1643 Resolve #790 2019-05-08 20:19:39 +03:00
Ivan Kravets
07a2a49d93 Refactor project helpers 2019-05-07 22:13:21 +03:00
Ivan Kravets
c235974eb6 Switch to the new ProjectConfig API 2019-05-07 17:51:50 +03:00
Ivan Kravets
7f607b742f Fix issue when handling dynamic variables 2019-05-04 12:23:23 +03:00
Ivan Kravets
8e55c9e4d0 Include external configuration files with "extra_configs" option // Resolve #1590 2019-05-03 21:03:36 +03:00
Ivan Kravets
d9e6111ac3 Fix error with conflicting declaration of a prototype (Arduino sketch preprocessor) 2019-03-20 18:49:20 +02:00
Ivan Kravets
0d904ad1cc Fix "FileExistsError" when "platformio ci" command is used in pair with "--keep-build-dir" option 2019-03-14 20:12:18 +02:00
Ivan Kravets
17efa89047 Disable STM8 from CI tests 2019-01-30 18:00:40 +02:00
Ivan Kravets
b6ccda3568 Fix cmd_lib test 2019-01-17 17:56:21 +02:00