Skip to content
Snippets Groups Projects

Optional creation of buildtrees

Merged Tom Pollard requested to merge tpollard/896 into master
All threads resolved!

Description

Provide configuration for the optional creation of buildtrees

Artifacts can be cached explicitly with an empty build tree when built via the cli main options or user config for all or only successful build artifacts. Default behaviour is to still create and cache all expected buildtrees.

This will create a situation in which a cache-key could contain a ref to a buildtree dir that was or wasn't populated for relevant element types and as such this uncertainty should be opt-in behaviour until further work such as artifact has a proto is landed. Users will be warned if interacting with an empty buildtree.

Changes proposed in this merge request:

  • Add main cli and user config option cache-buildtrees as a 'tristate' for when artifacts are cached via bst build
  • Keep default behaviour the same, highlight were a cached buildtree is empty
  • Tests

This merge request, when approved, will close: #896 (closed)


Edited by Tom Pollard

Merge request reports

Pipeline #47356906 passed

Pipeline passed for d2029444 on tpollard/896

Test coverage 86.25% (0.01%) from 1 job
Approval is optional

Merged by Jürg BilleterJürg Billeter 6 years ago (Feb 13, 2019 2:50pm UTC)

Merge details

  • Changes merged into master with 54ec032a.
  • Did not delete the source branch.
  • Auto-merge enabled

Pipeline #47369606 passed

Pipeline passed for 54ec032a on master

Test coverage 86.25% (0.01%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading