<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/src/buildstream/node.pyx, branch update_committers</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>node: Add 'as_enum' on ScalarNode and 'get_enum' helper on MappingNode</title>
<updated>2019-07-29T09:42:02+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>contact@benschubert.me</email>
</author>
<published>2019-07-26T14:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=0f074dd37524047cb53214be5c0f10436d3abb1d'/>
<id>0f074dd37524047cb53214be5c0f10436d3abb1d</id>
<content type='text'>
This adds a method to ensure that a value is from a set of valid values
and raises an error message accordingly.

- Define Enum types for each of the relevant cases
- Adapt call places that were doing such things manually
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a method to ensure that a value is from a set of valid values
and raises an error message accordingly.

- Define Enum types for each of the relevant cases
- Adapt call places that were doing such things manually
</pre>
</div>
</content>
</entry>
<entry>
<title>node: picklable {Scalar,Mapping,Sequence}Node</title>
<updated>2019-07-24T12:27:10+00:00</updated>
<author>
<name>Angelos Evripiotis</name>
<email>jevripiotis@bloomberg.net</email>
</author>
<published>2019-07-16T11:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=e02a2dcfe18fd3374c28624dcc61dbb3244630a9'/>
<id>e02a2dcfe18fd3374c28624dcc61dbb3244630a9</id>
<content type='text'>
Make ScalarNode, MappingNode, and SequenceNode pickable by implementing
`__reduce__` for them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make ScalarNode, MappingNode, and SequenceNode pickable by implementing
`__reduce__` for them.
</pre>
</div>
</content>
</entry>
<entry>
<title>_exceptions.py: Align LoadError() parameter ordering</title>
<updated>2019-07-18T11:36:07+00:00</updated>
<author>
<name>Tom Pollard</name>
<email>tom.pollard@codethink.co.uk</email>
</author>
<published>2019-07-17T14:48:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=e7524c4340523d06ba3d6d95cb1e284b0f4b415e'/>
<id>e7524c4340523d06ba3d6d95cb1e284b0f4b415e</id>
<content type='text'>
All of the errors which subclass from BstError have their first
positional argument as message, LoadError should follow this
ordering for consistency.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All of the errors which subclass from BstError have their first
positional argument as message, LoadError should follow this
ordering for consistency.
</pre>
</div>
</content>
</entry>
<entry>
<title>node: Add 'get_str_list' on 'MappingNode'</title>
<updated>2019-07-17T08:26:26+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>ben.c.schubert@gmail.com</email>
</author>
<published>2019-07-16T17:31:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=b2a91466511f60e33e2e77fed2bf9c60bc31803d'/>
<id>b2a91466511f60e33e2e77fed2bf9c60bc31803d</id>
<content type='text'>
`mapping.get_sequence(...).as_str_list()` is a very common
pattern seen both in plugins and the core. Adding a helper to reduce
the number of operations will make usage smoother
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`mapping.get_sequence(...).as_str_list()` is a very common
pattern seen both in plugins and the core. Adding a helper to reduce
the number of operations will make usage smoother
</pre>
</div>
</content>
</entry>
<entry>
<title>node.pyx: rm trailing whitespace</title>
<updated>2019-07-16T09:54:08+00:00</updated>
<author>
<name>Angelos Evripiotis</name>
<email>jevripiotis@bloomberg.net</email>
</author>
<published>2019-07-16T08:35:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=9c87a17b1a9fd0bbb68f46b151d169cb988c6bd9'/>
<id>9c87a17b1a9fd0bbb68f46b151d169cb988c6bd9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>node: Document buildstream-private API and remove unused parameter</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:00:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=f48d173461aa1bc729474a996f81f218728bb18b'/>
<id>f48d173461aa1bc729474a996f81f218728bb18b</id>
<content type='text'>
_create_new_file did not use the 'toplevel' parameter, we can therefore
remove it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_create_new_file did not use the 'toplevel' parameter, we can therefore
remove it.
</pre>
</div>
</content>
</entry>
<entry>
<title>node: document public API</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-11T09:58:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=d2752360cdfe669a81fb83eaa79cce02026e47fa'/>
<id>d2752360cdfe669a81fb83eaa79cce02026e47fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>node: Make error messages more user-friendly</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-15T09:51:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=9fede3c6fd43bd6c715c50c5c511de519416e9c4'/>
<id>9fede3c6fd43bd6c715c50c5c511de519416e9c4</id>
<content type='text'>
Users should not have to know anything about nodes, and should be
greeted by commonly defined yaml types.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Users should not have to know anything about nodes, and should be
greeted by commonly defined yaml types.
</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>node: use 'pop' instead of 'del' for safe_del</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-12T09:06:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=71cffad863f89d1d53115bb3af36c0d0cf70ce6a'/>
<id>71cffad863f89d1d53115bb3af36c0d0cf70ce6a</id>
<content type='text'>
This reduces slightly the amount of C code needed and makes the run
marginally faster
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reduces slightly the amount of C code needed and makes the run
marginally faster
</pre>
</div>
</content>
</entry>
</feed>
