Skip to content
Snippets Groups Projects

Allow pulling build scope of artifacts which are not cached locally

In any case that the user has requested artifacts be pulled, and that artifact targets have been specified, pre-emptively pull the target artifact metadata so that the operation can complete coherently.

Specifically, this fixes:

  • bst artifact pull --deps build <artifact name>
  • bst artifact checkout --deps build --pull <artifact name>

In these cases, we cannot know the build dependencies of the artifact if we do not at least try to obtain the toplevel target artfiact(s) first, so we instate a policy to initially download metadata.

Currently this unfortunately downloads the entire artifact, but should be optimized later on to download only the required metadata, added FIXME comment around here.

Edited by Tristan Van Berkom

Merge request reports

Loading
Loading

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