canonical / firmware-updater

An experimental firmware updater UI based on fwupd
GNU General Public License v3.0
107 stars 15 forks source link

Not possible to force a metadata refresh #286

Open superm1 opened 3 months ago

superm1 commented 3 months ago

This is mostly found by comparing to GNOME firmware. I see that firmware-updater doesn't have any method to force a metadata refresh cycle.

GNOME Firmware: image

For the MAJORITY of users, this doesn't matter because fwupd-refresh.service will refresh metadata ~ once per day. But there are two cases that it makes sense to have a manual button.

  1. For an end user who is "offline" when fwupd-refresh.service ran or on a limited network when it run so they didn't get updated metadata. They need a way to manually trigger a metadata refresh.
  2. For developers who are uploading firmware to LVFS and doing end to end testing it's going to be problematic to be able to validate their firmware update worked properly without resorting to command line tools and manually running fwupmdgr refresh --force. Note: this ties in VERY heavily to https://github.com/canonical/firmware-updater/issues/274. If that isn't fixed then it will make it very difficult to use firmware-updater for development purposes.