SUSE-Enceladus / keg

Kiwi Entwicklungs-Gerät (tool to produce kiwi image descriptions)
GNU General Public License v3.0
8 stars 6 forks source link

compose_kiwi_description: abort on empty change logs #86

Closed jgleissner closed 2 years ago

jgleissner commented 2 years ago

If the image does not have any changes (i.e. generated change logs for all flavors are empty), abort and delete all generated files.

The current implementation only detects if the repositories don't have new commits, but since most commits in keg-recipes are likely to only affect a subset of all images, this won't be enough to prevent unnecessary version bumps and rebuilds. This PR adds support to handle this situation properly.