Commit Graph

7 Commits

Author SHA1 Message Date
Jesse Hills
73accf747f
Allow cloning/fetching Github PR branches in external_components (#2639) 2021-10-29 07:12:05 +13:00
Jesse Hills
f9b0666adf
Allow using a git source for a package (#2193) 2021-09-06 08:23:06 +12:00
Otto Winter
768c71830b
Fix external components not refreshing with default or high refresh time (#2122) 2021-08-04 17:33:17 +02:00
Maurice Makaay
80949521b6
Accept change as proposed by black. (#2055) 2021-07-22 14:37:42 +02:00
Otto Winter
06912b492f
Improve external components error messages (#2026) 2021-07-16 10:23:08 +02:00
Otto Winter
2376a2c941
Convert components to async-def syntax (#1821) 2021-05-24 10:58:29 +02:00
Otto Winter
229bf719a2 Implement external custom components installing from YAML (#1630)
* Move components import loading to importlib MetaPathFinder and importlib.resources

* Add external_components component

* Fix

* Fix

* fix cv.url return

* fix validate shorthand git

* implement git refresh

* Use finders from sys.path_hooks instead of looking for __init__.py

* use github:// schema

* error handling

* add test

* fix handling git output

* revert file check handling

* fix test

* allow full component path be specified for local

* fix test

* fix path handling

* lint

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2021-05-07 15:02:17 -03:00