<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/tests/artifactcache/junctions.py, branch bschubert/python38</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 test for junction option interaction</title>
<updated>2019-12-10T08:25:31+00:00</updated>
<author>
<name>Thomas Coldrick</name>
<email>thomas.coldrick@codethink.co.uk</email>
</author>
<published>2019-12-06T16:38:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=10e4aa7c357351f81fa0dd1b3a87df6dea50c37b'/>
<id>10e4aa7c357351f81fa0dd1b3a87df6dea50c37b</id>
<content type='text'>
Makes sure that `cache-junction-elements` and `ignore-junction-remotes`
work together correctly, and that setting `ignore-junction-remotes`
doesn't just remove all remote caches.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Makes sure that `cache-junction-elements` and `ignore-junction-remotes`
work together correctly, and that setting `ignore-junction-remotes`
doesn't just remove all remote caches.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reformat code using Black</title>
<updated>2019-11-14T21:21:06+00:00</updated>
<author>
<name>Chandan Singh</name>
<email>csingh43@bloomberg.net</email>
</author>
<published>2019-11-11T17:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=122177153b14664a0e4fed85aa4f22b87cfabf56'/>
<id>122177153b14664a0e4fed85aa4f22b87cfabf56</id>
<content type='text'>
As discussed over the mailing list, reformat code using Black. This is a
one-off change to reformat all our codebase. Moving forward, we
shouldn't expect such blanket reformats. Rather, we expect each change
to already comply with the Black formatting style.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As discussed over the mailing list, reformat code using Black. This is a
one-off change to reformat all our codebase. Moving forward, we
shouldn't expect such blanket reformats. Rather, we expect each change
to already comply with the Black formatting style.
</pre>
</div>
</content>
</entry>
<entry>
<title>node.pyx: Make 'strip_node_info' public</title>
<updated>2019-10-16T12:58:57+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>contact@benschubert.me</email>
</author>
<published>2019-10-15T13:17:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=1a7582c45a9bd265b8da429fde145b115a50fac0'/>
<id>1a7582c45a9bd265b8da429fde145b115a50fac0</id>
<content type='text'>
'strip_node_info' would be useful for multiple plugins. We should
therefore allow users to use it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'strip_node_info' would be useful for multiple plugins. We should
therefore allow users to use it.
</pre>
</div>
</content>
</entry>
<entry>
<title>plugins/elements/junction.py: Add 'ignore-junction-remotes' option</title>
<updated>2019-08-06T13:03:47+00:00</updated>
<author>
<name>James Ennis</name>
<email>james.ennis@codethink.co.uk</email>
</author>
<published>2019-08-01T11:50:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=ef778ca58d13be60faad37d55a4a64918c1b3d00'/>
<id>ef778ca58d13be60faad37d55a4a64918c1b3d00</id>
<content type='text'>
This option allows us to completely ignore remotes defined in the
subproject. As a user, we may not wish to interact with subproject
remotes as we may not be able to trust them, for example.

An appropriate test and some documentation has also been added.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This option allows us to completely ignore remotes defined in the
subproject. As a user, we may not wish to interact with subproject
remotes as we may not be able to trust them, for example.

An appropriate test and some documentation has also been added.
</pre>
</div>
</content>
</entry>
<entry>
<title>plugins/elements/junction.py: Add 'cache-junction-elements' option</title>
<updated>2019-08-06T13:03:47+00:00</updated>
<author>
<name>James Ennis</name>
<email>james.ennis@codethink.co.uk</email>
</author>
<published>2019-08-01T11:06:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=ef757b5e8ee7d1bfab8750d4a87cbc374eda295e'/>
<id>ef757b5e8ee7d1bfab8750d4a87cbc374eda295e</id>
<content type='text'>
The 'cache-junction-elements' configuration option for junction's
is a boolean which enables elements from within the junction to
interact with the parent project's remote(s).

A test has been added to enforce this behaviour and the
BST_FORMAT_VERSION has been bumped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The 'cache-junction-elements' configuration option for junction's
is a boolean which enables elements from within the junction to
interact with the parent project's remote(s).

A test has been added to enforce this behaviour and the
BST_FORMAT_VERSION has been bumped.
</pre>
</div>
</content>
</entry>
<entry>
<title>_project.py: Revert back to not caching junctioned elements</title>
<updated>2019-08-06T13:03:47+00:00</updated>
<author>
<name>James Ennis</name>
<email>james.ennis@codethink.co.uk</email>
</author>
<published>2019-06-25T11:24:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=34529551faf0c1206e5fe887355da882a5c32c9e'/>
<id>34529551faf0c1206e5fe887355da882a5c32c9e</id>
<content type='text'>
Originally, the intended default behaviour of BuildStream was to
only cache project elements in project specific remotes.

This behaviour was broken by: 24c0de16faec2b8b9bd6a03504ce951dc49afbe2.
Introduced in !1113.

This patch reverts the behaviour and asserts that junctioned elements
are not pushed to their parent's project-specific remote.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Originally, the intended default behaviour of BuildStream was to
only cache project elements in project specific remotes.

This behaviour was broken by: 24c0de16faec2b8b9bd6a03504ce951dc49afbe2.
Introduced in !1113.

This patch reverts the behaviour and asserts that junctioned elements
are not pushed to their parent's project-specific remote.
</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>
<entry>
<title>tests: Change all calls to _yaml.dump to _yaml.rountrip_dump</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-06-28T16:01:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=f7b461220ec2f1af3966ace12c21334f1f3b6457'/>
<id>f7b461220ec2f1af3966ace12c21334f1f3b6457</id>
<content type='text'>
Now that both are equivalent, we can skip the sanitization part before
the yaml call.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that both are equivalent, we can skip the sanitization part before
the yaml call.
</pre>
</div>
</content>
</entry>
<entry>
<title>_yaml: Remove 'node_set'. Now use __setitem__</title>
<updated>2019-07-15T14:14:03+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>contact@benschubert.me</email>
</author>
<published>2019-06-18T10:05:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=8bfe8dd6ad49445c900662f304072eb20f0ff606'/>
<id>8bfe8dd6ad49445c900662f304072eb20f0ff606</id>
<content type='text'>
- Implement __setitem__ on 'MappingNode'
- Implement __setitem__ on 'SequenceNode'
- Adapt all call sites to use the new calling way.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Implement __setitem__ on 'MappingNode'
- Implement __setitem__ on 'SequenceNode'
- Adapt all call sites to use the new calling way.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/artifactcache/junctions.py: Assert the default behaviour</title>
<updated>2019-06-26T08:36:20+00:00</updated>
<author>
<name>James Ennis</name>
<email>james.ennis@codethink.co.uk</email>
</author>
<published>2019-06-17T13:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=16d35b16a33cd21b6f039719a3ff66fbfc3758b4'/>
<id>16d35b16a33cd21b6f039719a3ff66fbfc3758b4</id>
<content type='text'>
Assert that junction elements are pushed to a parent project's
cache. This is the current default behaviour in BuildStream.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Assert that junction elements are pushed to a parent project's
cache. This is the current default behaviour in BuildStream.
</pre>
</div>
</content>
</entry>
</feed>
