@iainlane
Copy link
Collaborator

iainlane commented Nov 15, 2016

After I fixed #31, I noticed that every run scans all packages in xenial:

2016-11-15 10:30:26 - INFO: Scanning new packages for xenial-proposed/main [amd64]
2016-11-15 10:30:35 - INFO: Scanned xchat-gnome/1:0.30.0~git20141005.816798-0ubuntu9/amd64, could be interesting.
2016-11-15 10:30:35 - INFO: Scanned gnome-session-common/3.18.1.2-1ubuntu1/amd64, could be interesting.
2016-11-15 10:30:35 - INFO: Scanned transmission-gtk/2.84-3ubuntu3/amd64, could be interesting.
2016-11-15 10:30:35 - INFO: Scanned gnome-system-monitor/3.18.2-1/amd64, could be interesting.

and so on for all packages in xenial.

I think it's because here we would normally skip the package if it's been seen before, but we don't because it's not in dstore. AFAICS that is because only the packages for the actual suite are processed.

Is that the bug? Do we need to process base suite packages? What do we need base suite packages for - just icons? If so, do they need to be in seedContentsData at all?