Commit Graph

9 Commits

Author SHA1 Message Date
Takashi Kajinami ccb73f3b21 Drop six
... because this tool may not be run with Python 2. This allows us to
reduce additional dependencies.

Change-Id: I21f16361d8678ea5eb10966fde75228dcec8f861
2024-02-19 02:52:10 +09:00
Radosław Piliszek 9128e50225 Fix gate
and a related script.

pydot2 is not maintained and stopped being installable.
pydot is maintained and seems to work the same.

Change-Id: Id248d2349c31b4cb4ad82c2afde10787c75081c7
2021-09-16 15:58:18 +00:00
Hervé Beraud f0dfbb8c0c Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I1d188870ac0b81982af057d7b13b24458cc7da22
2020-05-26 21:49:43 +02:00
Doug Hellmann 96e8407730 add jsonschema validation for project data
This change adds a tool to perform basic JSONSchema validation of the
reference/projects.yaml file.

Change-Id: I28ff94af37d7f4de07c1d282bf3c37c77eeea101
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Co-Authored-by: Zane Bitter <zbitter@redhat.com>
2019-07-31 10:03:31 -04:00
Graham Hayes da276f3850
Change yaml output to use ruamel.yaml
This preserves the whitespace already in use and allows clean
machine output content.

Change-Id: Ic95aedeaaeb23a87984e095a3ec9c0729ffc7048
Signed-off-by: Graham Hayes <gr@ham.ie>
2019-07-08 16:10:50 +01:00
Doug Hellmann bf88100e43 add a script to randomly assign TC members as liaisons
This script reads the TC liaison assignments from the wiki and fills
in the gaps by randomly assigning members to work with teams.

Change-Id: I1d7eaad0e78fd020472fa560f08b5e7bfb9028b5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-09 15:55:24 -04:00
Doug Hellmann 8d38d82b41 show deliverables in the order listed in the projects file
Use an ordered dictionary loader to maintain the order items appear in
the projects file so we can produce them in the same order in the
output.

Change-Id: I96707f96056cc94a34cf9f4b9edfb73f42f7bb27
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-11 16:32:35 -05:00
Swapnil Kulkarni (coolsvap) f87d69c497 Keep py3.X compatibility for urllib
Change-Id: I0bdf317d29cd83ad1ef9aec3b1646e84df2660de
2015-12-23 20:48:17 +05:30
Joshua Harlow bf2127f12d Add a tool that allows visualizing the projects as a graph
This tool, when ran can create diagrams that show what
exactly the big-tent is and/or what the subprojects/deliverables
a project produces are.

For example, here is the way to create a output for ironic
and its deliverables:

$ python tools/universe_dot.py  reference/projects.yaml \
  ironic_universe.dot ironic;

$ neato -Tsvg ironic_universe.dot > ironic_universe.svg

Then view svg as is, or convert to png or other...

This requires pydot2 and pyyaml to be installed to work.

Change-Id: Idcd73f9e678e200d65eda4d1d54f1156fd18853b
2015-11-10 13:13:48 -08:00