Skip to content

Implement support to preview unsupported patches

Administrator requested to merge es/preview-unsupported into master

Created by: eseliger

Closes #11193

image

Tasks from issue:

  • Move the IsRepoSupported checks so that patches from unsupported repositories are accepted, but not published (checks need to be moved to the Service and possibly the ExecChangesetJobs function)
  • In publishChangeset mutation we should return an error
  • In publishCampaignChangesets mutation we should skip them
  • We should add a Publishable: boolean property to Patch 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.

Merge request reports

Loading