Add support for generating patches between artifacts on-the-fly