summaryrefslogtreecommitdiff
path: root/tools/version-check.py
AgeCommit message (Collapse)AuthorFilesLines
2020-02-26Ignore EM releases in version-check.pyMark Goddard1-0/+4
We don't want to use Extended Maintenance (EM) tags, since these are just markers of a point in time and not available as released artifacts. Change-Id: If552f7ffc22d4b25769c14c083179eecf5a93158 (cherry picked from commit f528ad81026526af02610aa3e08200fd53b87ab9)
2019-04-10Version check: update using project name or tarball nameMark Goddard1-0/+2
The current code worked only if the project was using the project_name in kolla/common/config.py, rather than the tarball_base name. This is only true on master - on stable branches we may switch to use the tarball_base name, so the regex won't match. Change-Id: I839649e6ef662ae3ff320edb3106da818956d26d
2019-03-28Set requirements branch in version-check.pyMark Goddard1-21/+38
We use the stable branch of the requirements project. Also add an exception for the crane project, which is not managed by OpenStack releases. Make use of 'tarball_base' field to handle tarball renames. Change-Id: I05186d9a3e21615e6b49c62cea83bc4bde4702fe
2018-12-27Update hacking versionconfi-surya1-2/+1
Use latest release 1.1.0 and compatible changes w.r.t pep8 Change-Id: Ia3d1166a2746a46591e4e5a04ea91e03ddc28d93
2018-09-14Ingore monasca-thresh in version-check.pyEduardo Gonzalez1-1/+2
monasca-thresh package is not published in tarballs.openstack.org and fails to detect proper version for it. Add to external managed packages list Change-Id: I5da4da1f5291e993fdcd04177c634147204ad9ed
2017-07-16Merge "Add bandit check to all python code"Jenkins1-3/+3
2017-07-13Merge "Remove ignore tempest project in version-check"Jenkins1-2/+1
2017-07-10Remove ignore tempest project in version-checkEduardo Gonzalez1-2/+1
Tempest is present in openstack/releases project Change-Id: Ib4c48108ecfe9eb9e3276ed039af083438385837 Closes-Bug: #1703395
2017-07-10Fix gnocchi in version_check scriptEduardo Gonzalez1-0/+1
Gnocchi is moved out of openstack/releases project. Version-check need to be updated with gnocchi in skipped projects. Closes-Bug: #1703386 Change-Id: I2b37aeb7042756be534559615878e698275783c6
2017-07-06Add bandit check to all python codeEduardo Gonzalez1-3/+3
Bandit was not running in all directories due missing -r parameter. Also, this change fix bandit errors. * Add nosec to subprocess module * Change /tmp/releases to .releases * Change /tmp/ to tmp/, tmp/ is not checked and in unittest is not an issue, simpler that mocking tempfile and make more complex tests. Change-Id: I42bafa4707a9a4d1faeb01cb9b5a843f56280deb
2017-05-20Get OpenStack service versions from openstack/releases repoJeffrey Zhang1-109/+124
In old implementation, version-check always get the latest versions rather than versions for certain release. it is useless for stable branch. And it parses from tarballs.openstack.org site, which is very slow. In this new implementation, version-check gets versions from openstack/releases repo, which is faster and accurate. It also support get versions for certain OpenStack release. For example, get the Ocata latest release version. ./verion-check.py --openstack-release ocata Closes-Bug: #1554337 Change-Id: Ie8951625817d82f38cf820cf9bd44ae447e2eb75
2016-10-14Consistently set sys path when using local toolsMartin André1-4/+3
Consistently set the search path to prefer PROJECT_ROOT as the source of packages to import if we are using local tools instead of pip installed kolla tools. TrivialFix Change-Id: Idd1d98bb82a8f1ddb32d1bdb23f346b461534b9f
2016-09-12Clean imports in codeNguyen Hung Phuong1-5/+5
In some part in the code we import objects. In the Openstack style guidelines they recommend to import only modules. http://docs.openstack.org/developer/hacking/#imports Change-Id: I4b55cae8c2672f82025a95112b14d441d66f9d6d
2016-09-06Improve script to check used source versionsChristian Berendt1-0/+161
* rename version_check.py to version-check.py * move requirement beautifulsoup4 from requirements to test-requirements * add new requirement PrettyTable to test-requirements * add debug logging messages (can be enabled with --debug parameter) * add support to load configured versions from a kolla-build.conf file (can be used with --config-file parameter) * use PrettyTable to print out a nice result table ---snip--- +---------+-----------------+----------------+------------------... | Project | Current version | Latest version | Comparing changes... +---------+-----------------+----------------+------------------... | aodh | 2.0.3 | 2.0.4 | https://github.co... | cinder | 8.0.0 | 8.1.0 | https://github.co... | ironic | 5.1.1 | 5.1.2 | https://github.co... | murano | 2.0.0 | 2.0.1 | https://github.co... | nova | 13.1.0 | 13.1.1 | https://github.co... +---------+-----------------+----------------+------------------... ---snap--- TrivialFix Change-Id: I5b5d3db34396b2fc95714273612563ea14e78cf8