Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

fix(sg): conditionally show protips#63541

Merged
burmudar merged 2 commits into
mainfrom
wb/sg-bazel/rust-hint
Jun 28, 2024
Merged

fix(sg): conditionally show protips#63541
burmudar merged 2 commits into
mainfrom
wb/sg-bazel/rust-hint

Conversation

@burmudar

Copy link
Copy Markdown
Contributor

Small improvement as reported here https://github.com/sourcegraph/devx-support/issues/1068

Test plan

Tested locally

sourcegraph on  wb/sg-bazel/rust-hint [$!+?] via 🐹 v1.22.4 via ❄️  impure (sourcegraph-dev-env) took 9m54s
❯ CARGO_BAZEL_ISOLATED=0 CARGO_BAZEL_REPIN_ONLY=crate_index go run ./dev/sg bazel configure rustdeps
✱ Invoking the following Bazel generating categories: rustdeps
👉 running command "bazel sync --only=crate_index"

sourcegraph on  wb/sg-bazel/rust-hint [$!+?] via 🐹 v1.22.4 via ❄️  impure (sourcegraph-dev-env) took 51s
❯ CARGO_BAZEL_ISOLATED=1 CARGO_BAZEL_REPIN_ONLY=crate_index go run ./dev/sg bazel configure rustdeps
✱ Invoking the following Bazel generating categories: rustdeps
👉 running command "bazel sync --only=crate_index"
💡 pro-tip: run with CARGO_BAZEL_ISOLATED=0 for faster (but less sandboxed) repinning.

Changelog

  • sg - conditionally show protips when running sg bazel

@burmudar burmudar requested a review from Strum355 June 28, 2024 09:53
@burmudar burmudar self-assigned this Jun 28, 2024
@cla-bot cla-bot Bot added the cla-signed label Jun 28, 2024
@burmudar burmudar merged commit 40dc696 into main Jun 28, 2024
@burmudar burmudar deleted the wb/sg-bazel/rust-hint branch June 28, 2024 10:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants