GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: Remove deprecated extensions commands by eseliger · Pull Request #1173 · sourcegraph/src-cli

Conversation

@eseliger

@eseliger eseliger commented Jun 18, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Long deprecated, let's remove it to declutter.

Test plan: Other commands still work locally.

Changelog

The deprecated src extensions commands have been removed.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@eseliger
chore: Remove deprecated extensions commands
3b9316c
Long deprecated, let's remove it to declutter.

Test plan: Other commands still work locally.

The deprecated `src extensions` commands have been removed.
@eseliger Graphite App

eseliger commented Jun 18, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author
  • chore: Remove gateway commands #1174 Graphite
  • chore: Remove deprecated extensions commands #1173 Graphite 👈 (View in Graphite)
  • main

This stack of pull requests is managed by Graphite. Learn more about stacking.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eseliger eseliger mentioned this pull request Jun 18, 2025
chore: Remove gateway commands #1174
Merged
@eseliger
eseliger marked this pull request as ready for review June 19, 2025 17:11
@eseliger
eseliger requested review from a team June 19, 2025 17:11
vovakulikov
vovakulikov approved these changes Jun 19, 2025
View reviewed changes

@vovakulikov vovakulikov left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Farewell extensions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@eseliger
Merge branch 'main' into es/06-12-chore_remove_deprecated_extensions_…
7de173c
…commands
@eseliger
eseliger merged commit ce9dd78 into main Jun 19, 2025
@eseliger
eseliger deleted the es/06-12-chore_remove_deprecated_extensions_commands branch June 19, 2025 17:22
@marcleblanc2 marcleblanc2 mentioned this pull request Sep 9, 2026
docs/cli: Remove doc pages for removed src-cli commands sourcegraph/docs#1886
Merged
marcleblanc2 added a commit that referenced this pull request Sep 9, 2026
@marcleblanc2 @ampagent
remove Sourcegraph70 feature flag and stale extensions/gateway help e…
89e7de3
…ntries

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 <[email protected]>
@marcleblanc2 marcleblanc2 mentioned this pull request Sep 9, 2026
chore: Remove deprecated src teams commands #1376
Merged
marcleblanc2 added a commit to sourcegraph/docs that referenced this pull request Sep 11, 2026
@marcleblanc2 @ampagent
docs/cli: Remove doc pages for removed src-cli commands (#1886)
2f8832a
## Why

The docs sync from `sourcegraph/sourcegraph`
([`doc/_generated.push.sh`](https://github.com/sourcegraph/sourcegraph/blob/main/doc/_generated.push.sh))
does `cp -R -L doc/cli/** _clone/docs/cli/` — it only adds and updates
pages, never deletes. So when a command is removed from src-cli, its
reference page lingers here forever. Replaying the sync against `main`
shows zero drift in the 62 generated pages, but 36 files under
`docs/cli/references/` are never written by it.

This PR deletes the 28 that are stale. No redirects are added; none of
these pages are linked from anywhere in the site.

## Removed (28 files)

**Command removed from src-cli**

| Pages | Removal |
|---|---|
| `extensions/{index,copy,delete,get,list,publish}` |
sourcegraph/src-cli#1173 (extensions platform sunset) |
| `lsif` | sourcegraph/src-cli#1147 (→ `src code-intel upload`) |
| `scout` | sourcegraph/src-cli#1196 |
| `sbom`, `signature` | sourcegraph/src-cli#1273 (SBOMs/signatures no
longer published as of 7.0.2852; the how-tos already carry deprecation
notices) |
| `admin` | sourcegraph/src-cli#1309 (built for the appliance, which
never launched) |
| `validate` | sourcegraph/src-cli#1310 |

**Command never shipped**

`prompts` + 13 subcommand pages (#1155) documented
sourcegraph/src-cli#1168, which was closed unmerged.

**Stale duplicates shadowing generated pages**

`auth.mdx` and `codeowners.mdx` collide with `auth/index.mdx` /
`codeowners/index.mdx`: contentlayer flattens both to
`cli/references/auth`, and `allPosts.find` returned the stale flat file.
After this change `/cli/references/auth` and
`/cli/references/codeowners` render the generated group pages (verified
with `contentlayer build`).

## Kept

`search-jobs/{cancel,create,delete,get,list,logs,restart,results}` — the
subcommands exist, but `src doc` only emits a single `search-jobs.md`
because `searchJobsCommands` isn't in the `commanders` map in
[`cmd/src/doc.go`](https://github.com/sourcegraph/src-cli/blob/main/cmd/src/doc.go#L59-L66).
Fix belongs upstream.

## Verification

- `npx tsc --noEmit` passes
- `npx contentlayer build` generates 493 docs; `cli/references/auth` and
`cli/references/codeowners` now resolve to the `index.mdx` files
- No remaining links to the deleted slugs anywhere in `docs/` or `src/`

## Follow-up (upstream)

To stop this recurring, `_generated.push.sh` should mirror
`docs/cli/references/` (delete-then-copy) instead of copying over it.
Done in sourcegraph/sourcegraph#15529 (merge after
sourcegraph/sourcegraph#15528 and #1889).

## Amp threads

- [Stale command
docs](https://ampcode.com/threads/T-01a08410-86ca-72be-9928-2810e837fae1)

Co-authored-by: Amp <[email protected]>
marcleblanc2 added a commit that referenced this pull request Sep 28, 2026
@marcleblanc2 @ampagent
remove Sourcegraph70 feature flag and stale extensions/gateway help e…
92beb80
…ntries

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 <[email protected]>
marcleblanc2 added a commit that referenced this pull request Sep 28, 2026
@marcleblanc2 @ampagent
chore: Remove deprecated src teams commands (#1376)
4c967dd
* 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 <[email protected]>

* 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 <[email protected]>

---------

Co-authored-by: Amp <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@vovakulikov vovakulikov vovakulikov approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@eseliger @vovakulikov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.