snap: Use ODRS for reviews
This patch makes Snaps reviewable in ODRS. It uses the snap ID as the key, so this shouldn't collide with any existing AppStream IDs. @hughsie and I have discussed this in theory in the past, and this shows how it could work.
As an example I've made one review for the moon-buggy snap (ODRS app_id 2kkitQurgOkL3foImG4wDwn9CIANuHlt).
When we are able to get AppStream IDs for snaps [1] we can use that instead for those snaps that have them (not all snaps will). In that case we can either:
- Have GNOME Software request reviews for both the Snap ID and AppStream ID.
- Migrate the reviews over in the ODRS database
- Forget about the old reviews
[1] https://forum.snapcraft.io/t/support-for-appstream-id/2327/20
Edited by Robert Ancell