Skip to content

Conversation

@eseliger
Copy link
Member

@eseliger eseliger commented Aug 16, 2022

Requires a newer Sourcegraph version from https://github.com/sourcegraph/sourcegraph/pull/40446.

This also adds a feature gate for sourcegraph 4.0 to src-cli to warn users when they use a too recent version of src-cli.

Closes https://github.com/sourcegraph/sourcegraph/issues/38969
Closes https://github.com/sourcegraph/sourcegraph/issues/38967

Test plan

Test suite and verified manually the 4.0 banner and previous functionality work.

@eseliger eseliger force-pushed the es/cleanup-feature-gates branch 2 times, most recently from 685b513 to fc3fa34 Compare August 16, 2022 22:19
Base automatically changed from es/no-local-workspace-resolver to main August 24, 2022 13:56
@eseliger eseliger force-pushed the es/cleanup-feature-gates branch from d1039a3 to efd1d7f Compare August 24, 2022 13:59
Copy link
Contributor

@Piszmog Piszmog left a comment

Choose a reason for hiding this comment

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

LGTM

I'm mentally preparing myself for the merge conflict I'm going to have to go thru.

Copy link
Contributor

@LawnGnome LawnGnome left a comment

Choose a reason for hiding this comment

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

It's beautiful.

return docker.NCPU(ctx)
}

func validateSourcegraphVersionConstraint(ctx context.Context, svc *service.Service) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

I worry a little that this may be too simplistic as we start adding things in 4.x again, but let's cross that bridge when we get to it.

eseliger and others added 2 commits August 25, 2022 20:34
Co-authored-by: Adam Harvey <adam@adamharvey.name>
@eseliger eseliger merged commit a415fac into main Aug 25, 2022
@eseliger eseliger deleted the es/cleanup-feature-gates branch August 25, 2022 18:38
Copy link
Contributor

@courier-new courier-new left a comment

Choose a reason for hiding this comment

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

DELETE 👏 IT 👏 ALL 👏

scjohns pushed a commit that referenced this pull request Apr 24, 2023
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.

Removing all "campaigns" aliases and shim Remove old feature gates from src-cli

5 participants