Open gedw99 opened 3 weeks ago
Hello, thank you for your interest in saturn-bot.
Right now, saturn-bot doesn't use unified diffs. Or maybe it does and I'm misunderstanding what they are. Any links to resources appreciated.
Not entirely sure what you want to achieve, but here are the steps saturn-bot takes:
lineDelete
, lineInsert
and lineReplace
might be of interest.Hope that answers your question.
Thanks
this is a git unified diff for golang
https://github.com/aymanbagabas/go-udiff
It works well as a way to take a git repo and establish the did and then it as a path to a git repo .
I use nats Jetstream to update many repos at once, by sending the diff as the payload to nats and the other repo agents subscribing to it it’s a simple pub sub approach .
Thank you the tips . It help ms ! I will try it out and see how it goes.
From what I can see this cant send Git Unified diffs, in order to change file contents in a git repo ?
The docs do say "Insert, replace or delete lines in files." though. I guess it's not using Git Unified diffs ?
as distinct from what it does now which is whole files ?