ppd / freecad-ppd

5 stars 1 forks source link

Using snap to test python related code commits #8

Open luzpaz opened 2 years ago

luzpaz commented 2 years ago

Is there a way to modify the internals of freecad-ppd edge to test code (in a way that won't interrupt daily updates?)

For example, the AppImage allows for this: https://wiki.freecad.org/AppImage#Modifying_AppImages

ppd commented 2 years ago

You can extract a snap: unsquashfs <the-snap> and then you can mount it: snap try squashfs_root. See https://snapcraft.io/docs/snap-try.

In this case however, this would disrupt daily updates. You would stay on the version you just extracted. You could rename the snap (see meta/snap.yaml), or use parallel installs to get around that: https://snapcraft.io/docs/parallel-installs

luzpaz commented 2 years ago

oooh, this would be a good thing to document for devs