These should no longer be necessary since we changed the algorithm to
determine parents.
The code supporting parent overrides remains for now, for less
disruption to the code base as we near 1.0 and in case this change needs
to be reverted. If successful then the supporting code can be removed at
some point subsequent to the 1.0 release.
These should no longer be necessary due to Launchpad having been fixed
(LP #1881598 and others).
The code supporting pull overrides remains for now, for less disruption
to the code base as we near 1.0 and in case this change needs to be
reverted. If successful then the supporting code can be removed at some
point subsequent to the 1.0 release.
This reverts commit 6ff151dc208809e1b8e3108c69c05090174e6221.
This commit broke when using the snap on Focal (but not on Bionic) with:
locale.Error: unsupported locale setting
...when calling locale.setlocale().
Since this is a regression, I'm reverting it immediately.
However I've since learned that locale-specific behaviour is not
activated until locale.setlocale() is called explicitly anyway, so
perhaps ensuring consistent behaviour despite locale settings is not as
important or necessary as I had previously thought.
To handle the edge case of changelog entry signoff line dates not being
parseable due to not being valid dates, the spec now requires that we
revert to using the timestamp of the source package data instance
instead (which is what we always use for the commit date). This change
implements this requirement and adds overrides for the initial set of
changelog dates to be ignored as defined by the spec.