Commit Graph

8 Commits

Author SHA1 Message Date
Hervé Beraud fb9efaa018 Make oslo.tools more usable by newcomers
These changes make oslo.tools more user friendly by documenting tools
introducing commands shortcut etc...

Introduced changes:
- add doc and build it with tox
- add tox and shortcut commands
- centralize tools
- launch zuul jobs
- apply pep8
- apply bashate

Change-Id: I0f948c9f507b8c951c5748265699a2f515350ff9
2020-03-30 11:31:52 +02:00
Nguyen Hung Phuong 50135a8017 Replaces yaml.load() with yaml.safe_load()
Yaml.load() return Python object may be dangerous if you receive a YAML
document from an untrusted source such as the Internet. The function
yaml.safe_load() limits this ability to simple Python objects like integers or
lists.

Reference:
https://security.openstack.org/guidelines/dg_avoid-dangerous-input-parsing-libraries.html

Change-Id: Ifc5c911170c6d173c3ab8f387a63d5089c0aac13
2018-02-13 09:29:48 +00:00
ChangBo Guo(gcb) ae65f2ae0a Add list_oslo_projects script
Copy from oslo-incubator and adjust to fit new file format of
governance/reference/projects.yaml

Change-Id: I1ad46885d7ccbad987a2563d7976f7153c6093fc
2017-05-07 07:58:15 +08:00
Doug Hellmann 3996c3aec4 Move tools to release-tools
Move highest_semver.py, list_oslo_projects.py, and
list_unreleased_changes.sh to openstack-infra/release-tools where they
are more reusable.

Change-Id: I5f44d848080db5cd1f3a52d7ae6df5b670bc32f0
2015-04-30 21:10:19 +00:00
Doug Hellmann f93a75f9ea Update release tool for governance change
The YAML file in the governace repo describing repositories changed
names and format, so we need to update this tool.

Change-Id: I32b78ae73754cc5c4adbbc9c57e7a0a5ab71eb39
2015-02-17 18:19:22 -05:00
Brant Knudson e8e86ce471 Change oslo.config to oslo_config
The oslo.config libraries are moving away from oslo-namespaced
packages.

Note that his requires oslo.config>=1.6.0

bp drop-namespace-packages

Change-Id: Ic0d4053875da0628f2359c109f2779d12aadc3eb
2015-01-29 14:13:55 -05:00
Doug Hellmann 48610a25d1 Refactor oslo.conf handling for tool scripts
Move the oslo.conf handling for tool scripts to a module that can be
reused.

Change-Id: I3852a89d246bc368697982667af9d6894b29d5a3
2015-01-16 17:40:51 +00:00
Doug Hellmann fdf09f35ef Script to print a list of the official oslo repos
Add a script to print a list of the official oslo repositories. This can
be used as the basis of other tools that do things to those
repositories.

Change-Id: Iee0b73591b0153961606294a44d8db064478f656
2014-09-25 15:32:39 -04:00