arrdem / katamari

Roll up all your software into artifacts!
67 stars 4 forks source link

Include kat-deps-* modification information when considering changes #16

Closed arrdem closed 5 years ago

arrdem commented 5 years ago

At present, Katamari is quite good at sorting out what Rollfile defined targets have and haven't changed. The problem is that some state - like the deps defaults - don't come from Rollfiles. They come from these sidecar data files. Which means that I don't get change detection on them "for free".

The easy fix here is probably to import all of a project's Maven dependencies into the Rollfile target graph when initializing any deps backed target type. This would at least expose at the buildgraph level any changes in say the coords of a depended library. It's not ideal and it will clutter the buildgraph as well as conflate building with dependency resolution even more, but it may be the best approach.