<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/buildstream/source.py, branch sam/savefile-utility</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>source.py &amp; element.py: Fixing SourceError() and ElementError() constructors.</title>
<updated>2018-01-04T09:46:57+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-01-04T09:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=2df05bd16b375d559c6308226434f020b095d2b8'/>
<id>2df05bd16b375d559c6308226434f020b095d2b8</id>
<content type='text'>
Recently I added the `reason` member which can be used to set
machine readable error reason strings for the purpose of testing.

Forgot to add the necessary `*` argument, forcing `reason` to be
a keyword-only argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Recently I added the `reason` member which can be used to set
machine readable error reason strings for the purpose of testing.

Forgot to add the necessary `*` argument, forcing `reason` to be
a keyword-only argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>source.py: Raise proper SourceError() when failing to create the staging directory</title>
<updated>2018-01-02T08:01:41+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-01-02T07:58:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=8b60c55e83af9204ebb784d7dfd30543576f4692'/>
<id>8b60c55e83af9204ebb784d7dfd30543576f4692</id>
<content type='text'>
This changes the UX to report a better human readable error, which
is otherwise a BUG message with stack trace.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the UX to report a better human readable error, which
is otherwise a BUG message with stack trace.
</pre>
</div>
</content>
</entry>
<entry>
<title>Exceptions refactoring</title>
<updated>2017-12-29T23:42:20+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-12-29T23:42:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=3c75781b9d68b7b1958082a0f75a2fc5db774418'/>
<id>3c75781b9d68b7b1958082a0f75a2fc5db774418</id>
<content type='text'>
Outline of changes to exceptions:

  o Now BstError base class has a `domain` and `reason` member,
    reason members are optional.

  o All derived error classes now specify their `domain`

  o For LoadError, LoadErrorReason defines the error's `reason`

  o Now the scheduler `job` class takes care of sending the error
    reason and domain back to the main process where the last
    exception which caused a child task to fail can be discretely stored.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Outline of changes to exceptions:

  o Now BstError base class has a `domain` and `reason` member,
    reason members are optional.

  o All derived error classes now specify their `domain`

  o For LoadError, LoadErrorReason defines the error's `reason`

  o Now the scheduler `job` class takes care of sending the error
    reason and domain back to the main process where the last
    exception which caused a child task to fail can be discretely stored.
</pre>
</div>
</content>
</entry>
<entry>
<title>source: clarify note on why to use this tmpdir()</title>
<updated>2017-12-13T17:52:41+00:00</updated>
<author>
<name>Angelos Evripiotis</name>
<email>jevripiotis@bloomberg.net</email>
</author>
<published>2017-12-13T12:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=c0b1b4675fa6ea9d23762e5ba1a4405afe169c63'/>
<id>c0b1b4675fa6ea9d23762e5ba1a4405afe169c63</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>source.py: Cache the workspace key</title>
<updated>2017-12-13T13:11:22+00:00</updated>
<author>
<name>Antoine Wacheux</name>
<email>awacheux@bloomberg.net</email>
</author>
<published>2017-12-12T17:16:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=a93849a36c12320784b1392517423cd2ea9b55d5'/>
<id>a93849a36c12320784b1392517423cd2ea9b55d5</id>
<content type='text'>
In order to avoid multiple traversals of the file system when the workspace key
is requested multiple times, it is now cached in the source element. The cache
is invalidated if the workspace is deleted or moved.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to avoid multiple traversals of the file system when the workspace key
is requested multiple times, it is now cached in the source element. The cache
is invalidated if the workspace is deleted or moved.
</pre>
</div>
</content>
</entry>
<entry>
<title>source.py: Implement _get_workspace_path</title>
<updated>2017-12-12T16:05:23+00:00</updated>
<author>
<name>Antoine Wacheux</name>
<email>awacheux@bloomberg.net</email>
</author>
<published>2017-12-12T09:25:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=ed9b827de06f012f6c7f576034fcbc3eb3e6231f'/>
<id>ed9b827de06f012f6c7f576034fcbc3eb3e6231f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused imports</title>
<updated>2017-12-07T14:25:40+00:00</updated>
<author>
<name>Gökçen Nurlu</name>
<email>gnurlu1@bloomberg.net</email>
</author>
<published>2017-12-05T16:09:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=7674f6a137541072bfe60a77502d67698b47b703'/>
<id>7674f6a137541072bfe60a77502d67698b47b703</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch old-style string formattings to new '.format()'</title>
<updated>2017-11-17T11:46:34+00:00</updated>
<author>
<name>Gökçen Nurlu</name>
<email>gnurlu1@bloomberg.net</email>
</author>
<published>2017-11-13T10:22:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=3b17762a4cab23c238762ca32baa348788347473'/>
<id>3b17762a4cab23c238762ca32baa348788347473</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change origin to point at source repo</title>
<updated>2017-11-11T08:43:55+00:00</updated>
<author>
<name>Daniel Playle</name>
<email>dplayle@bloomberg.net</email>
</author>
<published>2017-10-31T17:28:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=90850f2bdadfb582556f5783c9f47fda46e57bfb'/>
<id>90850f2bdadfb582556f5783c9f47fda46e57bfb</id>
<content type='text'>
This changes workspaces created with the git source element so that the
origin remote points to the source repository of the build element as
opposed to the internal repository in the bst cache.

This introduces an addition of the init_workspace method in the source
API. This method, which defaults to calling stage, is for the setup of
the workspace after the creation of the workspace directory.

This is a part of issue #53
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes workspaces created with the git source element so that the
origin remote points to the source repository of the build element as
opposed to the internal repository in the bst cache.

This introduces an addition of the init_workspace method in the source
API. This method, which defaults to calling stage, is for the setup of
the workspace after the creation of the workspace directory.

This is a part of issue #53
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor: Move context.py -&gt; _context.py</title>
<updated>2017-11-08T12:27:21+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-11-08T11:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=213d9072b684d2dff78d8b4f1c7cfa9d6335b0d0'/>
<id>213d9072b684d2dff78d8b4f1c7cfa9d6335b0d0</id>
<content type='text'>
Consequently:

  o Changed Plugin.get_context() to a private Plugin._get_context() accessor.

  o Updated anything which imports Context to do so from private _context module

  o Updated docs to exclude the now private Context
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Consequently:

  o Changed Plugin.get_context() to a private Plugin._get_context() accessor.

  o Updated anything which imports Context to do so from private _context module

  o Updated docs to exclude the now private Context
</pre>
</div>
</content>
</entry>
</feed>
