Commit Graph

19 Commits

Author SHA1 Message Date
Jeremy Stanley 39a82df080 This repository is now retired
The Release Management Team ceased using this months ago. Its
contents are replaced with a retirement notice so that potential
users will realize it is no longer maintained. Publicly announced
at:

http://lists.openstack.org/pipermail/openstack-dev/2018-June/131920.html

Change-Id: Ia30884174c43ef1c1afcc1f4a18b3c0051a89d8e
Depends-On: https://review.openstack.org/579185
2018-06-29 15:27:19 +00:00
Doug Hellmann 2ad5ffcdc9 stub in presentation for rocky ptg
There's no real content here, yet.

Change-Id: I6e52e5169b52ef3fbb684f2935406d63b65f8cbe
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-02-15 15:28:35 -05:00
Doug Hellmann fb3b41c02a make default python for venv python 3
We use the venv tox target as a generic environment for running commands
defined in this repo. Let's redefine the environment to use python 3 by
default.

Change-Id: I0cf5f50b7d36f5ebb61408eefeccb702432464be
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-04-27 11:39:40 -04:00
xhzhf a70e7424e9 H803 hacking have been deprecated
H803 hacking have been removed since hacking 0.10.
https://github.com/openstack-dev/hacking/blob/master/setup.cfg.

Change-Id: I70af0497359bbaa0cc122f6505cb5b000e4e719d
2016-12-21 03:29:10 +08:00
Doug Hellmann 119bd0f229 remove openstack/common reference from flake8
We do not use openstack/common, so we do not need to exclude it from the
flake8 scan.

Change-Id: I8ef732e284336f92b272de5cd28b2824468107eb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-11-01 15:02:38 -04:00
Andreas Jaeger c41e76a055 List system dependencies for running common tests
Add an other-requirements.txt file containing a cross-platform list
of dependencies needed for running included tox-based tests. Also
include a tox environment for convenience calling the bindep[*]
utility to list any missing system requirements.

This change is self-testing.

For other-requirements.txt see also
http://docs.openstack.org/infra/manual/drivers.html#package-requirements

[*] http://docs.openstack.org/infra/bindep/

Change-Id: Ibd031a99fb4f24f98aeba6968046c6e7a91a4430
2016-06-30 08:15:09 +02:00
Andreas Jaeger 46a97a6385 Do not fail with Tox 2.3.1
Latest tox causes failures:
   File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line
1140, in processcommand
       argv = list(shlexer)
     File "/usr/lib/python2.7/shlex.py", line 269, in next
       token = self.get_token()
     File "/usr/lib/python2.7/shlex.py", line 96, in get_token
       raw = self.read_token()
     File "/usr/lib/python2.7/shlex.py", line 172, in read_token
       raise ValueError, "No closing quotation"
   ValueError: No closing quotation

This is caused by a backwards incompatible change in tox:
https://bitbucket.org/hpk42/tox/issues/181

Change-Id: Iad5f7ab9f933920767fad54dc800946b0530d36c
2015-12-23 15:27:35 +01:00
Davanum Srinivas f6fc77ce82 Sync with global requirements
* update test requirements with what's in g-r
* Remove hard-coded dependencies from tox.ini as update-requirements
  does not edit tox.ini
* Remove requirements.txt as it is redundant (sdist already has it)
* Fix up all the issues identified by flake8

Co-Authored-By: Robert Collins <rbtcollins@hp.com>
Change-Id: I0508bd74edda20fbf844e7303c9b44b80ff794ef
2015-09-23 22:20:35 -04:00
Doug Hellmann 57d8279a00 move get_project_for_repo.py into the releasetools package
Rename the command get-repo-owner and move the implementation into the
releasetools package.

Change-Id: Iab542bb847483aa8fd74f0474d4112e4ef95a005
2015-07-23 14:41:59 +00:00
Doug Hellmann 6210a4aa41 move list-repos into the releasetools project
Move the code for listing repositories under the releasetools project.

Change-Id: I51c6917dcc31c03d6d4a5d22987881485059677f
2015-07-16 20:34:50 +00:00
Doug Hellmann 649f7adfc4 Move release_notes.py into releasetools package
Start a new releasetools package and move the release notes generation
script into it, turning it into a more reusable library at the same
time.

Change-Id: I9f1f38cba34fc63d3de4e3bb7eae97e26a72db35
2015-07-16 20:34:50 +00:00
Doug Hellmann b4af6b349c Add option to format release notes for email
Add an option to generate an email message body suitable to be passed to
sendmail or msmtp so it can be sent directly without having to be copied
into another email program.

Change-Id: I166ca5d8f31ddd97d5298ff9f8f5c44037dfe4b7
2015-04-28 09:32:23 -04:00
Matt Riedemann 1460868d81 Add bashate testing
bashate is pep8 for bash scripts. This adds a bashate target to tox.ini
and cleans up any pre-existing issues.

The target was originally copied from devstack and then modified to
remove things that aren't in release-tools.

Change-Id: I2d38c0a17099a687b6ab33737c513be839118ff0
2015-03-02 08:04:15 -08:00
Doug Hellmann dc1d737866 Ignore release-tag dirs when running flake8
If there are temporary files left from previously run jobs, flake8
breaks on them. Ignore those directories.

Change-Id: I54330d72fd1c1d6449744ad9be598bb7fbcbe14b
2015-01-29 11:30:05 -05:00
Doug Hellmann 14b8759076 Enable pep8 checks
Update tox.ini to run flake8 for the pep8 environment, and fix the
python source files in the repository that need to be updated to pass
the tests.

Change-Id: Ib3a1d252de9a7f78705f200a1bdfe51c6b91af19
2015-01-16 12:15:31 -05:00
Doug Hellmann c3ea9bb9f2 Add sanity check script for new version tags
Add a script to catch a few common errors in new version numbers to give
the user a chance to avoid them. Set up tox and testr to support tests
for the new script.

Change-Id: I2a48f3de3886821611f370e04c9be13ada67edbf
2015-01-16 12:15:30 -05:00
Jeremy Stanley 58157a3eab Remove tox locale overrides
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.

Change-Id: I7ddc6e4dfb0e8fbe2885e3b146540580f71ffc3c
Closes-Bug: #1277495
2014-02-10 03:02:49 +00:00
Sergey Lukjanov 55b1fe6043 Fix requirements installation for pip>=1.5
Allow external and insecure for lazr.authentication that's published at
launchpad.

Change-Id: I921909bed3af82e796d0544d51fcfa54030c8698
2014-01-28 14:47:40 +04:00
Sergey Lukjanov 90428c5246 Initial setup of python project layout
It's a result of partially applied cookiecutter template for OpenStack
projects. We need it to be able to commit new patches.

Change-Id: Ib980b8924921da3b7e2740ecac05ce8d34c43951
2013-12-10 22:22:50 +04:00