Add `campaigns add-changesets` subcommand
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: mrnugget
This adds the changesets with the given external IDs to the given campaign.
$ src campaigns add-changesets -campaign-id Q2FtcGFpZ246NA== -repo-name github.com/sourcegraph/sourcegraph 5016 5017 5018
Created 3 changesets.
Added changeset to campaign. Changesets now in campaign: 10
(These are mostly due to how our API works with batches and could be fixed on the API side, collecting these just here for documentation/transparency)
[
{
"message": "pq: duplicate key value violates unique constraint \"changesets_repo_external_id_unique\"",
"path": [
"createChangesets"
]
}
]
[
{
"message": "error in GraphQL response: Could not resolve to a PullRequest with the number of 5013.",
"path": [
"createChangesets"
]
}
]
Push commits to the source branch or add previously merged commits to review them.