3 Commits

Author SHA1 Message Date
Joe Gordon
bf8d72ea96 Add tool/framework to automatically validate the tag applications.
Add tools/validate_tags.py framework to automatically validate the usage
of tags in reference/projects.yaml. This is only for tags that can be
enforced pragmatically.

This is not intended for gating purposes, rather to make the process of
updating projects.yaml easier.

Supports both team and repository based tags.

Updated diversity.py to work with validate_tags

Change-Id: Id477bfcfccb4dbf5f03f328273c9487ccc48e054
2015-04-20 08:46:51 -07:00
Joe Gordon
3f3e53e0bd Update diversity.py to use projects.yaml
Also start using a requests session to speed things up.

Change-Id: Ie144995d2510769ffacce20471a35cdfe0c578c8
2015-04-14 21:10:21 -07:00
Russell Bryant
0ebb407899 Add diversity helper script
During the review of the team:diverse-affiliation tag, it was
suggested that it might make sense to keep this script in this repo.
It seems like as good of a place as any to collect things like this
for now.

The script produces the following output:

  <Team> (top commit % | top review % | top core review % | top core reviewer %)
         (top 2 commit % | top 2 review % | top 2 core review % | top 2 core reviewer %)
  Nova               (19.61% | 19.85% | 25.50% | 31.25%)
                     (36.92% | 34.00% | 47.39% | 56.25%)
  Swift              (27.31% | 26.42% | 37.15% | 36.36%)
                     (47.14% | 48.78% | 59.58% | 63.64%)
  Glance             (23.37% | 29.19% | 39.84% | 33.33%)
                     (36.68% | 47.41% | 62.52% | 58.33%)
  Keystone           (42.62% | 29.91% | 46.61% | 37.50%)
                     (54.81% | 41.88% | 64.86% | 56.25%)
  Horizon            (27.97% | 16.94% | 22.53% | 30.77%)
                     (42.59% | 31.51% | 41.70% | 46.15%)
  Neutron            (26.50% | 19.63% | 24.44% | 16.67%)
                     (40.45% | 32.32% | 42.55% | 33.33%)
  Cinder             (11.73% | 11.33% | 16.68% | 20.00%)
                     (21.87% | 22.26% | 30.87% | 30.00%)
  Ceilometer         (52.33% | 31.96% | 63.04% | 50.00%)
                     (65.56% | 63.32% | 79.50% | 70.00%)
  Heat               (33.10% | 33.98% | 38.75% | 27.78%)
                     (52.47% | 54.80% | 66.50% | 55.56%)
  Trove              (35.16% | 38.89% | 47.22% | 42.86%)
                     (57.99% | 66.54% | 79.69% | 71.43%)
  Ironic             (26.79% | 28.23% | 31.09% | 33.33%)
                     (42.35% | 51.86% | 60.67% | 58.33%)
  Oslo               (31.18% | 28.08% | 34.42% | 23.08%)
                     (51.22% | 49.79% | 55.98% | 35.90%)
  Infrastructure     (39.10% | 49.58% | 48.20% | 40.91%)
                     (50.04% | 66.44% | 70.49% | 56.82%)
  Documentation      (19.68% | 26.75% | 35.92% | 19.05%)
                     (32.38% | 44.08% | 51.56% | 33.33%)
  Quality Assurance  (26.90% | 26.17% | 32.39% | 33.33%)
                     (51.74% | 49.02% | 63.46% | 55.56%)
  TripleO            (54.89% | 56.66% | 62.67% | 60.87%)
                     (91.53% | 92.54% | 100.00% | 100.00%)
  Sahara             (52.52% | 58.97% | 60.35% | 57.14%)
                     (72.32% | 92.02% | 100.00% | 100.00%)
  Barbican           (51.09% | 48.49% | 52.67% | 55.56%)
                     (72.90% | 65.06% | 72.98% | 66.67%)
  Manila             (47.77% | 30.60% | 44.93% | 50.00%)
                     (64.95% | 59.10% | 75.52% | 75.00%)
  Zaqar              (48.89% | 67.11% | 77.99% | 66.67%)
                     (80.00% | 86.05% | 100.00% | 100.00%)
  Designate          (56.50% | 64.63% | 65.49% | 60.00%)
                     (80.08% | 97.14% | 100.00% | 100.00%)
  OpenStackClient    (34.50% | 36.22% | 56.21% | 33.33%)
                     (67.25% | 63.78% | 99.32% | 66.67%)
  Murano             (85.14% | 91.99% | 99.33% | 87.50%)
                     (93.24% | 95.15% | 100.00% | 100.00%)
  Magnum             (32.10% | 35.80% | 36.81% | 28.57%)
                     (49.63% | 52.01% | 55.58% | 42.86%)

Change-Id: I59ac99452c9cdadccfb23ee27539343f3319b2dd
2015-04-07 09:27:23 -04:00