<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git, branch jonathan/fix-tests-python34</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>Make artifact cache tests work in python3.4</title>
<updated>2018-01-12T17:50:53+00:00</updated>
<author>
<name>Jonathan Maw</name>
<email>jonathan.maw@codethink.co.uk</email>
</author>
<published>2018-01-12T17:43:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=571406d44dd1aafa8f1518a14fc23e3f111145cd'/>
<id>571406d44dd1aafa8f1518a14fc23e3f111145cd</id>
<content type='text'>
A LocalPath was being passed into os.path.isabs, which failed when it
tried to call the path's startswith method.

Converting it to a string before using _yaml.dump seemed to solve the
problem.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A LocalPath was being passed into os.path.isabs, which failed when it
tried to call the path's startswith method.

Converting it to a string before using _yaml.dump seemed to solve the
problem.
</pre>
</div>
</content>
</entry>
<entry>
<title>element.py: Reuse dict for cache key calculations</title>
<updated>2018-01-12T10:21:57+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2018-01-08T18:33:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=880ece190f54ad29dbcd359f84b87c95dcf0536f'/>
<id>880ece190f54ad29dbcd359f84b87c95dcf0536f</id>
<content type='text'>
Do not recalculate the shared part of cache keys. In particular, do not
call get_unique_key() multiple times for a single element or source.

Fixes #167
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not recalculate the shared part of cache keys. In particular, do not
call get_unique_key() multiple times for a single element or source.

Fixes #167
</pre>
</div>
</content>
</entry>
<entry>
<title>Use explicit element state updates</title>
<updated>2018-01-12T10:21:57+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2017-12-21T16:10:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=bc492fa8f3973367c3817c84064629f3975b22bd'/>
<id>bc492fa8f3973367c3817c84064629f3975b22bd</id>
<content type='text'>
This adds the _update_state() method to the Element class to keep track
of element state and avoid calculating the same cache key multiple
times. This also consolidates the different get_cache_key
methods into a single method that always returns the cache key
calculated by _update_state(), if available.

Fixes #149, #173
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds the _update_state() method to the Element class to keep track
of element state and avoid calculating the same cache key multiple
times. This also consolidates the different get_cache_key
methods into a single method that always returns the cache key
calculated by _update_state(), if available.

Fixes #149, #173
</pre>
</div>
</content>
</entry>
<entry>
<title>buildelement.py: Remove secret undocumented command lists</title>
<updated>2018-01-12T08:33:59+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-01-12T07:57:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=170a9d469a36337990a324d4be2b5c42306b1b13'/>
<id>170a9d469a36337990a324d4be2b5c42306b1b13</id>
<content type='text'>
Originally this was created with also `bootstrap-commands` and
`test-commands` but these were never documented or used.

For `bootstrap-commands`, these originated in baserock but are
basically a part of the `configure-commands` stage, prepending
commands to `configure-commands` is more suitable here since we
now have the prepend/append list directives.

For `test-commands`, these were never used and it's unclear at
this time if it's the correct place for it. It would be interesting
to implement `test-commands` as a separate operation which can run
in parallel with reverse dependency builds (no need to block the
build of a reverse dependency on failing tests, we can still fail
the build as a whole based on a failing test without blocking
builds).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally this was created with also `bootstrap-commands` and
`test-commands` but these were never documented or used.

For `bootstrap-commands`, these originated in baserock but are
basically a part of the `configure-commands` stage, prepending
commands to `configure-commands` is more suitable here since we
now have the prepend/append list directives.

For `test-commands`, these were never used and it's unclear at
this time if it's the correct place for it. It would be interesting
to implement `test-commands` as a separate operation which can run
in parallel with reverse dependency builds (no need to block the
build of a reverse dependency on failing tests, we can still fail
the build as a whole based on a failing test without blocking
builds).
</pre>
</div>
</content>
</entry>
<entry>
<title>NEWS: Added news entry for support for multiple artifact caches.</title>
<updated>2018-01-12T08:05:23+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-01-12T08:05:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=36026a72a9458c72df07e33e411d9300eb6f66f2'/>
<id>36026a72a9458c72df07e33e411d9300eb6f66f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years of files I have touched</title>
<updated>2018-01-11T18:18:14+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2018-01-10T17:25:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=079f702f3695a7197cf5cd2461c55812fc511816'/>
<id>079f702f3695a7197cf5cd2461c55812fc511816</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>_artifactcache/ostreecache.py: Subprocesses should not return exceptions</title>
<updated>2018-01-11T18:18:14+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2018-01-11T12:13:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=a71bbed8ed4fb7c8a75d14299dbb4c0540e0fb25'/>
<id>a71bbed8ed4fb7c8a75d14299dbb4c0540e0fb25</id>
<content type='text'>
We have a policy that subprocesses can return error messages, but not
actual exceptions.

In particular this allows GLib.Error exceptions to be returned, which
would otherwise be silently lost due to
https://gitlab.gnome.org/GNOME/pygobject/issues/145
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have a policy that subprocesses can return error messages, but not
actual exceptions.

In particular this allows GLib.Error exceptions to be returned, which
would otherwise be silently lost due to
https://gitlab.gnome.org/GNOME/pygobject/issues/145
</pre>
</div>
</content>
</entry>
<entry>
<title>_artifactcache: Use pushreceive also for local artifact repositories</title>
<updated>2018-01-11T18:18:14+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2017-11-29T17:52:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=ad08ad267f074f73c2f895099fd659e27d0d194c'/>
<id>ad08ad267f074f73c2f895099fd659e27d0d194c</id>
<content type='text'>
This reduces the differences between local and remote artifact
repositories, increasing code coverage of tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reduces the differences between local and remote artifact
repositories, increasing code coverage of tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>_artifactcache/pushreceive.py: Flush but do not close stdout</title>
<updated>2018-01-11T18:18:14+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2017-11-30T14:44:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=1787ff21c4d5b9f318b65c63743f4b4811ac1c97'/>
<id>1787ff21c4d5b9f318b65c63743f4b4811ac1c97</id>
<content type='text'>
Closing stdout will cause an exception when used with multiprocessing as
that calls sys.stdout.flush() as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closing stdout will cause an exception when used with multiprocessing as
that calls sys.stdout.flush() as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>_artifactcache/ostreecache.py: Handle ^C and shutdown child task when initializing cache</title>
<updated>2018-01-11T18:18:14+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-01-10T16:30:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=20d653de3c46aa66b70116de68b78487225b2f23'/>
<id>20d653de3c46aa66b70116de68b78487225b2f23</id>
<content type='text'>
This fixes issue #141
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes issue #141
</pre>
</div>
</content>
</entry>
</feed>
