Skip to content

Disable team management from v7 on - #1257

Merged
fkling merged 1 commit into
mainfrom
fkling/remove-teams-management
Feb 19, 2026
Merged

fkling merged 1 commit into
mainfrom
fkling/remove-teams-management

Conversation

@fkling

@fkling fkling commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

This PR makes a version check to disable the teams command for v7 and above.

I refactored the code a bit to make some of the functionality used for batch changes more globally available. No idea if that makes sense.

@fkling

fkling commented Feb 19, 2026 •

Copy link
Copy Markdown
Contributor Author

This change is part of the following stack:

Change managed by git-spice.

@fkling
fkling requested a review from eseliger February 19, 2026 11:44
@fkling
fkling force-pushed the fkling/remove-teams-management branch from c4889ca to a9a977d Compare February 19, 2026 11:45
@fkling
fkling force-pushed the fkling/remove-teams-management branch from a9a977d to 03aa243 Compare February 19, 2026 13:29
@fkling
fkling merged commit 1ecebe6 into main Feb 19, 2026
8 checks passed
@fkling
fkling deleted the fkling/remove-teams-management branch February 19, 2026 13:51
marcleblanc2 added a commit that referenced this pull request Sep 28, 2026
Teams were removed in Sourcegraph 7.0. Since #1257 (src-cli 7.0.0) the
command has refused to run against 7.x instances, so it only works against
instances that are no longer supported. Remove it and its reference page.

Drops the "teams.md" entry from the doc golden list and the
legacyGroupsWithoutSubcommandPages exemption added in #1375, so every
remaining legacy group is now expanded into subcommand pages.

Part of https://linear.app/sourcegraph/issue/FE-502

Amp-Thread-ID: https://ampcode.com/threads/T-01a08410-86ca-72be-9928-2810e837fae1
Co-authored-by: Amp <amp@ampcode.com>
marcleblanc2 added a commit that referenced this pull request Sep 28, 2026
* remove: `src teams` commands

Teams were removed in Sourcegraph 7.0. Since #1257 (src-cli 7.0.0) the
command has refused to run against 7.x instances, so it only works against
instances that are no longer supported. Remove it and its reference page.

Drops the "teams.md" entry from the doc golden list and the
legacyGroupsWithoutSubcommandPages exemption added in #1375, so every
remaining legacy group is now expanded into subcommand pages.

Part of https://linear.app/sourcegraph/issue/FE-502

Amp-Thread-ID: https://ampcode.com/threads/T-01a08410-86ca-72be-9928-2810e837fae1
Co-authored-by: Amp <amp@ampcode.com>

* remove Sourcegraph70 feature flag and stale extensions/gateway help entries

Sourcegraph70 was only used by the teams version gate. The `extensions` and
`gateway` commands were removed in #1173 and earlier but were still listed in
`src help`.

Part of https://linear.app/sourcegraph/issue/FE-502

Amp-Thread-ID: https://ampcode.com/threads/T-01a08410-86ca-72be-9928-2810e837fae1
Co-authored-by: Amp <amp@ampcode.com>

---------

Co-authored-by: Amp <amp@ampcode.com>
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.

2 participants