Commit Graph

94 Commits

Author SHA1 Message Date
c0dfd8b442 Bump frontend to 20250128065759 (#4406) 2025-01-28 08:18:37 +01:00
d95ce25023 Bump frontend to 20250115072642 (#4376) 2025-01-15 13:07:28 +01:00
d283b9a6a7 Require HACS to be present (#4037)
* Require hacs to be present

* Check if it is not there
2024-09-05 06:53:23 +02:00
99bc2eee50 Speed up action container (#4035)
* Speed up action container

* fix version
2024-09-04 11:31:15 +02:00
0619ec93cd Output the current stored data in action (#4033)
* Output the current stored data in action

* update snapshot

* limit objective
2024-09-04 07:21:03 +02:00
a114d1f622 Bump frontend to 20240903140523 (#4032) 2024-09-03 16:35:42 +02:00
e937f882e6 Bump frontend to 20240814080035 (#3986) 2024-08-20 09:22:15 +02:00
4a981bc022 Unify compare ignore keys (#3970) 2024-08-14 06:55:38 +02:00
a44c61ad1f Remove etags from diffs (#3964)
* Remove etags from diffs

* Actually remove them

* fix the syntax
2024-08-13 13:04:41 +02:00
60a80d3fd2 Only set prerelease once (#3965) 2024-08-13 11:49:35 +02:00
cf25082897 Set and store prerelease during category data generation (#3961)
* Set and store prerelease during category data generation

* log out the version
2024-08-13 09:04:09 +02:00
16c29a6e74 Use releases list REST API for data generator (#3959) 2024-08-12 12:26:10 +02:00
1c1bb0b8cf Bump frontend to 20240729171855 (#3930) 2024-07-29 19:48:04 +02:00
c50e02b332 Bump frontend to 20240719084307 (#3901) 2024-07-19 11:06:10 +02:00
8d999fb43d Bump frontend to 20240710163721 (#3881) 2024-07-10 19:00:50 +02:00
7d41e23373 Bump frontend to 20240705065257 (#3856) 2024-07-05 10:21:01 +02:00
acfdd6504d Bump frontend to 20240704155809 (#3853) 2024-07-04 18:20:50 +02:00
42151d965c Revert "Use GraphQL to generate release content" (#3851)
Revert "Use GraphQL to generate release content (#3848)"

This reverts commit b1b218acb6.
2024-07-04 08:18:15 +02:00
b1b218acb6 Use GraphQL to generate release content (#3848) 2024-07-04 08:10:33 +02:00
1d5e9a6796 Revert "Add pre-release information to exported data" (#3846)
Revert "Add pre-release information to exported data (#3841)"

This reverts commit 69a206c483.
2024-07-02 15:13:45 +02:00
69a206c483 Add pre-release information to exported data (#3841)
* Add pre-release information to exported data

* reset if not needed

* Fix data content
2024-07-02 12:37:24 +02:00
db5ec533a4 Add graphql limits to summary (#3831) 2024-06-27 15:20:19 +02:00
961d7ee23c Always write the content (#3827) 2024-06-26 16:24:59 +02:00
c00e522770 Always generate summary (#3817) 2024-06-25 13:32:48 +02:00
53db143aad Bump frontend to 20240620075826 (#3796) 2024-06-20 10:54:56 +02:00
5efaa0338e Install the frontend wheel from GitHub (#3778) 2024-06-18 08:24:59 +02:00
449c3b74a7 Remove compatibility with unsupported core versions (#3738)
* Remove compatibility with unsupported core versions

* Remove more backwards compatibility

---------

Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
2024-05-29 19:30:17 +02:00
1faa1a346c Extend summary content (#3740)
* Add summary to generator

* update snapshot

* Extend summary content
2024-05-29 19:24:59 +02:00
1addca2ece Add summary to generator (#3737)
* Add summary to generator

* update snapshot
2024-05-29 19:10:31 +02:00
883e0ce932 Remove code paths only used in non-experimental mode (#3728)
* Remove code paths only used in non-experimental mode

* Remove experimental setting from diagnostics

* Update tests

* Address review comments

* Remove experimental flag from hacs/info WS command
2024-05-29 15:03:47 +02:00
dfaaf21691 Bump frontend to 20240528140736 (#3733) 2024-05-29 14:30:25 +02:00
17c2236bb8 Only ship one frontend (#3727) 2024-05-27 18:17:19 +02:00
9d0e0cdad5 Bump experimental frontend to 20240527114629 (#3726) 2024-05-27 14:07:29 +02:00
e643a32eb5 Bump frontend to 20240522121116 (#3698) 2024-05-22 14:47:38 +02:00
b8199f3124 Set a stricter version of home-assistant to use in tests (#3627)
* Set a stricter version of home-assistant to use in tests

* change min async-timeout

* chain requirement files

* lint

* remove

* add home-assistant-frontend to core_dev script

* Update .github/workflows/lint.yaml
2024-04-15 08:08:20 +02:00
0747cc514d Install pre-commit as part of setup (#3634) 2024-04-15 07:54:00 +02:00
e7929b75a1 Validate repo data fetched from data-v2.hacs.xyz (#3594)
* Validate repo data fetched from data-v2.hacs.xyz

* Allow extra keys when downloading HACS data

* Rename data validation maps

* Lint

* Add mandatory keys to data-v2 fixtures

* Add test

* Add snapshots

* Move validation to data client

* Tweak

* Tweak

* Remove extra keys when validating fetched critical/removed repos

* lint

---------

Co-authored-by: Joakim Sørensen <ludeeus@ludeeus.dev>
Co-authored-by: ludeeus <joasoe@gmail.com>
2024-04-12 13:09:25 +02:00
a742ff4345 Adjust pytest configuration (#3611) 2024-04-11 20:33:30 +02:00
3f09f5fc38 Refactor testing (#3357)
* init more tests

* Update snapshots

* update fixtures

* sort files

* Remove tests before running hassfest

* fix json

* more test adjustments

* lint

* add psutil_home_assistant test requirement

* sqlalchemy

* fnv_hash_fast

* more

* PIL

* Pillow

* janus

* hass_frontend

* home-assistant-frontend

* full entry for newer

* lint

* get entity for update test

* renames

* pin test packages

* single t

* updates

* fix stuff

* store entities and ws for setup test

* remove base

* Add basic fixtures for all categories

* Use WS command to register custom repository

* lint

* cleanup

* unused import

* Test addons and core

* start generate tests

* Output all calls to proxy

* change messaging

* lint

* remove old

* plugin

* lint

* try with minor_version first

* theme

* lint

* Setup all categories for tests

* lint

* Cleanup stale

* Remove unnecessary test files

* Remove aresponses

* remove proxy_session usage

* more!

* remove backup arg

* fix

* lint

* Remove autouse from setup_integration fixture

* add entities to snapshots

* Fix HACS test manifest

* filter calls

* replace diagnostics test

* Fix sorting

* better output

* adjust resp

* ignore minor_version

* replace print in test

* add appdaemon

* cleanup

* lint

* Add test for removing repositories

* lint

* update output

* extend generate

* More usage of common test data

* data client test

* output

* add python_script tests

* typo

* enable all

* config_flow tests

* remaining generate

* use xfail

* lint

* lint

* sort

* adjust

* cover bad cases

* one more

* update snapshots

* init better action testing

* track loader.async_suggest_report_issue

* lint

* Sort action results

* lint...

* Guard async_suggest_report_issue

* lint

* Run dev tests against 3.12 as well

* change names

* move report check to fixture

* fix version selector

* Add setuptools to base

* fix check_report_issue check

* Use set_state to bust cached propery

* Use async_test_home_assistant test helpers from homeassistant core repo

* Lint

* Update snapshots

* Align with HA Core 2024.4.0

* Fix test_update_repository_entity

* Fix import

* Fix test_hacs_action_integration

* Disable testing dev core with Python 3.11

* Allow more issues

* Use Python 3.12 run in codecov

* Enable config flow tests

* Adjust tests

* Update generate_category_data tests

* Clear stored responses after usage

* Rename tests/z_action to tests/action

* Update snapshot

* Update action test

* Remove cleanups

* use with expectation

* fix typing

* Use python version from matrix

* Test option flow

* Lint

* Update snapshots

* Use token constant

---------

Co-authored-by: Erik <erik@montnemery.com>
2024-04-10 16:15:35 +02:00
a09d368097 Add validation when generating data (#3593)
* Add validation when generating data

* Fix test

* Stricter exception

* useless type

* Fix tests for real this time

* add back __future__ import
2024-04-09 15:05:33 +02:00
ebf0f4c936 Add script to validate output of generated data (#3589)
* Add script to validate output of generated data

* Expand and humanize error

* lint

* linit

* Simplify check

* Add usage if unexpected number of arguments
2024-04-09 12:44:07 +02:00
7d46a52de0 Bump frontend to 20240119163101 (#3467) 2024-01-19 21:51:59 +01:00
25774c1b10 Bump frontend to 20240114080055 (#3455) 2024-01-14 10:12:25 +01:00
fa5af7e966 Bump frontend to 20240113104905 (#3450) 2024-01-13 14:54:13 +01:00
fab0e91c79 Handle HomeAssistant require config_dir in dev (#3233) 2023-08-25 13:54:13 +02:00
e1586ab831 Do not skip update if different counts 2023-07-23 13:33:08 +00:00
e6b5c32eab Remove legacy-resolver (#3197) 2023-07-18 16:38:29 +02:00
c84f87d87b Revert "Better cleanup of scheduled tasks (#3150)" (#3183)
This reverts commit 8219c8161c.
2023-07-08 09:58:55 +02:00
b034163f43 Fix clear_storage script 2023-06-30 12:21:17 +00:00
544c585c8e Sort keys for diff 2023-06-16 20:35:33 +00:00