Commit Graph

231 Commits

Author SHA1 Message Date
Ivan Kravets f9494c940e Add support for "downloadUrl" in package manifest 2019-12-20 20:20:09 +02:00
Ivan Kravets 1bd6e898ad Fix tests 2019-12-18 14:03:10 +02:00
Ivan Kravets f9cae60225 Fix tests 2019-11-28 18:14:10 +02:00
Ivan Kravets 2fbe33bca0 Move "Board" Options to "Platform 2019-11-26 14:44:54 +02:00
Ivan Kravets 30bc691c95 Fix test with a missed library 2019-11-05 12:08:29 +02:00
Ivan Kravets 7345d3ea19 Improve dump of config data 2019-11-05 00:17:39 +02:00
valeros dfd853fa87 Update tests for check command with a new flag "pattern" that supersedes "filter" 2019-11-04 21:34:39 +02:00
Ivan Kravets 0a4bc1d4e3 Add "description" for project config options, configure "default" values 2019-11-02 19:41:39 +02:00
Ivan Kravets 1d5d09feab Fixed an issue when Project Config Parser does not remove in-line comments when Python 3 is used // Remove #3213 2019-10-31 22:04:57 +02:00
Ivan Kravets 8ccf9d2e53 Implement project config "update" with "clear" option 2019-10-31 15:26:34 +02:00
Ivan Kravets 3146ab5d12 Allow export project config data as Tuple 2019-10-30 19:09:32 +02:00
valeros d815daed29 Allow specifying defect level that will cause failure 2019-10-30 13:38:46 +02:00
Ivan Kravets 7cad06ea18 Minor test fixes 2019-10-29 17:12:18 +02:00
valeros d620579247 Fix tests for check command according to updated exit codes 2019-10-25 21:04:30 +03:00
valeros 4e43e7d3c3 Fix code formatting 2019-10-25 17:43:52 +03:00
valeros 4486a85d4c Introduce new flag --fail-on-defect to pio check 2019-10-25 15:40:50 +03:00
Ivan Kravets 0b500dba54 Handle legacy "system": "all" for package manifest 2019-10-24 15:10:11 +03:00
Ivan Kravets 334d50c367 Use package parser for package manager and LDF 2019-10-24 13:42:46 +03:00
Ivan Kravets 9c7cc87c5f Move command related modules to "commands" package 2019-10-23 16:05:27 +03:00
Ivan Kravets f78a1a7b15 Show encoding error when can't read a file // Issue #2796 2019-10-18 22:00:28 +03:00
Ivan Kravets d44c60614d Use direct LDSCRIPT_PATH only if script resolves 2019-10-17 23:40:30 +03:00
Ivan Kravets 19a8326f0f Fix test for package manifest 2019-10-17 21:19:04 +03:00
Ivan Kravets 6218b773fd Better support for file contents writing // Issue #2796 2019-10-17 18:48:59 +03:00
Ivan Kravets 83f25cbc16 Fix tests 2019-10-17 12:38:35 +03:00
Ivan Kravets 27fc19d6b3 Switch to Marshmallow ODM framework 2019-10-17 00:17:16 +03:00
Ivan Kravets 239befa4ee New Shakti dev/platform 2019-10-15 13:05:56 +03:00
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