a8n: support creating campaign plans from API only, not UI
Created by: sqs
Based on customer feedback, we are focusing on campaigns that require running external tools (such as a code formatter, linter, and/or package manager) to produce the diff, instead of the simple regexp/comby campaigns that Sourcegraph could run from the web UI. The src
CLI will expose strictly more customizability to campaign authors.
This was discussed on Slack in https://sourcegraph.slack.com/archives/CMMTWQQ49/p1579746146079200. Summary: very few customer problems can be solved by regexp/comby alone; it is also almost always necessary to run a code formatter, package manager, etc., to ensure the diff is correct. The new src actions exec
subcommand in https://github.com/sourcegraph/src-cli/pull/80 will support creating campaigns whose diffs come from any external tools. We want to focus on the CLI-first workflow for creating campaigns (which solves customer problems much better), and not have a confusing alternative way of creating some campaigns in the web UI.
(We plan to support running external tools on Sourcegraph itself in the future, which means we can bring back the web UI that exposes complete power for creating campaigns. But we don't have that capability yet in just the web UI.)
Closes many issues related to features that we were planning to expose in the web UI. These features will still (mostly) be planned in the future, but only after we support them in the src
CLI.
- closes #8003 (closed)
- closes #7861 (closed)
- closes #7853 (closed)
- closes #7279 (closed)
- closes #8004 (closed)
- closes #7725 (closed)
- closes #7566 (closed)
- closes #7561 (closed)
- closes #7562 (closed)
- closes #7563 (closed)
- closes #7564 (closed)
- closes #7558 (closed)
- closes #7559 (closed)
- closes #7112 (closed)
- closes #6627 (closed)