Regenerate ChangeLog
file only if git metadata got updated
#2435
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This should allow for some faster development cycles (not causing
ChangeLog
re-generation for every call that resolves tomake ChangeLog
, and subsequently taking a minutes or two for the HTML/PDF variants of the huge file).Goes into guts of Git a bit too much, maybe, but this particular recipe is about being intimate with it anyway, and at worst we would keep generating the file when maybe we should not (if git repo filesystem backend design changes).
Should also help with networkupstools/nut-website#52 tangentially (at least regarding development cycles to fix that).
Example results in a
nut-website
build area (wherenut
is a submodule):The actual impact is about HTML/PDF files however - or rather about avoiding the remakes where possible: