<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git/buildstream/_project.py, branch 175-refactor-integration-tests</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>_project.py: Bumping artifact version for execution environment</title>
<updated>2018-02-07T10:26:15+00:00</updated>
<author>
<name>Tristan Van Berkom</name>
<email>tristan.vanberkom@codethink.co.uk</email>
</author>
<published>2018-02-06T16:24:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=cd62e98834d91cbf32ac7d1408b6c0972c690591'/>
<id>cd62e98834d91cbf32ac7d1408b6c0972c690591</id>
<content type='text'>
Now that we consider the arch and os for every artifact, lets
bump the core artifact version to make this trackable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that we consider the arch and os for every artifact, lets
bump the core artifact version to make this trackable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make workspaces element-wide instead of source-specific</title>
<updated>2018-02-05T07:45:43+00:00</updated>
<author>
<name>Chandan Singh</name>
<email>csingh43@bloomberg.net</email>
</author>
<published>2018-01-29T17:54:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=9177ec6fb42eafc45c0857a16008dddab9353579'/>
<id>9177ec6fb42eafc45c0857a16008dddab9353579</id>
<content type='text'>
At present, BuildStream supports source-specific workspaces. This patch
makes workspaces element-wide. This will bring workspaces closer to what
the build area looks like inside the sandbox when the build actually
happens.

As part of this change, format of `.bst/workspaces.yaml` file will also
change. Previously, each element used to have a dict mapping each source
to its workspace directory. Now, each element will directly map to its
workspace directory.

If users have existing workspaces open, this patch tries to cope with it
but in some cases, it is not possible to reliably convert workspace
config from old format to new format. When an element has workspace open
for just one source, we assume that to be the workspace directory. But
if there were more than one workspaces associated with an element,
BuildStream will simply error out describing the issue.

Note that the actual contents of the workspace directory are not changed
in any case. So, if an element had multiple sources associated with it
but only had workspace open for source, the other sources will not be
automatically staged in the workspace unless the user runs `workspace
reset` or something equivalent.

Part of #209.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At present, BuildStream supports source-specific workspaces. This patch
makes workspaces element-wide. This will bring workspaces closer to what
the build area looks like inside the sandbox when the build actually
happens.

As part of this change, format of `.bst/workspaces.yaml` file will also
change. Previously, each element used to have a dict mapping each source
to its workspace directory. Now, each element will directly map to its
workspace directory.

If users have existing workspaces open, this patch tries to cope with it
but in some cases, it is not possible to reliably convert workspace
config from old format to new format. When an element has workspace open
for just one source, we assume that to be the workspace directory. But
if there were more than one workspaces associated with an element,
BuildStream will simply error out describing the issue.

Note that the actual contents of the workspace directory are not changed
in any case. So, if an element had multiple sources associated with it
but only had workspace open for source, the other sources will not be
automatically staged in the workspace unless the user runs `workspace
reset` or something equivalent.

Part of #209.
</pre>
</div>
</content>
</entry>
<entry>
<title>element: Handle overlaps with a whitelist and option to raise errors</title>
<updated>2018-01-25T13:27:40+00:00</updated>
<author>
<name>Jonathan Maw</name>
<email>jonathan.maw@codethink.co.uk</email>
</author>
<published>2017-12-08T19:25:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=2aa233da274ef3ad6bc2f7f832d2df43d71a1eec'/>
<id>2aa233da274ef3ad6bc2f7f832d2df43d71a1eec</id>
<content type='text'>
* Adds the 'overlap-whitelist' field to elements' public data. This is a
  list of globs that match files that the element is allowed to overlap
  other elements with.
* Adds the project-wide 'fail-on-overlaps' field. If set,
  non-whitelisted overlaps will raise an error instead of printing a
  warning.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Adds the 'overlap-whitelist' field to elements' public data. This is a
  list of globs that match files that the element is allowed to overlap
  other elements with.
* Adds the project-wide 'fail-on-overlaps' field. If set,
  non-whitelisted overlaps will raise an error instead of printing a
  warning.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years of files I have touched</title>
<updated>2018-01-11T18:18:14+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2018-01-10T17:25:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=079f702f3695a7197cf5cd2461c55812fc511816'/>
<id>079f702f3695a7197cf5cd2461c55812fc511816</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow push to multiple remotes, configurable on a per-remote basis</title>
<updated>2018-01-11T17:26:51+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2018-01-11T17:24:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=51c17e1147392f15580fb2dd925055ad8863ab3e'/>
<id>51c17e1147392f15580fb2dd925055ad8863ab3e</id>
<content type='text'>
The initial multiple cache support patch implemented a rather fragile
logic where we would push to the first cache in the list that used the
ssh:// protocol, if any. If we implement push-over-https:// in future
then this will become totally unworkable.

This patch alters the logic so that each remote has a 'push' option,
and BuildStream will push to any remote that has 'push: true' set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The initial multiple cache support patch implemented a rather fragile
logic where we would push to the first cache in the list that used the
ssh:// protocol, if any. If we implement push-over-https:// in future
then this will become totally unworkable.

This patch alters the logic so that each remote has a 'push' option,
and BuildStream will push to any remote that has 'push: true' set.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for multiple remote caches</title>
<updated>2018-01-11T17:13:10+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2017-11-22T14:58:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=d7959bd45493dc58ed6bc84aa2cf40b69b6854c6'/>
<id>d7959bd45493dc58ed6bc84aa2cf40b69b6854c6</id>
<content type='text'>
This extends the 'artifacts' configuration block such that a list of
`url` mappings can be given instead of a single entry. For example:

    artifacts:
      - url: http://example.com/artifacts1
      - url: ssh://ostree@example.com/artifacts2

The OSTreeCache class is updated to set up multiple remotes and query
remote refs from all of them.

There are no automated tests for this yet.

Empty URLs ('') now raise an exception. They cause breakages internally
if we allow them through, and they can only occur if the user or our
tests are misconfiguring things somehow.

We report failure to fetch from the cache by printing a message to
stderr for now. This is because BuildStream's actual logging
functionality can't be used during frontend init -- see issue #168.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This extends the 'artifacts' configuration block such that a list of
`url` mappings can be given instead of a single entry. For example:

    artifacts:
      - url: http://example.com/artifacts1
      - url: ssh://ostree@example.com/artifacts2

The OSTreeCache class is updated to set up multiple remotes and query
remote refs from all of them.

There are no automated tests for this yet.

Empty URLs ('') now raise an exception. They cause breakages internally
if we allow them through, and they can only occur if the user or our
tests are misconfiguring things somehow.

We report failure to fetch from the cache by printing a message to
stderr for now. This is because BuildStream's actual logging
functionality can't be used during frontend init -- see issue #168.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move utils._generate_key() into a new 'cachekey' module</title>
<updated>2018-01-04T12:30:12+00:00</updated>
<author>
<name>Sam Thursfield</name>
<email>sam.thursfield@codethink.co.uk</email>
</author>
<published>2018-01-04T12:28:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=3628cbbe0ec04e4f6e202d473a04a8fb3cf60840'/>
<id>3628cbbe0ec04e4f6e202d473a04a8fb3cf60840</id>
<content type='text'>
This avoids a circular dependency between the 'utils' and '_yaml'
modules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids a circular dependency between the 'utils' and '_yaml'
modules.
</pre>
</div>
</content>
</entry>
<entry>
<title>project: Export the name as a variable</title>
<updated>2017-12-20T21:03:17+00:00</updated>
<author>
<name>Mathieu Bridon</name>
<email>bochecha@daitauha.fr</email>
</author>
<published>2017-12-08T09:31:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=917b09ef07bd83a78b2292f6259451459cfdd54c'/>
<id>917b09ef07bd83a78b2292f6259451459cfdd54c</id>
<content type='text'>
This is often useful, for example when the main element needs to do
something with a path like /etc/%{project-name}/ .
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is often useful, for example when the main element needs to do
something with a path like /etc/%{project-name}/ .
</pre>
</div>
</content>
</entry>
<entry>
<title>project: Rename required-project-version to format-version</title>
<updated>2017-12-14T16:17:12+00:00</updated>
<author>
<name>Jonathan Maw</name>
<email>jonathan.maw@codethink.co.uk</email>
</author>
<published>2017-12-14T15:10:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=461ab56a19e86faf482bef2b7cbea1017d16d8d7'/>
<id>461ab56a19e86faf482bef2b7cbea1017d16d8d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>project: Reduce code duplication when storing origins</title>
<updated>2017-12-14T16:17:12+00:00</updated>
<author>
<name>Jonathan Maw</name>
<email>jonathan.maw@codethink.co.uk</email>
</author>
<published>2017-12-14T14:55:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=4915adea8ca792b4c3b4b49d040f7ecd0d697700'/>
<id>4915adea8ca792b4c3b4b49d040f7ecd0d697700</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
