17 Commits

Author SHA1 Message Date
Nguyen Hung Phuong
1134cbcf05 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.

While we're there switch to https for the load so we can be more
confident this is 'correct' data

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

Change-Id: I89adc358f1b3e934788a416b7ef7ea8bfc1a45db
2018-03-08 14:03:36 +11:00
Tony Breeds
abb4fd75c9 Update channel list from project-config
Now that the governance resolution to allow teams to host meetings in
their channels [1] has merged and all defined channels have a meetbot[2]
get the valid channel list from infra's canonical source.

[1] I631e2597bf818c5e4b2f813da14764d2cb55d0ce
[2] I6a8a1cedd8a83e3e856e8df4aba4d0a584912eb0

Change-Id: I09e4fc07c486905a55ef06604b05493532175bf5
2017-09-22 08:31:09 -04:00
Alex Schultz
462a72ea06 Update Puppet OpenStack meeting information
Recently it was decided[0] to drop the recurring meeting and switch to
a more adhoc basis. This change is to update the meeting information
and release the slot in #openstack-meeting-4

[0] http://lists.openstack.org/pipermail/openstack-dev/2017-August/120410.html

Change-Id: Icadb78dbf8cb242716c3d11f8ae236767192c220
2017-08-03 10:07:32 -06:00
Thierry Carrez
d78b182711 Allow meetings to be scheduled in meeting-5
Add #openstack-meeting-5 to the list of channels you
can schedule meetings against.

Add the channel to the count_slot_usage.py script so
that it reports accurate information.

Depends-On: If8b4e31af2eb647f249a578ec7f585cb23fdc559
Change-Id: Ic9b38e99cf434557b7b568f02b12b16e4efc432c
2016-12-09 11:04:51 +01:00
Tony Breeds
a80cd87795 check_chair: Actually fail if there is a problem.
If we encounter a problem rather than printing and exiting actually fail.

This will mean that the pep8 tox environment will also fail.

Change-Id: Ife80bc2761fcb075057a17337d2ab63459be2da4
2016-10-05 00:59:56 +00:00
Tony Breeds
ad479a601c Expand the valid characters in chair names
Since Ken'ichi took over as the QA chair tools/check_chair.py has been
issuing:

qa-team-meeting.yaml
	Ken'ichi Ohmichi (oomichi): Needs Fixing

Which hasn't been failing (see follow-up change).  This review adds ' as
a valid character in a meeting chair's name.

Change-Id: I767370629841cbce9f43385a8ab6a8861feb48ac
2016-09-30 04:57:46 +00:00
Thierry Carrez
6a5154df27 Fix count_slot_usage.py meeting links
Meeting links as printed out by count_slot_usage.py improperly
used format(), resulting in %s leftovers in the output. This
change fixes that.

Change-Id: Id63df83841014474e89655e0f6e75cd0ace3da41
2016-09-06 15:15:53 +02:00
Tony Breeds
e751e92a6d Check chairs are in the 'correct' format as part of pep8
This add a simple tool to verify that the 'chair' in every yaml file
matches the canonical format.

Change-Id: I88b566cb23a5f350b603a1bb16415d335bbbbaed
2016-07-26 13:16:39 -05:00
Jenkins
09c90f6dc3 Merge "Add helper to find full slots" 2016-05-24 13:14:12 +00:00
Tony Breeds
86ec421ed4 Add helper to find full slots
A quick script to read the yaml files and count the used time slots.

Co-Authored-By: John L. Villalovos <john.l.Villalovos@intel.com>
Change-Id: I8a21c26ca1e90f8e45be81ed1fcdca634c0a8593
2016-05-23 17:28:41 -07:00
Jenkins
02be72a4ff Merge "Remove OpenStack Community Office Hours" 2016-05-23 09:21:12 +00:00
Tony Breeds
10cba306fe Remove OpenStack Community Office Hours
In Icdb107601543b120978ee6af3ec11871dfd8af96 Tom suggested this was no
longer needed.

Change-Id: Ia8a387e2eac14dd4dacbf6261f71ac0201ffecf6
2016-05-23 16:54:04 +10:00
John L. Villalovos
ffa7d55448 Setup a tox pep8 check and update test-requirements.txt
Add a tox pep8 check.
Fix PEP8 error in tools/list_ptls.py

Update test-requirements.txt for libraries used.

Change-Id: I179036ebbce555586a711677f45337b364d4847f
2016-05-20 11:04:59 -07:00
Tony Breeds
edaa385369 Remove openstack-neutron-release from acceptable channels list
Having community hours events in the irc-meeting repo has been somewhat
contentious.  Now that the 'Neutron PTL Office Hours' is a thing of the
past we can remove that from the list off acceptable channels.

Change-Id: I70e08ccf7b16a12e8da9e850be400e4df14e3c93
2016-02-10 09:41:28 +11:00
tengqm
97b77b760e Fix broken ptl list tool
The current script is broken due to format changes in projects.yaml from
governance project. We are now explicitly specifying the IRC and email
for each name. This patch fixes it.

Change-Id: I5f7f0d94f91923710b569a344c77bf47006aa99e
2016-01-13 00:09:20 -05:00
Tony Breeds
1eaa535d1e Add check_channels.py and testenv to run it
Create a new tool called check_channels.py that ensures that the irc
channel is one which is capable of running a fully functional MeetBot
*or* one that is an 'office hours' type event that doesn't use MeetBot.

Also create a tox textenv to run it.  Once this is clean we can add a
gate job to run these checks and vote.

Change-Id: I57a725b55fb611214d0f0eec08179aae01c1e49a
2015-11-25 17:28:39 +11:00
Doug Hellmann
bae2f59a58 Add a script for building courtesy ping list for PTLs
The cross-project meeting starts with a courtesy ping for each PTL. Now
that we are adding more projects, it is useful to have a tool to build
the list instead of keeping a static copy somewhere.

Change-Id: If23bf302e912557fbb44b5e68747956308bccf64
2015-06-12 14:24:34 +00:00