-
-
-
static tests: add type hint for cli/assertions.py module (#1811)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
-
kernel plugin: update initrd.img-core path to boot/initrd.img (#1839)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
-
elf: warn if primed files will not work with the base's linker (#1843)
Parse all the primed files and make sure it will work with the version of the linker provided by the supporting base. Closes: #1667 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
cli: implement help <command> (#1845)
Allow for calling `snapcraft help <comand>. Closes: #1699 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
docker: instructions to build from the snap (#1840)
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
cmake plugin: update plugin help (#1832)
Updates the cmake plugin details to include the information about the keywords from the make plugin.
-
cli: humanize push message (#1833)
I improved a message displayed after pushing a snap. The humanize_list function from formatting_utils is used to make the list of channels more readable. The unit test was added, to check that the message is displayed correctly. LP: #1735476
-
tests: fix broken rust test snap (#1838)
The test snap rust-with-revisons had an unnecessary dependency on the `log` crate which was unversioned. The latest version of `log` breaks with the rust revision this snap is fixed to. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
Release changelog for 2.38 (#1830)
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
pluginhandler: warn the inclusion of libraries from the host (#1829)
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
extractors: support appstream metadata in parts (#1826)
Only supporting the summary and description right now. Resolve #1694 Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
-
metadata: add infrastructure for extracting metadata from parts (#1825)
No actual metadata extraction is done here (e.g. Appstream). That will come in follow-up PRs, and will be as simple as adding a new module to `snapcraft.extractors` with an `extract` function. Resolve #1693 Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
elf: search for DT_NEEDED in prime and the base. (#1823)
Closes: #1664 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
tests: run test_cleanbuild in LXD on Travis (#1807)
Part of LP: #1738210
-
tests: skip classic confined tests on armhf (#1822)
We recently added a requirement to the snapcraft deb to install patchelf from the snapstore which disabled a couple of tests. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
repo: handle invalid snaps (#1815)
Handle invalid snaps listed under `build-snaps`, provide a nice error. Also add retries to the information fetching logic to be able to have easier debugging information when the network goes wrong. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
tests: use a simpler test for bzr and python (#1821)
The python plugin test used lp:curtin which recently moved to bzr. This moves the test to use a bzr repo the ~snappy-dev team controls which is also much simpler and lightweight. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
meta: create XDG_RUNTIME_DIR in wrappers. (#1818)
XDG_RUNTIME_DIRS does not exist for the snap on first run, the desktop helpers part has a workaround for this, but snapcraft is a better place for this as it would work for projects not using them. This is a workaround for LP: #1656340
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
lxd: always install squashfuse (#1786)
LP: #1730561
-
elf: strip the .note.go.buildid to make room for patching elf (#1798)
patchelf does not some orderings of sections and segments. In some cases it is enough to remove the .note.go.buildid section so we strip it from the resulting binary if the initial patching fails. A newer patchelf is also required which handles the math required for the way the headers are layed out when using golang's go. LP: #1736861 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
ci: correctly run from snap (#1803)
We loosly assume tests are using the snap to run, what is worse is that we setup all the development dependencies together with the runtime ones to hide this fact Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
repo: error for packages with broken dependencies (#1788)
LP: #1686481 Closes: #1767
-
ci: detect docker to auto setup core (#1801)
Detect docker container to automatically setup the core snap when working with classic confinement. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits -
ci: transfer generated snapcraft snap to transfer.sh (#1806)
Send the snapcraft snap generated by travis on each pull request to transfer.sh, so it can be installed and tested manually in an easier way.
-
lifecycle: use the -no-fragments mksquashfs option (#1805)
Use of the Squashfs fragments feature results in unpredictable snap composition due to how fragments are gathered and compressed using a separate thread in mksquashfs. Disable fragments entirely so that the review tools can perform validation of snaps. https://forum.snapcraft.io/t/proposal-to-disable-squashfs-fragments-in-snaps/3103 LP: #1576763 Signed-off-by: Tyler Hicks <tyhicks@canonical.com>