Hi,

> when adding a NEWS entry with --news the urgency should match the one in
> changelog if applicable, otherwise lintian complains that changelog
> urgency doesn't match NEWS urgency.

Hmmm, I thought we already did that; obviously I misremembered (probably
confused it with the automagic adding of NEWS entries using the
changelog version).

I have a small(ish) patch which works in my testing so far; I'll commit
it after a little more testing. With the patch, updating the NEWS file
pulls in the urgency from the changelog unless you override it on the
command line.

Obviously if you update the urgency in the changelog after editing the
NEWS file then they'll still end up out of sync, but I think that's
acceptable - it's certainly better than the current situation, and dch's
code really doesn't lend itself to attempting to update the NEWS file
correctly when changing the changelog.

Regards,

Adam




-- 
To unsubscribe, send mail to [email protected].

Reply via email to