Skip to content

Conversation

@gtristan
Copy link
Contributor

@gtristan gtristan commented Nov 9, 2025

This command was missed when applying the --artifact-remote and --ignore-project-artifact-remotes options uniformly to all relevant commands.

This is useful for ensuring that the shallow artifacts have been downloaded
from the remotes, without requiring heavy duty `bst artifact pull`, and
is particularly useful with the advent of `%{artifact-cas-digest}` being
available in `bst show` output.

This updates the CLI to support the new arguments which we missed
adding previously, and adds the glue code in Stream() object to
load the pipeline with the artifact remote related arguments.
…a dir

This just follows the new, improved policy to not share data files across
test cases, leading to the huge crazy shared mess that is found in
tests/frontend/project, where any change here for a given test risks
affecting many adjacent tests.
Added tests to cover --artifact-remote and --ignore-project-artifact-remotes.

This also improves overall coverage of test_artifact_show_available_remotely
to cover all three methods of setting the remotes (project, user config, and
now CLI options), plus test this by providing the element name and the
artifact name separately (except for when the remote is specified by the
project, because project.conf is intentionally ignored when loading artifact
names).
@gtristan
Copy link
Contributor Author

No reviews in a while... trivial and uncontroversial change (consistent CLI options) which also improves test coverage... lets merge this.

@gtristan gtristan merged commit 30145c6 into master Nov 18, 2025
34 of 36 checks passed
@gtristan gtristan deleted the tristan/artifact-show-remote branch November 18, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant