Why can't I add an app repo unless it's on GitHub?

I mean, what it says on the tin.

[core-ssh ~]$ ha store add https://github.com/waynew/asdf.git
Command completed successfully.
[core-ssh ~]$ ha store add https://dev.waynewerner.com/pub/repos/sample-ha-apps.git
Error: https://dev.waynewerner.com/pub/repos/sample-ha-apps.git is not a valid add-on repository

They’re the exact same repository, one is simply stored on GitHub, the other is stored on a different host.

I can’t seem to find any documentation about GitHub being mandated as a repo endpoint, and I can’t even find where in the codebase the repo is actually validated, either :weary:

Any clue what’s going wrong here?

Nothing is going wrong. It’s just an assumption someone made about something without consulting or thinking about future possibilities. I ran into the same problem. Solved it by putting my highly personal code online for everybody to find.

But on the bright side it might get solved. Because the other stupid thing (adding a custom icon to your own integration) was also solved in the last release.

1 Like

If you have a suggestion for a change, there might be this subject up already you chan +1 to or comment, or start a thread if you don’t find it. Yes, also on github, but sometimes you have to work with the tools available. home-assistant · Discussions · GitHub