Neon/Snap: Difference between revisions

From KDE Community Wiki
No edit summary
No edit summary
Line 12: Line 12:
* There are no debug snaps making debugging of crashes nigh impossible. Possibly needs a way to catch and send cores and then retrace them server-side with (externally) generated debug symbol dumps?
* There are no debug snaps making debugging of crashes nigh impossible. Possibly needs a way to catch and send cores and then retrace them server-side with (externally) generated debug symbol dumps?
* File IO requires xdg-desktop-portals (with patches) + snapd (with patches). Needs landing or something.
* File IO requires xdg-desktop-portals (with patches) + snapd (with patches). Needs landing or something.
* No real way to run unit tests.
* No real way to run unit tests through snapcraft (do we need to?)
* Content snap has "external" dev tarball which we utilize to build snaps off of the content snap, problem is that snapcraft does not like files diverging, so whenever a snap stages-packages something that is in the dev tarball (e.g. as part of a runtime dep) but binary different (e.g. newer build) the snapcraft will fail. On auto generated snaps this was worked around by maintaining an exclusion list of packages to not install, this may be auto-injectable into manual builds BUT won't be doable for non-infrastructure builds (i.e. a dev running snapcraft on their system).

Revision as of 08:21, 7 August 2017

Problems

(upstream issues ought to be filed/subscribed to and mentioned here)

  • Content snap not getting installed if snap depending on it gets installed
  • Theming
    • How to get theme settings from the host into the snap?
    • QtStyles are binary plugins and so even when we know which style is configured on the host we cannot just load it
    • Icon themes in /usr/share and ~/.local cannot be accessed from inside snaps
    • Same for mouse cursor themes
    • Same for fonts
  • There are no debug snaps making debugging of crashes nigh impossible. Possibly needs a way to catch and send cores and then retrace them server-side with (externally) generated debug symbol dumps?
  • File IO requires xdg-desktop-portals (with patches) + snapd (with patches). Needs landing or something.
  • No real way to run unit tests through snapcraft (do we need to?)
  • Content snap has "external" dev tarball which we utilize to build snaps off of the content snap, problem is that snapcraft does not like files diverging, so whenever a snap stages-packages something that is in the dev tarball (e.g. as part of a runtime dep) but binary different (e.g. newer build) the snapcraft will fail. On auto generated snaps this was worked around by maintaining an exclusion list of packages to not install, this may be auto-injectable into manual builds BUT won't be doable for non-infrastructure builds (i.e. a dev running snapcraft on their system).