<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/src/buildstream/source.py, branch coldtom/external-plugins</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>workspace.py: Do not close gRPC channels</title>
<updated>2019-10-15T08:56:17+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2019-10-10T09:08:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=0d0dc00822243bd00da25b5b4823eadb50fe02db'/>
<id>0d0dc00822243bd00da25b5b4823eadb50fe02db</id>
<content type='text'>
This is now handled in Context.prepare_fork().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is now handled in Context.prepare_fork().
</pre>
</div>
</content>
</entry>
<entry>
<title>cascache.py: Rename close_channel() to close_grpc_channels()</title>
<updated>2019-10-15T07:43:08+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2019-10-10T09:03:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=3578f9207f60b62f6ad2a70f0a1e9b60940d0fc1'/>
<id>3578f9207f60b62f6ad2a70f0a1e9b60940d0fc1</id>
<content type='text'>
This aligns the method name with has_open_grpc_channels().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This aligns the method name with has_open_grpc_channels().
</pre>
</div>
</content>
</entry>
<entry>
<title>Defer committing workspace files to cache</title>
<updated>2019-10-08T10:55:13+00:00</updated>
<author>
<name>Darius Makovsky</name>
<email>traveltissues@protonmail.com</email>
</author>
<published>2019-10-07T10:06:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=3d9458605ca87a87c9170d80cee4fecac19a0a67'/>
<id>3d9458605ca87a87c9170d80cee4fecac19a0a67</id>
<content type='text'>
Remove XFAIL mark from test_workspace_visible and remove the explicit
SourceCache.commit() in the workspace source plugin. Allow buildstream
to handle the commit logic.

Add handling for non-cached workspace sources in
`source.Source._generate_keys()`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove XFAIL mark from test_workspace_visible and remove the explicit
SourceCache.commit() in the workspace source plugin. Allow buildstream
to handle the commit logic.

Add handling for non-cached workspace sources in
`source.Source._generate_keys()`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add initial mypy configuration and types</title>
<updated>2019-09-02T20:56:34+00:00</updated>
<author>
<name>Chandan Singh</name>
<email>chandan@chandansingh.net</email>
</author>
<published>2019-06-30T01:43:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=419a3afbe6e774c9182001977874c8ea08a9f49d'/>
<id>419a3afbe6e774c9182001977874c8ea08a9f49d</id>
<content type='text'>
As a first step, add type hints to variables whose type `mypy` cannot
infer automatically. This is the minimal set of type hints that allow
running `mypy` without any arguments, and having it not fail.

We currently ignore C extensions that mypy can't process directly.
Later, we can look into generating stubs for such modules (potentially
automatically).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As a first step, add type hints to variables whose type `mypy` cannot
infer automatically. This is the minimal set of type hints that allow
running `mypy` without any arguments, and having it not fail.

We currently ignore C extensions that mypy can't process directly.
Later, we can look into generating stubs for such modules (potentially
automatically).
</pre>
</div>
</content>
</entry>
<entry>
<title>_message.py: Use element_name &amp; element_key instead of unique_id</title>
<updated>2019-08-08T13:52:36+00:00</updated>
<author>
<name>Tom Pollard</name>
<email>tom.pollard@codethink.co.uk</email>
</author>
<published>2019-07-31T15:31:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=0026e37918998addb61d7cefcbb9b5f7f6f7b4f4'/>
<id>0026e37918998addb61d7cefcbb9b5f7f6f7b4f4</id>
<content type='text'>
Adding the element full name and display key into all element related
messages removes the need to look up the plugintable via a plugin
unique_id just to retrieve the same values for logging and widget
frontend display. Relying on plugintable state is also incompatible
if the frontend will be running in a different process, as it will
exist in multiple states.

The element full name is now displayed instead of the unique_id,
such as in the debugging widget. It is also displayed in place of
'name' (i.e including any junction prepend) to be more informative.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding the element full name and display key into all element related
messages removes the need to look up the plugintable via a plugin
unique_id just to retrieve the same values for logging and widget
frontend display. Relying on plugintable state is also incompatible
if the frontend will be running in a different process, as it will
exist in multiple states.

The element full name is now displayed instead of the unique_id,
such as in the debugging widget. It is also displayed in place of
'name' (i.e including any junction prepend) to be more informative.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make ChildJobs and friends picklable</title>
<updated>2019-07-24T12:27:10+00:00</updated>
<author>
<name>Angelos Evripiotis</name>
<email>jevripiotis@bloomberg.net</email>
</author>
<published>2019-07-15T09:38:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=d3e7857a1eabd06d9d15ca6c201ed7b66064cc98'/>
<id>d3e7857a1eabd06d9d15ca6c201ed7b66064cc98</id>
<content type='text'>
Pave the way toward supporting the 'spawn' method of creating jobs, by
adding support for pickling ChildJobs. Introduce a new 'jobpickler'
module that provides an entrypoint for this functionality.

This also makes replays of jobs possible, which has made the debugging
of plugins much easier for me.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pave the way toward supporting the 'spawn' method of creating jobs, by
adding support for pickling ChildJobs. Introduce a new 'jobpickler'
module that provides an entrypoint for this functionality.

This also makes replays of jobs possible, which has made the debugging
of plugins much easier for me.
</pre>
</div>
</content>
</entry>
<entry>
<title>source: Cache mirror_directory instead of computing it everytime</title>
<updated>2019-07-17T09:04:08+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2019-07-15T17:13:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=f44f97cbc012f8b5e219a11b06701c6544c308e6'/>
<id>f44f97cbc012f8b5e219a11b06701c6544c308e6</id>
<content type='text'>
This variable is accessed multiple times per run and can be slow on
slow file systems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This variable is accessed multiple times per run and can be slow on
slow file systems.
</pre>
</div>
</content>
</entry>
<entry>
<title>plugins: Update public documentation to be correct with the new Nodes</title>
<updated>2019-07-15T14:14:03+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2019-07-12T11:20:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=0a00c89c351af9b74a0b274d2e14422ad5c880c4'/>
<id>0a00c89c351af9b74a0b274d2e14422ad5c880c4</id>
<content type='text'>
We need to update every place where we were passing a yaml 'dict' to
now pass a 'MappingNode'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to update every place where we were passing a yaml 'dict' to
now pass a 'MappingNode'
</pre>
</div>
</content>
</entry>
<entry>
<title>node: Rename 'copy' to 'clone'</title>
<updated>2019-07-15T14:14:03+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2019-07-10T15:54:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=ee642d79724495343521949f1268b9a7068c267f'/>
<id>ee642d79724495343521949f1268b9a7068c267f</id>
<content type='text'>
A 'clone' operation has an implicit understanding that it is expensive,
which is not the case of a 'copy' operation, which is more usually
a shallow copy.

Therefore renaming to 'clone'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A 'clone' operation has an implicit understanding that it is expensive,
which is not the case of a 'copy' operation, which is more usually
a shallow copy.

Therefore renaming to 'clone'
</pre>
</div>
</content>
</entry>
<entry>
<title>_yaml: Mark 'strip_node_info' as buildstream-private</title>
<updated>2019-07-15T14:14:03+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2019-07-10T09:22:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=e6caca7071e9a007f0ec0b59662b7b28e05cd4b1'/>
<id>e6caca7071e9a007f0ec0b59662b7b28e05cd4b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
