Commit Graph

93 Commits

Author SHA1 Message Date
Ivan Kravets 95151062f5 Implement mirroring for HTTP client 2020-08-22 22:52:29 +03:00
Ivan Kravets 7e4bfb1959 Move CacheContent API to "cache.py" module 2020-08-22 20:05:14 +03:00
Ivan Kravets 102aa5f22b Port legacy API requests to the new registry client 2020-08-22 17:49:29 +03:00
Ivan Kravets d92c1d3442 Refactor HTTP related operations 2020-08-22 17:48:49 +03:00
Ivan Kravets 49b70f44ca Ignore legacy tmp pkg folders 2020-08-22 13:56:57 +03:00
Ivan Kravets 808852f4cc Set default timeout for http requests // Resolve #3623 2020-08-16 20:21:30 +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 5f3ad70190 Rename meta.PackageSourceItem or PackageItem 2020-08-14 16:38:46 +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 64ff6a0ff5 Switch legacy core package manager to the new 2020-08-13 18:30:04 +03:00
Ivan Kravets fd7dba1d74 Package Manifest: increase package author.name field to the 100 chars 2020-08-13 17:50:44 +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
Ivan Kravets 2dd69e21c0 Implement package removing with dependencies 2020-08-01 20:17:07 +03:00
Ivan Kravets 6ac538fba4 Remove unused import 2020-08-01 15:49:10 +03:00
Ivan Kravets 41c2d64ef0 Fix "PermissionError: [WinError 32] The process cannot access the file" on Windows 2020-08-01 15:36:28 +03:00
Ivan Kravets a1970bbfe3 Allow a forced package installation with removing existing package 2020-08-01 14:38:28 +03:00
Ivan Kravets d329aef876 Initial version of a new package manager 2020-07-31 15:42:26 +03:00
Ivan Kravets 1368fa4c3b Implement new fields (id, ownername, url, requirements) for PackageSpec API 2020-07-14 21:07:09 +03:00
Ivan Kravets cca3099d13 Ensure that module.json keywords are lowercased 2020-07-14 18:55:29 +03:00
Ivan Kravets 368c66727b Fix issue with package packing when re-map is used and manifest is missed in "include" (copy it now) 2020-07-12 22:39:32 +03:00
Ivan Kravets a688edbdf1 Fix an issue with manifest parser when "new_from_archive" API is used 2020-07-09 21:53:46 +03:00
Ivan Kravets f85cf61d68 Revert back max length of author name to 50 chars 2020-07-08 23:23:14 +03:00
Ivan Kravets f27c71a0d4 Increase author name length to 100 chars for manifest 2020-07-08 22:56:14 +03:00
Ivan Kravets a00722bef4 Ignore maintainer's broken email in library.properties manifest 2020-07-08 21:53:28 +03:00
Ivan Kravets 42fd284560 Improve parsing "author" field of library.properties manfiest 2020-07-08 20:21:10 +03:00
Ivan Kravets 3c986ed681 Remove recursively .pio folders when packing a package 2020-07-07 16:28:51 +03:00
Ivan Kravets 0f8042eeb4 Implement PackagePacker.get_archive_name API 2020-07-06 15:57:49 +03:00
Ivan Kravets a79e933c37 Ignore author's broken email in a package manifest 2020-07-06 14:22:35 +03:00
Ivan Kravets ef53bcf601 Ignore empty fields in library.properties manifest 2020-07-06 14:17:00 +03:00
Ivan Kravets 08a87f3a21 Do not allow [;.<>] chars for a package name 2020-07-03 19:14:58 +03:00
Ivan Kravets b3dabb221d Allow "+" in a package name 2020-07-03 16:07:36 +03:00
Ivan Kravets 7f48c8c14e Fix PyLint for PY 2.7 2020-06-30 15:06:40 +03:00
Ivan Kravets 2c24e9eff6 Fall back to latin-1 encoding when failed with UTF-8 while parsing manifest 2020-06-30 14:28:37 +03:00
Ivan Kravets e9a15b4e9b Parse package.json manifest keywords 2020-06-27 21:42:13 +03:00
Ivan Kravets b046f21e0d Fix "RuntimeError: dictionary keys changed during iteration" when parsing "library.json" dependencies 2020-06-27 12:46:04 +03:00
Ivan Kravets bc2eb0d79f Parse dev-platform keywords 2020-06-26 19:49:25 +03:00
Ivan Kravets 967a856061 Do not allow ":" and "/" chars in a package name 2020-06-22 15:25:02 +03:00
Ivan Kravets a9c13aa20e Implement "ManifestParserFactory.new_from_archive" API 2020-06-15 22:05:59 +03:00
Shahrustam 25a421402b fix package type detector 2020-05-28 12:49:32 +03:00
Ivan Kravets c06859aa9f Add package type to unpublish command 2020-05-27 14:30:27 +03:00
Ivan Kravets deb12972fb Implement "package unpublish" CLI 2020-05-27 01:10:35 +03:00
Ivan Kravets 19cdc7d34a Initial support for package publishing in to the registry 2020-05-26 22:01:32 +03:00
Ivan Kravets 9724660dda Update SPDX licenses to 3.9 2020-05-19 13:27:44 +03:00
Ivan Kravets 79b3a232fc Move debug client and server implementations to "process" folder 2020-03-21 22:00:14 +02:00
Richard Coleman dbeaaf270c fix typo in URL (#3432) 2020-03-21 00:02:50 +02:00
Ivan Kravets 0ff37c9999 Implement universal "get_object_members" helper 2020-03-12 14:24:20 +02:00
Ivan Kravets ce6b96ea84 Use native open/io.open for file contents reading/writing 2020-03-05 23:52:13 +02:00
Ivan Kravets 261c46d4ef Add support for Arm Mbed "module.json" `dependencies` field // Resolve #3400 2020-03-03 23:10:19 +02:00