Skip to content

dev/sg: cut over to 'sg setupv2', deprecate 'sg doctor'

Administrator requested to merge sg-setup-v2 into main

Created by: bobheadxi

The new sg setup features --check and --fix, leverages a shared framework with sg lint for ease of maintainence, and is (mostly) integration-tested in GitHub actions to ensure the setup works smoothly.

The sg setup -c behaviour replaces the existing sg doctor command, so we deprecate that with a suggestion to use sg setup --check.

Closes https://github.com/sourcegraph/sourcegraph/issues/36379 Closes https://github.com/sourcegraph/sourcegraph/issues/33245 Closes https://github.com/sourcegraph/sourcegraph/issues/33885 Closes https://github.com/sourcegraph/sourcegraph/issues/35665 Closes https://github.com/sourcegraph/sourcegraph/issues/36512 Closes https://github.com/sourcegraph/sourcegraph/issues/26155

Test plan

Tests pass, go run ./dev/sg setup -c

The new setup has been integration-tested in various PRs as well

Merge request reports

Loading