-
Notifications
You must be signed in to change notification settings - Fork 50
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
add new vendormodel for broken devices #149
base: master
Are you sure you want to change the base?
Conversation
I agree that we should remove the broken devices from the recommended group but I think categorizing the devices by the level they are broken might be more helpful instead of one |
Maybe we could also rewrite the |
I fully agree with you, but what about devices which aren't able to mesh and have no_reset? listing them in both does not work easily. So this would be a much bigger feature. But I think thats a different issue and would still like to have this merged, as it improves the current situation (showing broken devices as recommended) |
Right I did not think about devices broken in different ways. Maybe then use the category which is more critical (no_mesh > no_reset) or introduce an additional group. But the later might be a bit cluttering. Sorry I did not meant the device_info change should be implemented in this PR. It was just an idea I had and could easily be a separate PR. |
Which Gluon version shall be used as reference for how broken a device is? (major vs minor release)
or the newest version could bring an improvement that removes it from being broken. |
As we don't have a way to distinguish the broken state for different versions I would always base it on the latest status in the gluon master branch. As we currently list a lot of the broken devices in the recommended category this would already improve the situation. And even if your community does not provide up to date builds it is always possible to build the firmware yourself. |
A much more advanced (and complicated) way of handling this could be to generate some sort of data strucutre from within Gluon for Gluon builds (a bit like the manifest). One part of this could be a caveats list. Broken devices then wouldn't just get Having those would allow quite an improved firmware selector. Devices could be only displayed if the Community allowed that tag for the device in question:
These settings could be customizable for different branches. In a "nightly" branch other things might be acceptable in comparison to a "stable" branch. |
ok, then it's clear what the stance is. nice to know :) I'm thinking about adding a sidebar to the firmware selector in another pr. We could also add other checkboxes/links/select buttons to this sidebar in the future to filter for devices that the community recommends, or for offloaders or for outdoors devices, switches etc. (and hiding development boards or very rare devices from the default view) Also I would add these broken filters to the get parameters in order to have devices show up, when you send a link to someone. edit: I chose a sidebar to avoid adding even more stuff above the table of device icons. overall broken state could be a list of tags per device. so a device can have more than one way of being broken. low flash/ram could also be converted to tags, I'm not sure whether I want to touch |
The data structure @herbetom mentioned could also be used to improve handling of manifest aliases and allow us to remove stuff like this override |
befb698
to
82c9c10
Compare
82c9c10
to
8d15e97
Compare
8d15e97
to
c78fc56
Compare
this relates to #148
we now have a separate vendormodel for broken devices.
This fixes the issue, that broken devices were currently shown as recommended.
Users can decide wether they want to have broken devices shown in the firmware selector, through the recommended toggle.
Maintainers can add
"broken"
in the config toenabled_device_categories
and add their own builds for untested devices