Skip to content

RFE: Allow easy way of building all elements

Background

When managing a BuildStream project, it is often desired to validate that all elements under the given project are building at all times. This is simple to automate when there is a single or a handful of leaf elements but becomes cumbersome to do it outside BuildStream as the number of elements begin to increase.

If there was a way to tell BuildStream to build all elements, something like bst build --all, that would solve this issue.

As part of this, we may need a mechanism to let BuildStream identify which files are bst elements (probably leveraging file extensions or similar).

Task description

- Update by Phillip Smyth on 12th December 2018:

  • Introduce Default elements to bst build
  • Add functionality for building the default element and all elements
  • Introduce tests to cover the new functionality

- End update by Phillip Smyth on 12th December 2018:

Acceptance Criteria

- Update by Phillip Smyth on 12th December 2018:

One is able to build all elements in a project, using a single command.

This is now going to be default functionality, rather than using a command or flag

- End update by Phillip Smyth on 12th December 2018:


Edited by Phillip Smyth
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information