<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/tests/cachekey, 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>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>local.py: use extended API, set BST_NO_PRESTAGE_KEY</title>
<updated>2019-10-30T12:46:16+00:00</updated>
<author>
<name>Darius Makovsky</name>
<email>traveltissues@protonmail.com</email>
</author>
<published>2019-10-23T17:47:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=253ef13e9147980456d85e9b994f2a6e330679e9'/>
<id>253ef13e9147980456d85e9b994f2a6e330679e9</id>
<content type='text'>
tests:
* local sources are cached
* use git sources instead of local when removing objects
* update expected cache keys
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tests:
* local sources are cached
* use git sources instead of local when removing objects
* update expected cache keys
</pre>
</div>
</content>
</entry>
<entry>
<title>element.py: remove call to _source_cached()</title>
<updated>2019-10-05T13:56:44+00:00</updated>
<author>
<name>Darius Makovsky</name>
<email>traveltissues@protonmail.com</email>
</author>
<published>2019-09-26T13:50:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=06206c3ae5ae93f03777ed3eb7e6bbc3d848ff1e'/>
<id>06206c3ae5ae93f03777ed3eb7e6bbc3d848ff1e</id>
<content type='text'>
Remove call to Element._source_cached() in _calculate_cache_key and
do not recalculate workspace keys.

tests: shell browsing of workspaces is currently broken
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove call to Element._source_cached() in _calculate_cache_key and
do not recalculate workspace keys.

tests: shell browsing of workspaces is currently broken
</pre>
</div>
</content>
</entry>
<entry>
<title>element.py: always check sources for caching</title>
<updated>2019-09-24T15:58:25+00:00</updated>
<author>
<name>Darius Makovsky</name>
<email>traveltissues@protonmail.com</email>
</author>
<published>2019-09-05T13:33:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=b9e2af22bc94d108a27fc9a40f698b4822c7118e'/>
<id>b9e2af22bc94d108a27fc9a40f698b4822c7118e</id>
<content type='text'>
Check that sources are cached even if they are workspaced and do not
reset workspace cache data

partially reverts !1470
closes #1088

element.py: remove workspaces in cache key calc

Using the workspace source plugin, workspaces should now be handled like
sources for the purpose of calculating element cache keys.

partially reverts !1470
works towards #1073

Since the source keys are now calculated using the unique keys of the
workspace source, this change will break external tracking for open
workspaces. In future attempting to track an open workspace might raise
a SourceError. The test is rewritten to close the workspace before
tracking.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check that sources are cached even if they are workspaced and do not
reset workspace cache data

partially reverts !1470
closes #1088

element.py: remove workspaces in cache key calc

Using the workspace source plugin, workspaces should now be handled like
sources for the purpose of calculating element cache keys.

partially reverts !1470
works towards #1073

Since the source keys are now calculated using the unique keys of the
workspace source, this change will break external tracking for open
workspaces. In future attempting to track an open workspace might raise
a SourceError. The test is rewritten to close the workspace before
tracking.
</pre>
</div>
</content>
</entry>
<entry>
<title>artifact.proto: Add the project name to the build dependency information</title>
<updated>2019-08-19T11:14:49+00:00</updated>
<author>
<name>James Ennis</name>
<email>james.ennis@codethink.co.uk</email>
</author>
<published>2019-08-13T16:07:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=20a636d3fb0422c54acd5783200288dbeecb09cf'/>
<id>20a636d3fb0422c54acd5783200288dbeecb09cf</id>
<content type='text'>
We also need to store the project name of dependencies in
the proto in order to reconstruct the graph.

This also means that we must include the project name of the
dependencies in the cache key, otherwise the proto and the
cache keys may fall out of sync.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We also need to store the project name of dependencies in
the proto in order to reconstruct the graph.

This also means that we must include the project name of the
dependencies in the cache key, otherwise the proto and the
cache keys may fall out of sync.
</pre>
</div>
</content>
</entry>
<entry>
<title>element.py: Add the build dependency names to the cache key dict</title>
<updated>2019-08-19T11:14:04+00:00</updated>
<author>
<name>James Ennis</name>
<email>james.ennis@codethink.co.uk</email>
</author>
<published>2019-08-14T14:42:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=d590907a0952a61179dd3e3a8f9d3ad31fe774f9'/>
<id>d590907a0952a61179dd3e3a8f9d3ad31fe774f9</id>
<content type='text'>
We store the build dependency names in the artifact proto. This
should be reflected in the cache key dict.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We store the build dependency names in the artifact proto. This
should be reflected in the cache key dict.
</pre>
</div>
</content>
</entry>
<entry>
<title>element.py: clobber sources with workspace</title>
<updated>2019-07-22T15:45:27+00:00</updated>
<author>
<name>Darius Makovsky</name>
<email>traveltissues@protonmail.com</email>
</author>
<published>2019-07-10T16:26:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=3953bcc652577925ef0c77f202f7d76bb4b61b71'/>
<id>3953bcc652577925ef0c77f202f7d76bb4b61b71</id>
<content type='text'>
add name to sources in cache key dict
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add name to sources in cache key dict
</pre>
</div>
</content>
</entry>
<entry>
<title>Make the Cli verbose for updating</title>
<updated>2019-07-18T09:20:01+00:00</updated>
<author>
<name>Darius Makovsky</name>
<email>traveltissues@protonmail.com</email>
</author>
<published>2019-07-10T17:42:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=490fed1cfc712a3aeee3ad3cdc9520edbfa1675c'/>
<id>490fed1cfc712a3aeee3ad3cdc9520edbfa1675c</id>
<content type='text'>
Return if there is no result from parsing the element
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return if there is no result from parsing the element
</pre>
</div>
</content>
</entry>
<entry>
<title>Mock BST_TEST_SUITE env when running update.py</title>
<updated>2019-07-18T09:20:01+00:00</updated>
<author>
<name>Darius Makovsky</name>
<email>traveltissues@protonmail.com</email>
</author>
<published>2019-07-10T17:00:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=db57101b66629d3c3ac0af76354042eddfc3fff9'/>
<id>db57101b66629d3c3ac0af76354042eddfc3fff9</id>
<content type='text'>
If this is not present in the env the cli will throw an exception
closes #1074
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If this is not present in the env the cli will throw an exception
closes #1074
</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>
