Ivan Kravets
7e0fb43dbe
Normalise repository url when parsing package manifest
2019-12-22 23:45:12 +02:00
Ivan Kravets
f9494c940e
Add support for "downloadUrl" in package manifest
2019-12-20 20:20:09 +02: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
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
7c41c7c2f3
Introduce Black to automate code formatting
2019-09-23 23:13:48 +03:00
Ivan Kravets
a60c57ac58
Initial support for Python 3.5+ // Resolve #895 Resolve #1365
2018-12-26 20:54:29 +02:00
Ivan Kravets
5214b32ee3
Print request URL when package fails
2018-03-23 13:50:33 +02:00
Ivan Kravets
79b7974f35
Strip SHA1 sum because @bintray returns wrong value
2017-11-27 14:05:04 +02:00
Ivan Kravets
45e75f7473
Copyright (c) 2014-present PlatformIO <contact@platformio.org>
...
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2017-06-05 16:02:39 +03:00
Ivan Kravets
58942c3f38
Significantly improve Package Manager // Resolve #913
...
* Handle dependencies when installing non-registry package/library (VCS, archive, local folder)
2017-03-08 17:24:58 +02:00
Ivan Kravets
93aa0c2b08
Test PlatformIO 3.0 packages
2016-09-04 18:25:28 +03:00
Ivan Kravets
0c9d539a92
Update copyrights
2016-08-03 22:18:51 +03:00
Ivan Kravets
f6014d2e52
Fixed configuration data for TI LaunchPads based on msp430fr4133 and msp430fr6989 MCUs // Resolve #676
2016-05-29 16:47:54 +03:00
Ivan Kravets
e6c1e35e75
Refactor test for packages manifest
2016-02-26 21:00:51 +02:00
Ivan Kravets
19f1ccd0df
🎄 Happy New 2016 Year! 🎄
2016-01-01 20:51:48 +02:00
Ivan Kravets
904b08f497
Add Apache License, Version 2.0 to @PlatformIO source code
2015-11-18 17:16:17 +02:00
Ivan Kravets
132f2d20fd
Skip SHA1 verification for non SF packages
2015-07-29 19:59:39 +03:00
Ivan Kravets
23cf725c20
Skip SF 5xx errors
2015-06-03 19:14:10 +03:00
Ivan Kravets
369d0e1a00
Fix response with 504 code when SF is off-line
2015-06-01 17:49:04 +03:00
Ivan Kravets
a288736ced
Fix broken tests when SF is offline
2015-05-29 18:34:21 +03:00
Ivan Kravets
bd9ee0c27a
Introduce /packages and /packages/manifest API
2015-03-14 00:01:32 +02:00
Valeriy Koval
cd764d4b10
Skip testing of package if SF is offline
2015-02-25 18:32:33 +02:00
Valeriy Koval
7c0b187ca0
Extend validation of package for SHA1 // Resolve #69
2015-02-24 20:11:57 +02:00
Ivan Kravets
73af0eed3c
Add "application/octet-stream" mime type for package
2015-02-23 23:08:42 +02:00
Ivan Kravets
e17ce83499
Refactor tests with Py.Test's fixtures // Resolve #2
2015-02-21 15:15:00 +02:00