Skip to content

Commit 89e7de3

Browse files
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>
1 parent 2000c59 commit 89e7de3

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

cmd/src/main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ The commands are:
5858
batch manages batch changes
5959
code-intel manages code intelligence data
6060
config manages global, org, and user settings
61-
extensions,ext manages extensions (experimental)
6261
extsvc manages external services
63-
gateway interacts with Cody Gateway
6462
login authenticate to a Sourcegraph instance with your user credentials
6563
orgs,org manages organizations
6664
repos,repo manages repositories

internal/features/features.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
type FeatureFlags struct {
1414
Sourcegraph40 bool
1515
BinaryDiffs bool
16-
Sourcegraph70 bool
1716
}
1817

1918
func (ff *FeatureFlags) SetFromVersion(version string, skipErrors bool) error {
@@ -33,7 +32,6 @@ func (ff *FeatureFlags) SetFromVersion(version string, skipErrors bool) error {
3332
// {&ff.FlagName, ">= 3.23.0-0", "2020-11-24"},
3433
{&ff.Sourcegraph40, ">= 4.0.0-0", "2022-08-24"},
3534
{&ff.BinaryDiffs, ">= 4.3.0-0", "2022-11-29"},
36-
{&ff.Sourcegraph70, ">= 7.0.0-0", "2026-02-25"},
3735
} {
3836
value, err := api.CheckSourcegraphVersion(version, feature.constraint, feature.minDate)
3937
if err != nil {

0 commit comments

Comments
 (0)