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
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