1) The app-info locations are standardized and can't be changed because tools 
might rely on it
2) Same applies to the Xapian cache
3) APT will not maintain the AppStream data - it will only download the data
4) The icons need to be extracted correctly and the YAML needs to be 
(partially) parsed for the origin entry. Those are things the APT team will not 
allow in APT itself (I asked).

So basically, APT is only for downloading, all the heavy lifting is done by 
appstream(cli).
Good thing is that you only need to trigger an apt update to get all metadata 
updated instantly, we handle all the magic transparently in the background.

So ideally, if no metadata is detected (not-installed application count
is zero or close to zero), redirect user to the update page and inform
him that an update will be performed in the background. Call the
Refresh() action on PK or the tool interfacing with APT.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1554023

Title:
  Perform an apt update if there is no appstream available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1554023/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to