Download buildtrees on demand for bst shell --use-buildtree
Description
Provide bst shell --use-buildtree (only currently used with --build) the ability to attempt to acquire missing buildtrees, given respective option, user pull-buildtree context and remote availability. This behaviour is also used with bst push, which latter configuration will attempt to complete a missing buildtree pull before conceding a failed push.
Changes proposed in this merge request:
- Make shell load artifact_config for given element, allowing buildtree pull opportunity to be queried
- For 'always' & 'try' options, attempt to pull the buildtree given current config. As before if ultimately no buildtree is available then ensure 'always' option errors out
- Ensure default 'ask' & 'never' options when running in non interactive mode behave as before
This merge request, when approved, will close: #829 (closed)
Edited by Tom Pollard