<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/tests/sourcecache/fetch.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>Remove newly unused API surfaces in CASCache</title>
<updated>2019-12-03T10:45:08+00:00</updated>
<author>
<name>Tristan Maat</name>
<email>tristan.maat@codethink.co.uk</email>
</author>
<published>2019-10-16T16:14:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=320b3f2efed977bc11903e5c981a17f7a709022c'/>
<id>320b3f2efed977bc11903e5c981a17f7a709022c</id>
<content type='text'>
This also involves a number of changes to tests and other parts of the
codebase since they were hacking about wit API that shouldn't have
existed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also involves a number of changes to tests and other parts of the
codebase since they were hacking about wit API that shouldn't have
existed.
</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>_sourcecache: Fallback to fetch source when remote has missing blobs</title>
<updated>2019-10-10T09:47:50+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>contact@benschubert.me</email>
</author>
<published>2019-10-09T14:37:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=276cfa63b5aec4760b171b0c4a60962b2a9ba819'/>
<id>276cfa63b5aec4760b171b0c4a60962b2a9ba819</id>
<content type='text'>
If a remote has some missing blobs for a source, we should not fail
abruptly but instead continue to the next remote, and, in the worst
case, fetch the source again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a remote has some missing blobs for a source, we should not fail
abruptly but instead continue to the next remote, and, in the worst
case, fetch the source again.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/sourcecache/fetch.py: Extract configuration of bst</title>
<updated>2019-10-10T09:47:50+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>contact@benschubert.me</email>
</author>
<published>2019-10-09T14:16:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=d71b8080ab009d7428cf99601f2e1aec50c76772'/>
<id>d71b8080ab009d7428cf99601f2e1aec50c76772</id>
<content type='text'>
Extract the configuration of the BuildStream cli as it is every
time the same into a separate function.

This helps seeing what is setup of the tests and what is the actual
test itself.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extract the configuration of the BuildStream cli as it is every
time the same into a separate function.

This helps seeing what is setup of the tests and what is the actual
test itself.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/sourcecache/fetch.py: Extract element's creation to a function</title>
<updated>2019-10-10T09:47:50+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>contact@benschubert.me</email>
</author>
<published>2019-10-09T14:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=ca3be36afb485e4fd17e8b50e730b2034cd15415'/>
<id>ca3be36afb485e4fd17e8b50e730b2034cd15415</id>
<content type='text'>
All tests in this file use the same method for creating an element.

It is easier to write new tests to have this factored out.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All tests in this file use the same method for creating an element.

It is easier to write new tests to have this factored out.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/sourcecache/fetch.py: Don't hardcode the element name</title>
<updated>2019-10-10T09:47:50+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>contact@benschubert.me</email>
</author>
<published>2019-10-09T14:02:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=16cab3ae09a4ddab59e40975bdb656969a43e058'/>
<id>16cab3ae09a4ddab59e40975bdb656969a43e058</id>
<content type='text'>
This removes the need of having a hardcoded element name, by simply
reusing the 'element_name' variable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the need of having a hardcoded element name, by simply
reusing the 'element_name' variable.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/sourcecache/fetch.py: Extract logic to move local cas to remote</title>
<updated>2019-10-10T09:47:50+00:00</updated>
<author>
<name>Benjamin Schubert</name>
<email>contact@benschubert.me</email>
</author>
<published>2019-10-09T13:48:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=c6b35598cff3b580dcce6ce81581e9b2a758cf00'/>
<id>c6b35598cff3b580dcce6ce81581e9b2a758cf00</id>
<content type='text'>
This method can be reused and shared, and makes the tests more readable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method can be reused and shared, and makes the tests more readable.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/sourcecache: Fix typos in comments</title>
<updated>2019-07-16T13:36:37+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2019-07-16T13:35:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=7e9d42e4f110601642551939706f0d723f28a34d'/>
<id>7e9d42e4f110601642551939706f0d723f28a34d</id>
<content type='text'>
Spotted by Darius.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Spotted by Darius.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/sourcecache/fetch.py: Use dummy_context()</title>
<updated>2019-07-16T13:36:10+00:00</updated>
<author>
<name>Jürg Billeter</name>
<email>j@bitron.ch</email>
</author>
<published>2019-07-09T15:18:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=36737b18cedc754d7b8b3c2f513bb44f5c30ee43'/>
<id>36737b18cedc754d7b8b3c2f513bb44f5c30ee43</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>
</feed>
