4 Commits

Author SHA1 Message Date
Doug Hellmann
1c92542f42 ignore the reno cache when building the set of release notes
For list-changes and the announcement emails we want to ignore any
local cache file created when a package was built and scan the git
repository again. The cache file is meant to be used by the consumer
of the package being released, but we have the git repository so we
don't need it and ignoring it will ensure we have the correct notes in
any announcements.

Change-Id: I047f7e455a1d238d12cf94a60cd0d44f44406a3d
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-27 17:27:58 -04:00
Tovin Seven
0290a15965 Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: Iffc845fad9dab3c9af8c7b78bfa9fb8ab6fe0153
2018-04-20 17:29:00 +07:00
Doug Hellmann
3fc5805761 switch from Popen to check_output in release notes tools
The copy of release_notes.py imported from the release-tools repo was
modified to use Popen instead of oslo.concurrency. However, that
change was made incorrectly, and an invalid exception was being
caught. When the commands work fine, this doesn't present a
problem. When the commands fail, it breaks error handling. Replace all
of the local logic with check_call(), the function used elsewhere in
this repo for running background commands. Update users of run_cmd()
in release_notes.py to only expect to receive stdout as a response.

Change-Id: I291a077ed613c3e4ad56b85c81945c15a6301c17
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-16 09:22:19 -04:00
Doug Hellmann
70be592ba5 add release notes output to the list-changes job
Import the release-notes command from the release-tools repository and
integrate it with the list-changes command so that we see the release
notes for an upcoming release. This lets us review the release notes
output for warnings (like not having a documentation page linked) and
errors (such as reno failing to work).

Change-Id: I710606fe44601fe5414bfc82f25894319f16e558
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-11 13:44:46 -04:00