Skip to content
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

Rescan supported flags when refreshing metadata #363

Closed
bastianilso opened this issue Jan 12, 2018 · 0 comments
Closed

Rescan supported flags when refreshing metadata #363

bastianilso opened this issue Jan 12, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@bastianilso
Copy link

bastianilso commented Jan 12, 2018

When I connected my H05 headphones, I saw them in the get-devices but they only had the flags "updatable|registered". Then I ran fwupdmgr refresh && fwupdmgr get-updates which refreshed the repository, but fwupdmgr get-updates didn't list any updates for my H05 headphones even if there were some. But after unplugging and replugging my headphones the flags changed to updatable|supported|registered, and now fwupdmgr get-updates lists an update for my headphones as it should.

This only affects devices which go from unsupported to supported, but maybe it would be nice if fwupdmgr rescanned supported flags when refreshing metadata to avoid this confusion again.

$ fwupdmgr --version
client version:	1.0.3
daemon version:	1.0.3
compile-time dependency versions
	appstream-glib:	0.7.4
	gusb:	0.2.11
hughsie referenced this issue Jan 12, 2018
The SUPPORTED flag is used when a device appears in the AppStream metadata of
any enabled remote, so when we rescan the modified store also ensure the flag
state is still correct.

Fixes https://github.com/hughsie/fwupd/issues/363
@hughsie hughsie self-assigned this Jan 12, 2018
@hughsie hughsie added the bug label Jan 12, 2018
@hughsie hughsie added this to the 1.0.4 milestone Jan 12, 2018
hughsie referenced this issue Jan 12, 2018
The SUPPORTED flag is used when a device appears in the AppStream metadata of
any enabled remote, so when we rescan the modified store also ensure the flag
state is still correct.

Fixes https://github.com/hughsie/fwupd/issues/363
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants