Update docs building:
* Remove unneeded doc sections from setup.cfg
* Change constraints to use published document, use
new variable
* Import mock from unittest, remove imports from future
Change-Id: I8f33d4c0bf5fcba203d410cd021c548219a757ec
make get_last_release() go further back in release history,
compute the depth at which it finds a release.
Properly increment feature version based on the depth at
which the last release was found.
Change-Id: I5880611a7d9005cee8fe4c2d7920f84d880eeeb8
Task: 22351
The calculation of the last release was working from release
information from targeted series, and used specific code to
retrieve the data from the previous series if that failed.
In preparation for landing code to look further backwards in
history, refactor that code to retrieve and work from a
release history object containing list of releases for each
considered series.
To preserve current behavior, for the moment, we only retrieve
history for the targeted series and the series before that.
This allows to get rid of mocks in get_last_release() tests and
simplify testing from a history of releases.
Change-Id: I48ff9c46c1e9250fbdfc5dd5344f18c7e046735a
Pull the code that finds the previous release out of the main function
in new-release and write tests for it.
Change-Id: I20c6a5283a779258498027a8a5875ddd3c80bf79
Signed-off-by: Doug Hellmann <doug@doughellmann.com>