sourcegraph/sourcegraph-public-snapshot

Download batch change diff file

Ouverte

#31 551 ouverte le 21 févr. 2022

 (0 commentaire) (0 réaction) (0 personne assignée)Go (1 374 forks)auto 404
batch-changesgood first issue

Métriques du dépôt

Stars
 (10 290 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur