-
-
Notifications
You must be signed in to change notification settings - Fork 237
Open
Labels
CLIProduct areaProduct areaFeatureIssue typeIssue typev3.0Breaking changes to include in version 3.0.0 of Sentry CLIBreaking changes to include in version 3.0.0 of Sentry CLI
Description
Problem Statement
Today, only releases.new and releases.uploadSourcemaps support supplying multiple projects via the getProjectFlagsFromOptions helper:
sentry-cli/js/releases/index.js
Lines 53 to 56 in 8c6e63e
| async new(release, options) { | |
| const args = ['releases', 'new', release].concat(helper.getProjectFlagsFromOptions(options)); | |
| return this.execute(args, null); | |
| } |
sentry-cli/js/releases/index.js
Lines 197 to 199 in 8c6e63e
| const args = ['sourcemaps', 'upload'] | |
| .concat(helper.getProjectFlagsFromOptions(options)) | |
| .concat(['--release', release]); |
Briefly looking over the rust code-base, it seems that more commands support passing multiple projects.
Solution Brainstorm
Align the JS API with the Rust API to allow passing multiple projects to all commands that have a JS counterpart and support passing multiple projects.
We should be able to use the same helper and approach as in the above mentioned apis.
Metadata
Metadata
Assignees
Labels
CLIProduct areaProduct areaFeatureIssue typeIssue typev3.0Breaking changes to include in version 3.0.0 of Sentry CLIBreaking changes to include in version 3.0.0 of Sentry CLI