Welcome to the weekly development notes for snapcraft! This covers work from Sunday 10 until Saturday 16 September of 2017.
Highlights of the week
General nice things worth mentioning that have been accomplished during the week:
- Began work on ament plugin
- Support for non-local remotes in persistent containers was added
- Tested the 2.34 release.
- Proposed the first batch of snapd integration tests that will run in travis instead of autopkgtest.
- snapcraft 2.34 has made it to Ubuntu 16.04 LTS and 17.04
Ecosystem
Spottings on the internet or events related to snapcraft or snaps:
- A new snap by JP Morgan Chase’s for quorum is probably going to make its way in soon
PR: #183 - Tokyo Opensource Robotics series on ROS, snaps, and Ubuntu Core:
Bugs squashed
- Python pkg-resources only works in certain paths resulting in LP: #1714333
- Problems building using the catkin plugin and underlays / LP: #1696014
- Remote per project containers
- Cleabuilld remote grabs wrong arch
- LP: #1707189 “Scriptlets should run with “-e” shell flag”
Developments in master
Work that landed in master the past week
- demos: remove the py?-project demos
- recording: record the machine information collected by uname
- meta: ensure main keys are ordered in snap.yaml
- tests: add integration tests for build snaps
- plugins: extract sitecustomize logic from python
- tests: fix the TEST_STORE environment variable
- plugins: extract python finder functions
- lxd: mount project folder via sshfs in case of a remote PR: #1302
- node plugin: record the yarn.lock file
- python node: record installed node packages in manifest
- typo: replace occured with occurred
- catkin plugin: don’t assume catkin is in underlay
- project_loader: aliases are deprecated
- pluginhandler: error out on scriptlet errors
- catkin plugin: only append PYTHONPATH if set
- lxd: Only pass target arch if specified explicitly
Pull Requests Created
List of pull requests proposed last week that have not yet made it to master
- lxd: instructions for /etc/sub{u,g}id after failed start PR: #1553
- tests: replace the first batch of demo tests with snapd integration tests PR: #1552
- dirs: set plugin, schema, and library dir for snap PR: #1551
- plugins: extract pip from python plugin PR: #1549
- cli: update parts cache in the container PR: #1546
Forum discussions
Summary of forum discussions from last week
- Non-en tutorial videos
- “unexpected directory layout” in go app
- Launchpad now builds snaps in LXD containers, in support of “build-snaps”
- Review of build-packages vs stage-packages for mumble snap
- Snapcraft snap doesn’t exclude any libs from snaps it builds
- Move snapcraft-forum to snapcrafters
- Declaratively defining environment variables
- How to support cross-compilation in plugins
- Build service “snapcraft.yaml can’t be used because it isn’t valid”
- Sources for snaps
- Cannot build Gradio snap
- Source:deb are maintainer scripts run on install?
- Remote per project containers
- Record machine information in the manifest
- Building snaps in LXD
- Macaddr0 - dragonboard
- How to properly stage 3rd libraries that don’t have package in Ubuntu repos
- Cleanbuild remote on pi grabs wrong arch lxc image
- Easy configuration/customization for a snap
- Localization of Python Snaps
- Proposal: Catkin pip support
- The right way to to start another app inside same snap
- Error allocating font with tcl/tk
- Allow daemon to access users home directory
- Snapcraft build-on hint for builders
- Snapcraft container builds triggering a bug in snapd