~vila/snapcraft/+git/mirror:concurrent-integration

Last commit made on 2016-04-08
Get this branch:
git clone -b concurrent-integration https://git.launchpad.net/~vila/snapcraft/+git/mirror
Only Vincent Ladeuil can upload to this branch. If you are Vincent Ladeuil please log in for upload directions.

Branch merges

Branch information

Name:
concurrent-integration
Repository:
lp:~vila/snapcraft/+git/mirror

Recent commits

2553ffa... by Vincent Ladeuil

VCS tools are test dependencies, they should be installed to run the tests or the tests should be skipped.

This allows tests to be run concurrently (apt-get can't be run concurrently)
and brings the time to run the integration tests from 4'14 to 1'37 with:

  PYTHONPATH=`pwd` ols-run-tests -m integration_tests -c 8

Combined with the unit tests, this bring the time to run both unit and
integration tests from 5'47 to 1'43 with:

  PYTHONPATH=`pwd` ols-run-tests -m integration_tests -m snapcraft -c 8

which is nice ;)

No tests were hurt during the production of this patch ;)

LP: #1566882

1e31959... by Kyle Fazzari

Lifecycle: Check to see if prerequisite is already built. (#431)

Currently, if one specifies a part to be built, the lifecycle checks to see if that part has any dependencies. If so, it
immediately errors out if those dependencies are not in the list to be built. This commit checks to make sure the dependencies are not already built before erroring.

LP: #1537790

Signed-off-by: Kyle Fazzari <email address hidden>

af86cdd... by Sergio Schvezov <email address hidden>

Converge all commands into one (#433)

LP: #1567058
LP: #1567041

Signed-off-by: Sergio Schvezov <email address hidden>

3959ca2... by Leo Arias

Temporary skip the webcam example while we debug the pip issue.

LP: #1567452

a117bd2... by Sergio Schvezov <email address hidden>

Precedence and library path ordering.

Take into account CFLAGS, CXXFLAGS, LDFLAGS and LD_LIBRARY_PATH from the env, also ensure the correct ordering is in place.

LP: #1548232

Signed-off-by: Sergio Schvezov <email address hidden>

b332715... by Kyle Fazzari

Copy plugin: Follow symlinks if outside of snap.

Currently the copy plugin copies all symlinks (using a hard link to them if possible). It should do its best to ensure symlinks will be valid when snapped, however, and follow the ones that aren't. This commit does a relatively conservative check for invalid symlinks. The symlink will be followed if any of the following conditions are true:

  - The symlink is absolute.
  - The symlink is pointing outside of the part's install
    directory.

It's possible to still get broken symlinks into a snap using this plugin with certain special cases, but this should catch the majority of use-cases.

LP: #1532515

Signed-off-by: Kyle Fazzari <email address hidden>

50d77d8... by Didier Roche-Tolomelli

Support .git extension detection

On github for instance, the https URL for a repo ends with .git:
https://github.com/…/….git.

Detecting this pattern as source_type = 'git' enables us to support http{,s}
git repo distribution without having to mention it explicitely in snapcraft.yaml.

LP: #1566153

eacfb6d... by Sergio Schvezov <email address hidden>

Release changelog for 2.7

Signed-off-by: Sergio Schvezov <email address hidden>

4d7c6b4... by Sergio Schvezov <email address hidden>

Add libraries to installation and use correct path

LP: #1549570

Signed-off-by: Sergio Schvezov <email address hidden>

9a6684c... by Kyle Fazzari

Copy plugin: Add support for sources.

Currently the copy plugin can only be used for local assets and pulling down build- or stage-packages. With this commit, the copy plugin can also be used for remote sources with no build system.

This also means that the functionality contained within the tar-content plugin is now duplicated in the copy plugin, so this commit deprecated the tar-content plugin.

LP: #1559154

Signed-off-by: Kyle Fazzari <email address hidden>