127b27ec6Sopenharmony_ciSnap Packaging
227b27ec6Sopenharmony_ci--------------
327b27ec6Sopenharmony_ci
427b27ec6Sopenharmony_ciThis directory contains the config required to generate a snap package
527b27ec6Sopenharmony_ciof lz4. Snaps are universal Linux packages that allow you to easily
627b27ec6Sopenharmony_cibuild your application from any source and ship it to any Linux
727b27ec6Sopenharmony_cidistribution by publishing it to https://snapcraft.io/. A key attribute
827b27ec6Sopenharmony_ciof a snap package is that it is (ideally) confined such that it
927b27ec6Sopenharmony_ciexecutes within a controlled environment with all its dependencies
1027b27ec6Sopenharmony_cibundled with it and does not share dependencies with of from any other
1127b27ec6Sopenharmony_cipackage on the system (with a couple of minor exceptions).
1227b27ec6Sopenharmony_ci
1327b27ec6Sopenharmony_ciThe basic anatomy and workflow is:
1427b27ec6Sopenharmony_ci
1527b27ec6Sopenharmony_ci  * ensure snap.snapcraft.yaml is up-to-date e.g. with version info
1627b27ec6Sopenharmony_ci
1727b27ec6Sopenharmony_ci  * build the snap by installing the snapcraft package and running it
1827b27ec6Sopenharmony_ci
1927b27ec6Sopenharmony_ci  * push snap/* changes to the repo (excluding any crud generated by a build of course)
2027b27ec6Sopenharmony_ci
2127b27ec6Sopenharmony_ci  * register yourself as owner of lz4 name in snapstore
2227b27ec6Sopenharmony_ci
2327b27ec6Sopenharmony_ci  * publish new snap to the snap store
2427b27ec6Sopenharmony_ci
2527b27ec6Sopenharmony_ci  * install snap by doing 'snap install lz4' on any Linux distro
2627b27ec6Sopenharmony_ci
2727b27ec6Sopenharmony_ci  * all installed copies of lz4 will be automatically updated to your new version
2827b27ec6Sopenharmony_ci
2927b27ec6Sopenharmony_ciFor more information on Snaps see https://docs.snapcraft.io and https://forum.snapcraft.io/
30