Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bst build does not handle elements with Consistency.INCONSISTENT #32

Closed
Cynical-Optimist opened this issue Oct 13, 2020 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@Cynical-Optimist
Copy link

See original issue on GitLab
In GitLab by [Gitlab user @tristanvb] on May 19, 2017, 05:04

When typing bst build with inconsistent sources (sources that have no ref and need to be tracked), BuildStream just goes ahead and starts to try building these, but will inevitably fail because there are no refs.

We could have different approaches here:

  • Just bail out with a message to the user
  • Try building any elements which could possibly be built, but omit any inconsistent elements (by prefiltering the element list)
@Cynical-Optimist Cynical-Optimist added the bug Something isn't working label Oct 13, 2020
@Cynical-Optimist
Copy link
Author

In GitLab by [Gitlab user @tristanvb] on Jul 27, 2017, 16:15

This is no longer true.

Now we assert consistency of the pipeline before running the build (unless bst build --track has been specified).

@Cynical-Optimist
Copy link
Author

In GitLab by [Gitlab user @tristanvb] on Jul 27, 2017, 16:15

closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant