Implement support to preview unsupported patches
Created by: eseliger
Closes #11193 (closed)
Tasks from issue:
-
Move the IsRepoSupported
checks so that patches from unsupported repositories are accepted, but not published (checks need to be moved to theService
and possibly theExecChangesetJobs
function) -
In publishChangeset
mutation we should return an error -
In publishCampaignChangesets
mutation we should skip them -
We should add a Publishable: boolean
property toPatch
in the GraphQL API -
We need to remove the "is supported" check in src-cli
For the last task: Do we really need to? We currently have a flag to allow creating patches for unsupported codehosts, which helps here. Removing it would mean we default to that behavior and I think that more customers would want to omit them than would want to store them for future use by default.