freifunkh / ansible

Here we store all Ansible roles and configs used for Freifunk Hannover.
MIT License
7 stars 3 forks source link

gluon-firmware-selector lacks a role on web #252

Open AiyionPrime opened 1 year ago

AiyionPrime commented 1 year ago

gluon-firmware-selector is a mirror, which we do not use on web. We use Darmstadts repo and have contributed some PRs there.

What the role should do on a regular basis is described in this commit:

https://github.com/freifunkh/gluon-firmware-selector/pull/1#issuecomment-1511416823

Other than that it could provide the one-liner in nginx' sites-availabe for the rewrite.

maurerle commented 1 year ago

We have this role https://github.com/maurerle/ff-supernode/tree/main/playbooks/roles/ff.firmware_selector which sets our custom config and our custom devices.js (including some unsupported test-devices which can not be upstreamed). Furthermore, our devices.js marks broken devices correctly as "unsupported".

maurerle commented 1 year ago

By the way, the HTML in https://hannover.freifunk.net/download.html is different from that in https://hannover.freifunk.net/gluon-firmware-wizard . So the role should probably update both.

The former initially gives the checkbox to show old devices, because <div id="model-pane" class="pane show-notrecommended-warning"> has set the show-notrecommended-warning by default. This might be a good default as the selector is otherwise a little too nudgy to hide notrecommended devices (but ymmv)