hacs / integration

HACS gives you a powerful UI to handle downloads of all your custom needs.
https://hacs.xyz
MIT License
5.39k stars 1.28k forks source link

New version 1.0 not pulling master when selected #1197

Closed DavidFW1960 closed 4 years ago

DavidFW1960 commented 4 years ago

Installation details

Description Value
HACS version 1.0
Home Assistant version 0.110.1
Installation method for HA HA Supervised

Checklist

Describe the issue

A clear and concise description of what the issue is. I selected to reinstall a card of mine. I set the version to install to master It does not install the master version Viewing source also shows the old code not the master code

Steps to reproduce

1.Select reinstall for a card 1.Select master 1.Reinstall It appears to ignore 'master' and pulls latest instead

Debug logs

Logs ``` 2020-05-22 11:41:38 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant. 2020-05-22 11:41:44 DEBUG (MainThread) [hacs] Configuration type: flow 2020-05-22 11:41:44 INFO (MainThread) [hacs] https://github.com/hacs/integration/issues 2020-05-22 11:41:54 DEBUG (MainThread) [hacs] Can update 422 repositories 2020-05-22 11:42:01 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Checking repository. 2020-05-22 11:42:02 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Running checks against 1.0.0 2020-05-22 11:42:03 INFO (MainThread) [hacs.repository.integration.hacs.integration] Registration complete 2020-05-22 11:42:03 INFO (MainThread) [hacs.data] Restore started 2020-05-22 11:42:04 INFO (MainThread) [hacs.data] Restore done 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] appdaemon_path: appdaemon/apps/ 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] appdaemon: True 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] netdaemon_path: netdaemon/apps/ 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] netdaemon: True 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] config_type: flow 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] debug: True 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] dev: False 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] frontend_mode: Table 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] frontend_compact: True 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] onboarding_done: True 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] plugin_path: www/community/ 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] python_script_path: python_scripts/ 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] python_script: True 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] sidepanel_icon: hacs:hacs 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] sidepanel_title: HACS 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] theme_path: themes/ 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] theme: True 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] country: ALL 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] experimental: True 2020-05-22 11:42:04 DEBUG (MainThread) [hacs.configuration] release_limit: 5 2020-05-22 11:42:55 INFO (MainThread) [hacs] Loading known repositories 2020-05-22 11:43:03 DEBUG (MainThread) [hacs] Starting recuring background task for installed repositories 2020-05-22 11:43:04 DEBUG (MainThread) [hacs.data] Saving data 2020-05-22 11:43:05 DEBUG (MainThread) [hacs] Recuring background task for installed repositories done 2020-05-22 11:43:06 DEBUG (MainThread) [hacs.repository.integration.hacs.integration] Getting repository information 2020-05-22 11:43:28 DEBUG (MainThread) [hacs.repository.plugin.DavidFW1960.bom-weather-card] Running checks against 0.70 2020-05-22 11:43:29 DEBUG (MainThread) [hacs.backup] Backup for /config/www/community/bom-weather-card, created in /tmp/hacs_backup/bom-weather-card 2020-05-22 11:43:29 DEBUG (MainThread) [hacs.repository.plugin.DavidFW1960.bom-weather-card] 2020-05-22 11:43:29 DEBUG (MainThread) [hacs.repository.plugin.DavidFW1960.bom-weather-card] Downloading bom-weather-card.js 2020-05-22 11:43:29 DEBUG (MainThread) [hacs.download.downloader] Downloading https://raw.githubusercontent.com/DavidFW1960/bom-weather-card/0.70/bom-weather-card.js 2020-05-22 11:43:30 DEBUG (MainThread) [hacs.download.save] Saving /config/www/community/bom-weather-card/bom-weather-card.js 2020-05-22 11:43:30 INFO (MainThread) [hacs.repository.plugin.DavidFW1960.bom-weather-card] download of bom-weather-card.js complete 2020-05-22 11:43:30 DEBUG (MainThread) [hacs.backup] Backup dir /tmp/hacs_backup/ cleared ```
hacs-bot[bot] commented 4 years ago

Make sure you have read the issue guidelines and that you filled out the entire template.

sira87 commented 4 years ago

I noticed that this issue happens with whatever version you select. If you want to reinstall a different version of a plugin, it fails to do so and it just proceed to install the latest version instead.

ludeeus commented 4 years ago

LOL! I added the selector, but the value is never read, and therefore not used 🤣

DavidFW1960 commented 4 years ago

Hahahah... at least I amused you. Lol.

jason0x43 commented 4 years ago

I'm not sure this is fixed. At least, on v1.03, when I try to reinstall with master I just get the latest release.