sourcegraph/sourcegraph-public-snapshot

Download batch change diff file

開放

#31,551 建立於 2022年2月21日

 (0 則留言) (0 個反應) (0 位負責人)Go (1,374 個分叉)auto 404
batch-changesgood first issue

倉庫指標

星標
 (10,290 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南