Permalink
Commits on Jan 5, 2018
  1. static tests: add type hint for cli/assertions.py module (#1811)

    m4sk1n committed with sergiusens Jan 5, 2018
    Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Commits on Jan 4, 2018
  1. kernel plugin: update initrd.img-core path to boot/initrd.img (#1839)

    piso77 committed with sergiusens Jan 4, 2018
    Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
  2. elf: warn if primed files will not work with the base's linker (#1843)

    sergiusens committed Jan 4, 2018
    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>
Commits on Jan 3, 2018
  1. cli: implement help <command> (#1845)

    sergiusens committed Jan 3, 2018
    Allow for calling `snapcraft help <comand>.
    
    Closes: #1699
    Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
  2. docker: instructions to build from the snap (#1840)

    sergiusens committed Jan 3, 2018
    Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
  3. cmake plugin: update plugin help (#1832)

    konrad11901 committed with sergiusens Jan 3, 2018
    Updates the cmake plugin details to include the information about the keywords from the make plugin.
Commits on Jan 2, 2018
  1. cli: humanize push message (#1833)

    Sheogorath2 committed with sergiusens Jan 2, 2018
    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
  2. tests: fix broken rust test snap (#1838)

    sergiusens committed Jan 2, 2018
    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>
Commits on Dec 22, 2017
  1. Release changelog for 2.38 (#1830)

    sergiusens committed Dec 22, 2017
    Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
  2. pluginhandler: warn the inclusion of libraries from the host (#1829)

    sergiusens committed Dec 22, 2017
    Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
  3. extractors: support appstream metadata in parts (#1826)

    kyrofa committed with sergiusens Dec 22, 2017
    Only supporting the summary and description right now.
    
    Resolve #1694
    
    Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
  4. metadata: add infrastructure for extracting metadata from parts (#1825)

    kyrofa committed Dec 22, 2017
    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>
Commits on Dec 21, 2017
  1. elf: search for DT_NEEDED in prime and the base. (#1823)

    sergiusens committed Dec 21, 2017
    Closes: #1664
    Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
  2. tests: run test_cleanbuild in LXD on Travis (#1807)

    kalikiana committed with sergiusens Dec 21, 2017
    Part of LP: #1738210
  3. tests: skip classic confined tests on armhf (#1822)

    sergiusens committed Dec 21, 2017
    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>
Commits on Dec 20, 2017
  1. repo: handle invalid snaps (#1815)

    sergiusens committed Dec 20, 2017
    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>
  2. tests: use a simpler test for bzr and python (#1821)

    sergiusens committed Dec 20, 2017
    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>
  3. meta: create XDG_RUNTIME_DIR in wrappers. (#1818)

    sergiusens committed Dec 20, 2017
    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
Commits on Dec 19, 2017
  1. lxd: always install squashfuse (#1786)

    kalikiana committed with sergiusens Dec 19, 2017
    LP: #1730561
Commits on Dec 18, 2017
Commits on Dec 16, 2017
  1. elf: strip the .note.go.buildid to make room for patching elf (#1798)

    sergiusens committed Dec 16, 2017
    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>
Commits on Dec 15, 2017
  1. meta: refactor into a package (#1804)

    elopio committed with sergiusens Dec 15, 2017
    Closes #1695
Commits on Dec 14, 2017
  1. ci: correctly run from snap (#1803)

    sergiusens committed Dec 14, 2017
    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>
  2. repo: error for packages with broken dependencies (#1788)

    kalikiana committed with sergiusens Dec 14, 2017
    LP: #1686481
    Closes: #1767
Commits on Dec 13, 2017
  1. ci: detect docker to auto setup core (#1801)

    sergiusens committed Dec 13, 2017
    Detect docker container to automatically setup the core snap when working with
    classic confinement.
    
    Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
  2. ci: transfer generated snapcraft snap to transfer.sh (#1806)

    daniellimws committed with sergiusens Dec 13, 2017
    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.
  3. lifecycle: use the -no-fragments mksquashfs option (#1805)

    tyhicks committed with sergiusens Dec 13, 2017
    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>