<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/tests/integration/pullbuildtrees.py, branch juerg/buffer-size</title>
<subtitle>gitlab.com: buildstream/buildstream.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/buildstream.git/'/>
<entry>
<title>Expose basic api for testing external plugins.</title>
<updated>2019-02-08T14:27:54+00:00</updated>
<author>
<name>Phil Dawson</name>
<email>phil.dawson@codethink.co.uk</email>
</author>
<published>2019-01-16T14:03:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/buildstream.git/commit/?id=b4d4c4f59c12c9b500f83d8cd4381418e1124f67'/>
<id>b4d4c4f59c12c9b500f83d8cd4381418e1124f67</id>
<content type='text'>
We want external plugins to be able to make use of the core testing utils.
This commit exposes the basic utilities which are currently in use in
bst-external plugins. If necessary, more utilities could be exposed in the
future.

Moves the following files from tests/testutils/ to
buildstream/plugintestingutils/:
o runcli.py
o integration.py

As part of this, this commit makes the following changes to runcli.py
and integration.py:
o runcli.py: Fix linting errors
o runcli.py: Add user facing documentation
o Integration.py: Add user facing documentation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want external plugins to be able to make use of the core testing utils.
This commit exposes the basic utilities which are currently in use in
bst-external plugins. If necessary, more utilities could be exposed in the
future.

Moves the following files from tests/testutils/ to
buildstream/plugintestingutils/:
o runcli.py
o integration.py

As part of this, this commit makes the following changes to runcli.py
and integration.py:
o runcli.py: Fix linting errors
o runcli.py: Add user facing documentation
o Integration.py: Add user facing documentation
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Skip tests that use sandboxes on WSL</title>
<updated>2019-02-06T10:45:34+00:00</updated>
<author>
<name>Jonathan Maw</name>
<email>jonathan.maw@codethink.co.uk</email>
</author>
<published>2019-01-28T11:11:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/buildstream.git/commit/?id=d4d2f89793ab6b361883b844e5e6b547fa714ca3'/>
<id>d4d2f89793ab6b361883b844e5e6b547fa714ca3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/integration/pullbuildtrees.py: Fix the non-integration case.</title>
<updated>2019-01-22T18:46:24+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2019-01-22T17:59:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/buildstream.git/commit/?id=3315b9a19ab3aec4c509ec711b49ff31209a3e7a'/>
<id>3315b9a19ab3aec4c509ec711b49ff31209a3e7a</id>
<content type='text'>
This test has one test case which is marked as an integration test,
and the other is not an integration test, but was using the integration
cli. The integration cli does not work correctly if not run in
integration mode.

This was causing an error locally in conftest.py when trying to
create a tmpdir inside a nonexisting integration cache directory.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test has one test case which is marked as an integration test,
and the other is not an integration test, but was using the integration
cli. The integration cli does not work correctly if not run in
integration mode.

This was causing an error locally in conftest.py when trying to
create a tmpdir inside a nonexisting integration cache directory.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move push and pull to the new artifact subcommand group</title>
<updated>2019-01-22T12:32:43+00:00</updated>
<author>
<name>James Ennis</name>
<email>james.ennis@codethink.com</email>
</author>
<published>2019-01-07T18:00:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/buildstream.git/commit/?id=a3fc350fdf64897ae386aa913a55318d6b048276'/>
<id>a3fc350fdf64897ae386aa913a55318d6b048276</id>
<content type='text'>
This commit also ensures that if we try to use the 'old' commands,
BuildStream will fail and instruct the user to use the new command.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit also ensures that if we try to use the 'old' commands,
BuildStream will fail and instruct the user to use the new command.
</pre>
</div>
</content>
</entry>
<entry>
<title>source-determinism.py integration test: Dont use integration_cache fixture</title>
<updated>2019-01-16T15:47:21+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2019-01-16T15:22:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/buildstream.git/commit/?id=4ca37dcd38dc2930bef759a5745c5f158d4b43fe'/>
<id>4ca37dcd38dc2930bef759a5745c5f158d4b43fe</id>
<content type='text'>
This was just deadcode, it's not really used here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was just deadcode, it's not really used here.
</pre>
</div>
</content>
</entry>
<entry>
<title>_stream.py: Ability to pull missing buildtrees outside of pull/build</title>
<updated>2018-11-30T13:30:35+00:00</updated>
<author>
<name>Tom Pollard</name>
<email>tom.pollard@codethink.co.uk</email>
</author>
<published>2018-11-28T16:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/buildstream.git/commit/?id=1123b9a12ee00b8a4c42fc96b1f4d98894c22172'/>
<id>1123b9a12ee00b8a4c42fc96b1f4d98894c22172</id>
<content type='text'>
Adds helper function _buildtree_pull_required() to determine if a
pullqueue should be constructed, for commands outside of bst pull
and build where it is determined that an element's buildtree
artifact is to be required given the respective semantics and
config. Utilised in push() to attempt to mitigate skipping the push
of partial elements without the user having to have preceded it with
an explicit pull.

cli.py: Add new behaviour to push command description

element.py: Move _cached_buildtree() to be non local private method,
use _KeyStrength types to reduce duplication.

tests/integration/pullbuildtrees.py also updated to cover this
use-case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds helper function _buildtree_pull_required() to determine if a
pullqueue should be constructed, for commands outside of bst pull
and build where it is determined that an element's buildtree
artifact is to be required given the respective semantics and
config. Utilised in push() to attempt to mitigate skipping the push
of partial elements without the user having to have preceded it with
an explicit pull.

cli.py: Add new behaviour to push command description

element.py: Move _cached_buildtree() to be non local private method,
use _KeyStrength types to reduce duplication.

tests/integration/pullbuildtrees.py also updated to cover this
use-case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure tests requiring bubblewrap are correctly marked</title>
<updated>2018-11-20T18:10:48+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2018-11-20T17:35:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/buildstream.git/commit/?id=57e6358fef757f9c9d3ff202442450dcb1d1ac32'/>
<id>57e6358fef757f9c9d3ff202442450dcb1d1ac32</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't pull artifact build trees by default.</title>
<updated>2018-11-17T13:07:59+00:00</updated>
<author>
<name>Tom Pollard</name>
<email>tom.pollard@codethink.co.uk</email>
</author>
<published>2018-11-05T13:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/buildstream.git/commit/?id=454dcaf1152b21657702af593c052f7ab90333a1'/>
<id>454dcaf1152b21657702af593c052f7ab90333a1</id>
<content type='text'>
The addition of cached build trees being included in element
artifacts has led to mostly redundant download overheads when
pulling from a remote artifact server. As such the default behaviour
of pull shouldn't fetch the build tree object if available.

element.py: extend relevant pull logic for specified subdir
consideration and ensure push logic does not lead to partial
artifact pushes. Change assumption that the buildtree can be
extracted if artifact is cached. __cached_buildtree() and
__pull_directories() helpers added.

_artifactcache/: artifactcache.py &amp; cascache.py inclusion of
helper functions for subdir artifact checking &amp; fetching, fetch
logic extended to only pull required artifact directories.
extract &amp; checkout updated to handle full/partial operation.

tests/: addition of integration test pullbuildtrees.py,
buildtrees.py adapted cli options, testutils/artifactshare.py
has_artifact changed to return artifact digest on true condition.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The addition of cached build trees being included in element
artifacts has led to mostly redundant download overheads when
pulling from a remote artifact server. As such the default behaviour
of pull shouldn't fetch the build tree object if available.

element.py: extend relevant pull logic for specified subdir
consideration and ensure push logic does not lead to partial
artifact pushes. Change assumption that the buildtree can be
extracted if artifact is cached. __cached_buildtree() and
__pull_directories() helpers added.

_artifactcache/: artifactcache.py &amp; cascache.py inclusion of
helper functions for subdir artifact checking &amp; fetching, fetch
logic extended to only pull required artifact directories.
extract &amp; checkout updated to handle full/partial operation.

tests/: addition of integration test pullbuildtrees.py,
buildtrees.py adapted cli options, testutils/artifactshare.py
has_artifact changed to return artifact digest on true condition.
</pre>
</div>
</content>
</entry>
</feed>
