Commit Graph

16 Commits

Author SHA1 Message Date
Jeremy Stanley bd2797d5da Fix tox.ini for Tox v4
A variety of cleanups and configuration updates necessitated by tox
v4, but which should be compatible with v3.

Change-Id: I6bf01a77555738c91c466eff303e8f2ff6967f63
2023-01-12 14:44:28 +00:00
Ian Wienand 48dd7ab00f Create irc-meetings-ical-tox-publish job
This is in preparation for making this output a static site on AFS.
Put the output in the expected location for the publish jobs, make a
symlink to the old location.

Change-Id: I73ff15231a6a3b2d86eeff0ee4e90dbf77ed9e2e
2021-06-02 11:18:38 +10:00
Thierry Carrez 6e50a8496f Use python3 to run pep8 job
The pep8 job runs additional python commands,
it should run those under python3 too.

Change-Id: I635f5c193913df6f252050747744c3af62caf403
2018-11-07 18:23:09 +01:00
Doug Hellmann 12321a384c use python 3 to build the site
Change-Id: Ieecae1c8239ff4a71fed42249d34b5804b9c24d8
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-11-02 14:00:06 -04:00
Andreas Jaeger 837d0927d9 Move irc meetings tox job in-tree
Create a Zuul v3 native ical tox job to allow removing the legacy ical
job.

This failed initially pep8 tools/check_chair.py since the .zuul.yaml
file was parsed as well. Update invocation in tox.ini so that only the
meetings directory is checked.

Needed-By: Ida25d6b612474b9e42e16cf00bc3059c421796ef
Change-Id: I48f00531687bb8488283b964ee64fa4c5706bc0e
2017-12-19 07:23:32 +01:00
Tony Breeds ecf5f08660 Remove the check target
Move checking channels from the check target into pep8.  The general
idea is that pep8 will be for style and linting type checks and ical
will be for generating iCal files and HTML.

Change-Id: I14648e39132369d4d4c865ca835a020f62a5c978
Depends-On: I7ddfa03606aa750308e2e8c6b9c77e9f226bead1
2016-07-27 22:32:29 +00: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
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 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
John L. Villalovos ee794f5dff Change name of calendar dir to 'calendars'
On eavesdrop.openstack.org there already exists a directory 'meetings'.
Use the directory name 'calendars' to store the iCal files

Change-Id: I02825ae443041e1b765c72b55b97caf57f9c33ed
2015-06-18 06:16:47 -07:00
John L. Villalovos 0d1a82cd90 Create individual ICS files and add to webpage
For people who don't want to import every OpenStack meeting, allow them
to import individual ICS meeting files as needed.

 * Generate individual ICS meeting files for each meeting
 * Update the template to provide a link for each ICS meeting file

Change-Id: Ie8847482d2b9df95b684ce4f743aecf2dc7a7021
2015-06-17 08:58:05 -07:00
Dave Walker (Daviey) c3d5f42cfc Set Calendar Name and Description on ical
The latest version of yaml2ical adds support for adding name and
description to ical output.  This change adds these options to
the tox task.

This also bumps required version of yaml2ical to >=0.5.0 (which
is yet to be released).

Change-Id: I6c97ca1deba8ab0437e1e17dcf897ad6b6617835
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2015-06-13 17:23:13 +00:00
Christian Berendt 8cfa2a01be Whitelist mkdir as external in the tox.ini file
This will avoid the following warning message when running tox -e ical:

WARNING:test command found but not installed in testenv
  cmd: /usr/bin/mkdir
  env: .../irc-meetings/.tox/ical
Maybe forgot to specify a dependency?

Change-Id: I1e709b93337f71d369e0bcc9e37df196b1580232
2015-05-27 17:08:27 +02:00
James E. Blair 39e3e0f855 In tox, write output to subdir
Write the index and ical files to a subdir with their 'correct'
names so that it is easier for the publish job to work.  It will
also be easier for developers to examine the output locally.

Change-Id: I810438e95791e1614f7ad10bb0419dea89f3893e
Depends-On: Ic188c1849559a9c8f282845940f56cf533b9bfd6
2015-05-26 10:28:01 -07:00
Thierry Carrez bd370dbb56 Generate index file in the ical tox target
Add index file generation to the tox "ical" target to generate both the
.ics and the index html file.

Change-Id: Ie8065d78123afa3d86fd66eac219796bb465bdcb
2015-05-22 14:59:28 -07:00
Thierry Carrez f22593a981 Add ical test target to detect errors
Add a tox ical test target that calls yaml2ical to check for conflicts
and syntax issues in the meetings directory. This will be used in check
and gate test jobs for the irc-meetings repository.

Change-Id: I7622cfab01031f780274e5488c333db9588ef888
2015-02-06 11:18:19 +01:00