Hello,
It is time! We have the snapcraft snap version 2.35 in the candidate channel in the store, and we want to move it to stable as soon as possible. We have been releasing the snapcraft deb to Ubuntu for a long time, but now we want to get it into the snap store and reach new places
We need help from our lovely community, because the number of possible operating systems, architectures, hardware and configurations is staggering. So please, follow these steps to give it a quick try: Install and configure lxd:
# Install and configure lxd.
sudo groupadd --system lxd
sudo usermod -a -G lxd $USER
newgrp lxd
sudo snap install lxd
sudo lxd init
# It's generally ok to answer every question with the default.
# Just keep pressing enter until lxd is happy.
Install the snapcraft snap, and tell it to use lxd to isolate the builds:
sudo snap install snapcraft --candidate --classic
export SNAPCRAFT_CONTAINER_BUILDS=local
Smoke test the installation, building an empty snap:
mkdir test-snapcraft
cd test-snapcraft
snapcraft init
snapcraft
If all works well, you will get a .snap file back. If anything goes wrong here we want to know! Please leave a reply with your testing results.
After the smoke test, you can help us making further exploratory testing. You can take a look at the snapcraft tutorials that will help you getting started. For example, let me recommend this new one by @davidcalle to package a website:
Finally, there are many interesting options that you can try for exploratory testing, like --target-arch
for cross-building, set SNAPCRAFT_BUILD_INFO=1
to record a manifest of the build, use build-snaps
in the snapcraft.yaml file, store commands like snapcraft push
and snapcraft release
.
If you have questions, get stuck, or see something weird, we will be available here to help.
pura vida