show changes to setup.cfg in list-changes

Some projects put dependencies in the "extras" section of
setup.cfg. Include changes in that file under the requirements change
section of the report.

Change-Id: I770f675372cf27487c26af67a9db7272bdbea25c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2016-10-07 15:47:00 -04:00
parent 5913687279
commit 4ec5ba556c

View File

@ -319,8 +319,10 @@ def main():
extra_args=['--format=%h %ci %s'])
# Show any requirements changes in the upcoming release.
# Include setup.cfg, in case the project uses "extras".
if start_range:
git_diff(workdir, project['repo'], git_range, '*requirements*.txt')
git_diff(workdir, project['repo'], git_range, 'setup.cfg')
# Show the changes since the last release, first as a
# graph view so we can check for bad merges, and then with