sourcegraph/sourcegraph-public-snapshot

Download batch change diff file

オープン

#31,551 opened on 2022/02/21

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Go (1,374 件のフォーク)auto 404
batch-changesgood first issue

Repository metrics

Stars
 (10,290 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Customer problem

Is there any way to download a patch file for what a sourcegraph batch would create? If I look in the UI for the batch preview I see some alignment issues, as you can seen in the image attached. There's seemingly a linebreak and an indentation difference. I suspect this is the sourcegraph UI introducing that due to line wrapping, but I don't see any way that I could tell if that is the case or not. I could fire off the batch update and hope it's correct of course.

Users probably want to download the file and not just the diff

We explored a quickfix here https://github.com/sourcegraph/sourcegraph/issues/29709 but it turned out to be not easily feasible.

There is a workaround today: applying the batch change for a few repositories to test things out, and then re-applying the full batch change. But it's not great.

コントリビューターガイド