Reserve "FOSS" product name for official builds - #3925
Conversation
|
IMO that's as good as nothing. It does not change anything on forked repositories as anyone is discouraged to modify And if a user/vendor chooses |
|
As you've said before, you can't control the behaviour of people who make forks, especially with an open hobby project like WLED, so there are no guarantees ever. But you can make the default behaviour follow what you would like, give them the hooks to do do the same and have consequences if they don't. Here, the consequences are that third-parties like Home Assistant might try to OTA your device with the official version of the firmware. As an initial step, this PR changes the default behaviour to be that the product name is different depending on whether you use a build config from the It also asks people nicely to change WLED_BRAND_NAME (in |
| # Note that WLED_BRAND_NAME='"WLED"' identifies the source code as coming from the Aircoookie repository. Forks should use a different value. | ||
| # Official builds from this repository have WLED_PRODUCT_NAME='"FOSS"'. Unofficial builds can have other values. | ||
| # Note that third-party components may use these values in order to OTA update your device's firmware using these builds, | ||
| # overwriting any custom firmware that you have loaded. |
There was a problem hiding this comment.
There's almost certainly a better place to put this text. Where is that?
|
For context, I want to make some updates to the python-wled library that Home Assistant uses for WLED integration, which suffers from three key problems relating to OTA updates:
|
|
Ah. That's not how MoonModules works at all! I was misled by looking at the wrong source code file.
So problem 1 has to be solved with a combination of "brand" and "product" together, rather than just "brand". |
If the "FOSS" product name is reserved for official builds, then it becomes much easier to identify devices that have official builds from the Aircoookie repository.