Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't work out how to change custom repo branch in v2 #4203

Open
7 tasks done
ohshazbot opened this issue Nov 17, 2024 · 2 comments
Open
7 tasks done

Can't work out how to change custom repo branch in v2 #4203

ohshazbot opened this issue Nov 17, 2024 · 2 comments
Labels
issue:frontend For issues with the frontend/UI

Comments

@ohshazbot
Copy link

ohshazbot commented Nov 17, 2024

Web browser

Firefox

Web browser version

130.0.1

System Health details

System Information

version core-2024.11.1
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.12.4
os_name Linux
os_version 5.15.0-124-generic
arch x86_64
timezone America/New_York
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 4925
Installed Version 2.0.1
Stage running
Available Repositories 1460
Downloaded Repositories 5
Home Assistant Cloud
logged_in true
subscription_expiration January 28, 2025 at 7:00 PM
relayer_connected true
relayer_region us-east-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
cloud_ice_servers_enabled true
remote_server us-east-1-7.ui.nabu.casa
certificate_status ready
instance_id 192f9748229f4307b368e2bd042b6d9a
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Dashboards
dashboards 5
resources 0
views 8
mode storage
Recorder
oldest_recorder_run November 9, 2024 at 4:11 PM
current_recorder_run November 17, 2024 at 3:24 PM
estimated_db_size 215.42 MiB
database_engine sqlite
database_version 3.45.3

Checklist

Describe the issue

Similar to #4195, I cannot for the life of me figure out how to change the branch of a custom repo in HACS 2.0. I'm trying to test out a PR for a custom repo, but as much as I noodle around I cannot figure out how to change the branch HACS is pulling from for a custom repo from the front-end. https://hacs.xyz/docs/publish/integration/?h=branch#github-releases-optional makes me think this is no longer possible, which is kinda oboxious for this use case. If that's the case, is there a dev override, as I understand this use case is somewhat specialized, but it can't be that unique (unless there's better workflows y'all suggest for testing out custom repo changes)

Reproduction steps

  1. Create a fork of an existing custom repo
  2. Create a custom branch with changes to try in HACS
  3. Add new fork to HACS
  4. Discover that you cannot specify the branch to use, and the default branch (which is the unadulterated fork of the original repo) is no different then the upstream

Screenshots

I'm not sure how useful screenshots showing a lack of behavior are, but I can gladly get some if I know what you want to look at

Javascript logs from your browser console

Keyframe property value “” is invalid according to the syntax for “transform”. 2 menu.ts:722:49
Keyframe property value “” is invalid according to the syntax for “transform”. menu.ts:842:51
Keyframe property value “” is invalid according to the syntax for “transform”. menu.ts:842:51

​

Diagnostics dump

{
"home_assistant": {
"installation_type": "Home Assistant Container",
"version": "2024.11.1",
"dev": false,
"hassio": false,
"virtualenv": false,
"python_version": "3.12.4",
"docker": true,
"arch": "x86_64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "5.15.0-124-generic",
"run_as_root": true
},
"custom_components": {
"fujitsu_airstage": {
"documentation": "https://www.home-assistant.io/integrations/fujitsu_airstage",
"version": "1.1.7",
"requirements": [
"pyairstage>=1.1.3"
]
},
"smartthinq_sensors": {
"documentation": "https://github.com/ollo69/ha-smartthinq-sensors",
"version": "0.40.3",
"requirements": [
"pycountry>=23.12.11",
"xmltodict>=0.13.0",
"charset_normalizer>=3.2.0"
]
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "2.0.1",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"govee": {
"documentation": "https://github.com/LaggAt/hacs-govee/blob/master/README.md",
"version": "2023.11.1",
"requirements": [
"govee-api-laggat==0.2.2",
"dacite==1.8.0"
]
},
"auto_backup": {
"documentation": "https://github.com/jcwillox/hass-auto-backup",
"version": "1.5.1",
"requirements": []
}
},
"integration_manifest": {
"domain": "hacs",
"name": "HACS",
"after_dependencies": [
"python_script"
],
"codeowners": [
"ludeeus"
],
"config_flow": true,
"dependencies": [
"http",
"websocket_api",
"frontend",
"persistent_notification",
"lovelace",
"repairs"
],
"documentation": "https://hacs.xyz/docs/configuration/start",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/hacs/integration/issues",
"requirements": [
"aiogithubapi>=22.10.1"
],
"version": "2.0.1",
"is_built_in": false,
"overwrites_built_in": false
},
"setup_times": {
"null": {
"setup": 2.2913794964551926e-05
},
"8b1605a61a83dfb05027da0672a03c41": {
"wait_import_platforms": -1.2927006888203323,
"wait_base_component": -0.001004357822239399,
"config_entry_setup": 1.4321082038804889
}
},
"data": {
"entry": {
"created_at": "1970-01-01T00:00:00+00:00",
"data": {
"token": "REDACTED"
},
"discovery_keys": {},
"disabled_by": null,
"domain": "hacs",
"entry_id": "8b1605a61a83dfb05027da0672a03c41",
"minor_version": 1,
"modified_at": "1970-01-01T00:00:00+00:00",
"options": {
"experimental": true
},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "user",
"title": "",
"unique_id": null,
"version": 1
},
"hacs": {
"stage": "running",
"version": "2.0.1",
"disabled_reason": null,
"new": false,
"startup": false,
"categories": [
"template",
"integration",
"plugin",
"theme"
],
"renamed_repositories": {},
"archived_repositories": [],
"ignored_repositories": [],
"lovelace_mode": "storage",
"configuration": {
"appdaemon": false,
"country": "ALL",
"debug": false,
"dev": false,
"python_script": false,
"release_limit": 5,
"theme": false
}
},
"custom_repositories": [
"uvera/ha_airstage"
],
"repositories": [
{
"data": {
"archived": false,
"authors": [
"@jcwillox"
],
"category": "integration",
"config_flow": false,
"default_branch": null,
"description": "\ud83d\uddc3\ufe0f Improved Backup Service for Home Assistant that can Automatically Remove Backups and Supports Generational Backup Schemes.",
"domain": "auto_backup",
"downloads": 12083,
"etag_repository": "W/"47b4bb44f1c50b29502d4ad003392e73c74399c1ceb26eee97ea970377a37138"",
"etag_releases": null,
"file_name": "",
"first_install": false,
"full_name": "jcwillox/hass-auto-backup",
"hide": false,
"has_issues": true,
"id": "221855213",
"installed_commit": "24ffb17",
"installed_version": "v1.5.1",
"installed": true,
"last_commit": "24ffb17",
"last_updated": "2024-11-09T01:18:14Z",
"last_version": "v1.5.1",
"manifest_name": "Auto Backup",
"new": false,
"open_issues": 0,
"prerelease": null,
"published_tags": [],
"releases": true,
"selected_tag": null,
"show_beta": false,
"stargazers_count": 361,
"topics": [
"auto-purge",
"backups",
"generational-backups",
"snapshots"
]
},
"integration_manifest": {},
"repository_manifest": {
"content_in_root": false,
"country": [],
"filename": "auto_backup.zip",
"hacs": null,
"hide_default_branch": true,
"homeassistant": "2022.4.0",
"manifest": {
"name": "Auto Backup",
"zip_release": true,
"hide_default_branch": true,
"filename": "auto_backup.zip",
"homeassistant": "2022.4.0"
},
"name": "Auto Backup",
"persistent_directory": null,
"render_readme": false,
"zip_release": true
},
"ref": null,
"paths": {
"localpath": "/config/custom_components/auto_backup",
"local": "/config/custom_components/auto_backup",
"remote": "custom_components"
}
},
{
"data": {
"archived": false,
"authors": [
"@ollo69"
],
"category": "integration",
"config_flow": false,
"default_branch": null,
"description": "HomeAssistant custom integration for SmartThinQ LG devices configurable with Lovelace User Interface.",
"domain": "smartthinq_sensors",
"downloads": 31062,
"etag_repository": "W/"7bfb01466114feb24afed2b95b6c05e4ac0d57fc1a83f0e12a0b6d4a2d7113be"",
"etag_releases": null,
"file_name": "",
"first_install": false,
"full_name": "ollo69/ha-smartthinq-sensors",
"hide": false,
"has_issues": true,
"id": "250022973",
"installed_commit": "abc27f2",
"installed_version": "v0.40.3",
"installed": true,
"last_commit": "abc27f2",
"last_updated": "2024-10-20T19:35:55Z",
"last_version": "v0.40.3",
"manifest_name": "SmartThinQ LGE Sensors",
"new": false,
"open_issues": 0,
"prerelease": null,
"published_tags": [],
"releases": true,
"selected_tag": null,
"show_beta": false,
"stargazers_count": 1159,
"topics": [
"ac",
"air-purifier",
"climate",
"dehumidifier",
"dishwasher",
"dryer",
"fan",
"lg",
"lge",
"microwave",
"oven",
"range",
"refrigerator",
"sensors",
"smartthinq",
"thinq",
"washer"
]
},
"integration_manifest": {},
"repository_manifest": {
"content_in_root": false,
"country": [],
"filename": "smartthinq_sensors.zip",
"hacs": null,
"hide_default_branch": false,
"homeassistant": "2024.8.0",
"manifest": {
"name": "SmartThinQ LGE Sensors",
"zip_release": true,
"filename": "smartthinq_sensors.zip",
"homeassistant": "2024.8.0"
},
"name": "SmartThinQ LGE Sensors",
"persistent_directory": null,
"render_readme": false,
"zip_release": true
},
"ref": null,
"paths": {
"localpath": "/config/custom_components/smartthinq_sensors",
"local": "/config/custom_components/smartthinq_sensors",
"remote": "custom_components"
}
},
{
"data": {
"archived": false,
"authors": [
"@LaggAt"
],
"category": "integration",
"config_flow": false,
"default_branch": null,
"description": "A HACS repository for Govee light integration",
"domain": "govee",
"downloads": 0,
"etag_repository": "W/"54a9bd414f62e92cb6673e353cdaaf1f042b420a36a2f9b5a20b92672b149f2a"",
"etag_releases": null,
"file_name": "",
"first_install": false,
"full_name": "LaggAt/hacs-govee",
"hide": false,
"has_issues": true,
"id": "312080478",
"installed_commit": "52d3bc0",
"installed_version": "2023.11.1",
"installed": true,
"last_commit": "52d3bc0",
"last_updated": "2024-06-14T15:57:04Z",
"last_version": "2023.11.1",
"manifest_name": "Govee",
"new": false,
"open_issues": 0,
"prerelease": null,
"published_tags": [],
"releases": true,
"selected_tag": null,
"show_beta": false,
"stargazers_count": 269,
"topics": [
"devcontainer",
"govee",
"light"
]
},
"integration_manifest": {},
"repository_manifest": {
"content_in_root": false,
"country": [],
"filename": null,
"hacs": null,
"hide_default_branch": false,
"homeassistant": "2023.11.2",
"manifest": {
"name": "govee",
"homeassistant": "2023.11.2"
},
"name": "govee",
"persistent_directory": null,
"render_readme": false,
"zip_release": false
},
"ref": null,
"paths": {
"localpath": "/config/custom_components/govee",
"local": "/config/custom_components/govee",
"remote": "custom_components"
}
},
{
"data": {
"archived": false,
"authors": [
"@ludeeus"
],
"category": "integration",
"config_flow": false,
"default_branch": null,
"description": "HACS gives you a powerful UI to handle downloads of all your custom needs.",
"domain": "hacs",
"downloads": 531591,
"etag_repository": "W/"cc331427d240c43253572e99f6ddc90e9a02580b4a4889f004bd51aa5a93f9b6"",
"etag_releases": null,
"file_name": "",
"first_install": false,
"full_name": "hacs/integration",
"hide": false,
"has_issues": true,
"id": "172733314",
"installed_commit": "c21a4a6",
"installed_version": "2.0.1",
"installed": true,
"last_commit": "c716799",
"last_updated": "2024-11-11T06:36:49Z",
"last_version": "2.0.1",
"manifest_name": "HACS",
"new": false,
"open_issues": 0,
"prerelease": null,
"published_tags": [],
"releases": true,
"selected_tag": null,
"show_beta": false,
"stargazers_count": 5415,
"topics": [
"community",
"package-manager"
]
},
"integration_manifest": {},
"repository_manifest": {
"content_in_root": false,
"country": [],
"filename": "hacs.zip",
"hacs": "0.19.0",
"hide_default_branch": true,
"homeassistant": "2024.4.1",
"manifest": {
"name": "HACS",
"zip_release": true,
"hide_default_branch": true,
"homeassistant": "2024.4.1",
"hacs": "0.19.0",
"filename": "hacs.zip"
},
"name": "HACS",
"persistent_directory": null,
"render_readme": false,
"zip_release": true
},
"ref": null,
"paths": {
"localpath": "/config/custom_components/hacs",
"local": "/config/custom_components/hacs",
"remote": "custom_components"
}
},
{
"data": {
"archived": false,
"authors": [
"@danielkaldheim"
],
"category": "integration",
"config_flow": true,
"default_branch": "main",
"description": "Connects your Fujitsu Airstage air conditioner to Home Assistant.",
"domain": "fujitsu_airstage",
"downloads": 0,
"etag_repository": "W/"e6a4bfa031da31eaaa4731033231ea7bb3790064850b5968c9ade6d9573e4ad8"",
"etag_releases": null,
"file_name": "",
"first_install": false,
"full_name": "uvera/ha_airstage",
"hide": false,
"has_issues": false,
"id": "888068148",
"installed_commit": "5e906e2",
"installed_version": "5e906e2",
"installed": true,
"last_commit": "5e906e2",
"last_updated": "2024-11-13T21:31:43Z",
"last_version": null,
"manifest_name": "Fujitsu Airstage",
"new": false,
"open_issues": 0,
"prerelease": null,
"published_tags": [],
"releases": false,
"selected_tag": null,
"show_beta": false,
"stargazers_count": 0,
"topics": []
},
"integration_manifest": {
"domain": "fujitsu_airstage",
"name": "Fujitsu Airstage",
"codeowners": [
"@danielkaldheim"
],
"config_flow": true,
"dependencies": [],
"documentation": "https://www.home-assistant.io/integrations/fujitsu_airstage",
"iot_class": "local_polling",
"issue_tracker": "https://github.com/danielkaldheim/ha_airstage/issues",
"requirements": [
"pyairstage>=1.1.3"
],
"version": "1.1.7"
},
"repository_manifest": {
"content_in_root": false,
"country": [],
"filename": null,
"hacs": null,
"hide_default_branch": false,
"homeassistant": null,
"manifest": {
"name": "Fujitsu Airstage Home Assistant component"
},
"name": "Fujitsu Airstage Home Assistant component",
"persistent_directory": null,
"render_readme": false,
"zip_release": false
},
"ref": "main",
"paths": {
"localpath": "/config/custom_components/fujitsu_airstage",
"local": "/config/custom_components/fujitsu_airstage",
"remote": "custom_components/fujitsu_airstage"
}
}
],
"rate_limit": {
"resources": {
"core": {
"limit": 5000,
"used": 81,
"remaining": 4919,
"reset": 1731876459
},
"search": {
"limit": 30,
"used": 0,
"remaining": 30,
"reset": 1731875733
},
"graphql": {
"limit": 5000,
"used": 0,
"remaining": 5000,
"reset": 1731879273
},
"integration_manifest": {
"limit": 5000,
"used": 0,
"remaining": 5000,
"reset": 1731879273
},
"source_import": {
"limit": 100,
"used": 0,
"remaining": 100,
"reset": 1731875733
},
"code_scanning_upload": {
"limit": 1000,
"used": 0,
"remaining": 1000,
"reset": 1731879273
},
"actions_runner_registration": {
"limit": 10000,
"used": 0,
"remaining": 10000,
"reset": 1731879273
},
"scim": {
"limit": 15000,
"used": 0,
"remaining": 15000,
"reset": 1731879273
},
"dependency_snapshots": {
"limit": 100,
"used": 0,
"remaining": 100,
"reset": 1731875733
}
},
"rate": {
"limit": 5000,
"used": 81,
"remaining": 4919,
"reset": 1731876459
}
}
}
}

@ohshazbot ohshazbot added the issue:frontend For issues with the frontend/UI label Nov 17, 2024
@hacs-bot
Copy link

hacs-bot bot commented Nov 17, 2024

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

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a 👍 reaction to the issue description. Thanks! 👍

@tjorim
Copy link
Contributor

tjorim commented Nov 17, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue:frontend For issues with the frontend/UI
Projects
None yet
Development

No branches or pull requests

2 participants