Add meeting_id and agenda_url support

If the YAML input file contains meeting_id, link to the eavesdrop logs
for the meeting.

If the YAML input file contains agenda_url, link to the agenda for the
meeting.

Change-Id: I9fa8ddc3366e30aab3b84541d511926cf1871e7d
Depends-On: I7395a92f447aee943da54aa0439dd0c683da176a
This commit is contained in:
Doug Hellmann 2015-05-27 21:48:06 +00:00 committed by Thierry Carrez
parent d444d89d79
commit 5bdf1ea88b
4 changed files with 12 additions and 1 deletions

View File

@ -16,6 +16,9 @@ YAML Meeting File Format
Each meeting consists of:
* ``project``: the name of the project
* ``meeting_id``: the name given to the ``#startmeeting`` meetbot command
* ``agenda_url`` the URL to the page with the agenda for the meeting,
usually in the wiki
* ``schedule``: a list of schedule each consisting of
* ``time``: time string in UTC

View File

@ -44,6 +44,12 @@ in #{{ schedule.irc }}</li>
{% endfor %}
<li>Chair (to contact for more information): {{ meeting.chair }}</li>
<li>{{ meeting.description|urlize }}</li>
{% if meeting.extras.meeting_id %}
<li><a href="http://eavesdrop.openstack.org/meetings/{{meeting.extras.meeting_id}}/">Logs from past meetings</a>
{% endif %}
{% if meeting.extras.agenda_url %}
<li><a href="{{meeting.extras.agenda_url}}/">Agenda</a>
{% endif %}
</ul>
{% endfor %}

View File

@ -1,4 +1,6 @@
project: Oslo Team Meeting
meeting_id: oslo
agenda_url: https://wiki.openstack.org/wiki/Meetings/Oslo
schedule:
- time: '1600'
day: Monday

View File

@ -1 +1 @@
yaml2ical>=0.3.0
yaml2ical>=0.4.0