<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git, branch remove_dummy_dependency</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>_pipeline.py: Remove DummyElement hack</title>
<updated>2017-11-08T15:24:57+00:00</updated>
<author>
<name>Tristan Maat</name>
<email>tristan.maat@codethink.co.uk</email>
</author>
<published>2017-11-08T15:18:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=16eac0ccfc879fc3068a6639d439a5a215d11e33'/>
<id>16eac0ccfc879fc3068a6639d439a5a215d11e33</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>
<entry>
<title>Allow overwriting a list with an empty list using (=) operator</title>
<updated>2017-11-08T08:03:15+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2017-11-07T17:55:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=34ba445fd1963acada0733c196483c98a57fd753'/>
<id>34ba445fd1963acada0733c196483c98a57fd753</id>
<content type='text'>
I found myself writing the following split rules for an element:

    public:
      bst:
        split-rules:
          runtime:
            (=): []

          devel:
            (&gt;):
            - |
              %{bindir}/*

The aim was to put all of this element's binaries into the 'devel'
domain, and make sure nothing went into the 'runtime' domain by
replacing the built-in rules for that domain with an empty list.

That wasn't working though because BuildStream was using [] (empty list)
as a sentinel to mean "do nothing", which is fine for the prepend and
append operators (prepending an empty list to a list has no effect) but
is not really correct for the overwrite operator.

This commit fixes that issue and adds a test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I found myself writing the following split rules for an element:

    public:
      bst:
        split-rules:
          runtime:
            (=): []

          devel:
            (&gt;):
            - |
              %{bindir}/*

The aim was to put all of this element's binaries into the 'devel'
domain, and make sure nothing went into the 'runtime' domain by
replacing the built-in rules for that domain with an empty list.

That wasn't working though because BuildStream was using [] (empty list)
as a sentinel to mean "do nothing", which is fine for the prepend and
append operators (prepending an empty list to a list has no effect) but
is not really correct for the overwrite operator.

This commit fixes that issue and adds a test.
</pre>
</div>
</content>
</entry>
<entry>
<title>_frontend/main.py: Fix #133 - make completions work for --except arguments</title>
<updated>2017-11-08T07:57:34+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-11-08T07:57:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=2780cdbde866a65108d10d030fe7d40015df1b27'/>
<id>2780cdbde866a65108d10d030fe7d40015df1b27</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>integration-tests: Fix `run-tests.sh --sources DIR` when DIR doesn't exist</title>
<updated>2017-11-06T12:49:41+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2017-11-06T10:46:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=0f134712d3efb31cd1e3d53d464a8e66ee92a5f1'/>
<id>0f134712d3efb31cd1e3d53d464a8e66ee92a5f1</id>
<content type='text'>
We need to canonicalize the path using the `realpath -m` or
`realpath --canonicalize-missing`, otherwise if the directory doesn't
exist we get an error:

    realpath: /tmp/foo/bar/: No such file or directory

The tests still work if this happens but the sources go into the
default location because the BST_SOURCE_CACHE variable goes unset.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to canonicalize the path using the `realpath -m` or
`realpath --canonicalize-missing`, otherwise if the directory doesn't
exist we get an error:

    realpath: /tmp/foo/bar/: No such file or directory

The tests still work if this happens but the sources go into the
default location because the BST_SOURCE_CACHE variable goes unset.
</pre>
</div>
</content>
</entry>
<entry>
<title>doc/source/pluginauthoring.rst: Removed Project from documentation</title>
<updated>2017-11-06T11:31:31+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-11-06T11:26:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=165e97f7fe50675fab66490158621a60d2cdc3b7'/>
<id>165e97f7fe50675fab66490158621a60d2cdc3b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactoring: Made Project option private</title>
<updated>2017-11-06T11:31:31+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-11-06T11:24:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=a97c0fd86a17db72edb26f91bab9364da533fd21'/>
<id>a97c0fd86a17db72edb26f91bab9364da533fd21</id>
<content type='text'>
This required adding two new APIs to make up for it on the Source

  o get_project_directory()

    Added here because elements should not be accessing external
    resources, Sources needed for local files and GPG keys and such

  o translate_url()

    Used by sources to mish-mash the project aliases and create
    real urls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This required adding two new APIs to make up for it on the Source

  o get_project_directory()

    Added here because elements should not be accessing external
    resources, Sources needed for local files and GPG keys and such

  o translate_url()

    Used by sources to mish-mash the project aliases and create
    real urls.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/sandboxes/mounting/mount_simple.py: Changed to test new Mounter object</title>
<updated>2017-11-06T11:31:08+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-11-06T10:11:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=79f9f065d7f22039ec189d59f557bbe00123eacd'/>
<id>79f9f065d7f22039ec189d59f557bbe00123eacd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sandbox: Refactoring, moving accidentally public MountMap into it's own file</title>
<updated>2017-11-06T11:31:08+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-11-06T09:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=69cc9ef00b957a202a80c7690f7ee3e5ad8b8eda'/>
<id>69cc9ef00b957a202a80c7690f7ee3e5ad8b8eda</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sandbox/_mounter.py: Added missing copyright header</title>
<updated>2017-11-06T09:39:29+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2017-11-06T09:39:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=e2959c27382464f1b5ba37f6ea6db14f21d71b72'/>
<id>e2959c27382464f1b5ba37f6ea6db14f21d71b72</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
