This topic documents the ignore rules for a Snapcraft project, it is now been added to the github/gitignore project:
/parts/
/stage/
/prime/
/*.snap
# Snapcraft global state tracking data(automatically generated)
# https://forum.snapcraft.io/t/location-to-save-global-state/768
/snap/.snapcraft/
# Source archive packed by `snapcraft cleanbuild` before pushing to the LXD container
/*_source.tar.bz2
TODO
- Python runtime generated files used in snapcraft plugins