Skip to content

a8n: support creating campaign plans from API only, not UI

Warren Gifford requested to merge a8n/plan-from-api-only into master

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.

Merge request reports

Loading