Post

rattler-build handles thousands of real world packages, and they often come with small patches. Historically, we used a mix of `git apply` and `patch`, but both have issues for cross-platform compatibility with a wide range of real-world patches. Now, we have our own Rust library

We just published a blog post going into some detail on what makes patching source code hard: prefix.dev/blog/flickz... – it's not just the relatively unstructured diff formats. Source code also lives and breathes, and moves!

prefix.devFlickzeug – or why patching source code is hardTL;DR - we have extended the Rust crate diffy to be able to patch real-world source code with real-world patches, which is surprisingly hard! In the process we renamed it to flickzeug.

1 repost1 like

No replies yet.