<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/tests, branch zip</title>
<subtitle>gitlab.com: buildstream/buildstream.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/'/>
<entry>
<title>Add a new zip source</title>
<updated>2017-11-03T06:57:24+00:00</updated>
<author>
<name>Mathieu Bridon</name>
<email>bochecha@daitauha.fr</email>
</author>
<published>2017-10-30T17:03:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=958d118a380a4785e26f4542532216c33bad408d'/>
<id>958d118a380a4785e26f4542532216c33bad408d</id>
<content type='text'>
This is equivalent to the tar source, but for Zip archives.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is equivalent to the tar source, but for Zip archives.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Reuse utils.sha256sum</title>
<updated>2017-11-03T06:35:21+00:00</updated>
<author>
<name>Mathieu Bridon</name>
<email>bochecha@daitauha.fr</email>
</author>
<published>2017-11-02T08:20:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=f330024d640f340e92ea221ff26a343bf26a0115'/>
<id>f330024d640f340e92ea221ff26a343bf26a0115</id>
<content type='text'>
The utility function was added in 08da7cc7, but it never was removed
from here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The utility function was added in 08da7cc7, but it never was removed
from here.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/testutils/repo/tar.py: Fixed for changed tar behavior</title>
<updated>2017-11-02T09:58:37+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-11-02T09:58:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=557a08d0b3f6101f8452cce25096b310de0f596e'/>
<id>557a08d0b3f6101f8452cce25096b310de0f596e</id>
<content type='text'>
This test was encoding tarballs with '.', so the change of
ignoring '.' breaks this - now we just make the tar test
scaffolding use an empty string for the base-dir.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This test was encoding tarballs with '.', so the change of
ignoring '.' breaks this - now we just make the tar test
scaffolding use an empty string for the base-dir.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean old Platform.get_platform references</title>
<updated>2017-11-01T10:01:42+00:00</updated>
<author>
<name>Tristan Maat</name>
<email>tristan.maat@codethink.co.uk</email>
</author>
<published>2017-10-31T13:31:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=6c0fa8445b849680300d407efe8bca691d4e680e'/>
<id>6c0fa8445b849680300d407efe8bca691d4e680e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch attempts to compose a list</title>
<updated>2017-10-31T06:59:38+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2017-10-27T16:15:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=8c4d8ca2b7c886690fb933428c6768c745667db7'/>
<id>8c4d8ca2b7c886690fb933428c6768c745667db7</id>
<content type='text'>
Attempting to compose a list property would result in an unhandled
exception:

    AttributeError: 'CommentedSeq' object has no attribute 'get'

We now at least detect the situation and produce an exception that
the frontend will report neatly:

    Error loading pipeline: element.bst [line 11 column 4]: Only values of type 'dict' can be composed.

I was getting this error from an attempt to conditionally extend the
sources list:

    sources:
      (?):
        arch == "x86_64":
          - url: http://example.com/x86_64

The correct way to do this is to move the conditional into the parent
dict, e.g.:

    (?):
      arch == "x86_64":
        sources:
          - url: https://example.com/x86_64

It would be nice if the error message could hint at how the user can do
what they want, but it doesn't seem possible in this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Attempting to compose a list property would result in an unhandled
exception:

    AttributeError: 'CommentedSeq' object has no attribute 'get'

We now at least detect the situation and produce an exception that
the frontend will report neatly:

    Error loading pipeline: element.bst [line 11 column 4]: Only values of type 'dict' can be composed.

I was getting this error from an attempt to conditionally extend the
sources list:

    sources:
      (?):
        arch == "x86_64":
          - url: http://example.com/x86_64

The correct way to do this is to move the conditional into the parent
dict, e.g.:

    (?):
      arch == "x86_64":
        sources:
          - url: https://example.com/x86_64

It would be nice if the error message could hint at how the user can do
what they want, but it doesn't seem possible in this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/frontend/track.py: Added tests for recursive tracking and --except</title>
<updated>2017-10-30T07:29:00+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-10-30T07:29:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=e472f5abd7f9aeff994a14e581c7a89199bd255f'/>
<id>e472f5abd7f9aeff994a14e581c7a89199bd255f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/testutils/runcli.py: get_element_state() now uses --downloadable</title>
<updated>2017-10-29T09:19:19+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-10-29T09:19:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=1b878835991dc4d37d302cf9d64b52791f534adf'/>
<id>1b878835991dc4d37d302cf9d64b52791f534adf</id>
<content type='text'>
This wont take any additional time because if there is
a remote artifact share configured in the pytest suite, it
can only be a locally created one - this makes the push/pull
tests work after recently making downloading of remote refs
optional for the sake of issue #140.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This wont take any additional time because if there is
a remote artifact share configured in the pytest suite, it
can only be a locally created one - this makes the push/pull
tests work after recently making downloading of remote refs
optional for the sake of issue #140.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/format/projectoverrides.py: Test project wide element type overrides</title>
<updated>2017-10-25T11:06:17+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-10-25T11:04:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=b14a0c575991f3b75aa15b21b2652186b62d0a09'/>
<id>b14a0c575991f3b75aa15b21b2652186b62d0a09</id>
<content type='text'>
First case simply asserts that prepending to configure-commands
from the project.conf works as intended, ensuring we dont regress
issue #127
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
First case simply asserts that prepending to configure-commands
from the project.conf works as intended, ensuring we dont regress
issue #127
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #124: Add test for staging to element build directory</title>
<updated>2017-10-23T16:11:45+00:00</updated>
<author>
<name>Tristan Maat</name>
<email>tristan.maat@codethink.co.uk</email>
</author>
<published>2017-10-23T15:46:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=35d7051a07451e0647f60963d0485908b1d0139a'/>
<id>35d7051a07451e0647f60963d0485908b1d0139a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/format: Test proper failure of reference to undefined options</title>
<updated>2017-10-23T10:30:02+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-10-23T10:30:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=6173a3f1ca6fd5ac6d635f4d9b5d82fccddc37a4'/>
<id>6173a3f1ca6fd5ac6d635f4d9b5d82fccddc37a4</id>
<content type='text'>
When using an undefined option in a conditional expression, buildstream
should error out and print a good message about it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using an undefined option in a conditional expression, buildstream
should error out and print a good message about it.
</pre>
</div>
</content>
</entry>
</feed>
