Commit Graph

6 Commits

Author SHA1 Message Date
Sean McGinnis a63d1c5e12
Add DTSTAMP and UID values to meeting instances
The iCalendar spec expects a meeting vEvent to include a datetime stamp
and a unique ID for each instance. This adds these values to the
generated output.

Minor cleanup also included since I was touching code around them and
noticed little nits.

Change-Id: I4753571850665a2f28a6799b84ead4c31a275cc7
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-06-27 10:30:08 -05:00
Lance Bragstad 02c8a264e7 Fix default paths for meetings and ical dir
Previously, the iCal directory and the meetings directory defaulted
to relative paths. This change defaults those paths to a full path name
for both.

This change also adds the icals directory to the .gitignore of the
project. This way when users generate icals and use the default
settings, they aren't adding icals to the project repository.

Change-Id: If5d62d2c74a7edebc00d58cf210e47c45ec2ea7b
2014-10-03 15:42:22 +00:00
Mathew Odden d376ebbed2 Update .gitignore
Change-Id: I043444e0ab93fe17d14a3824311d89fcc47a7589
2014-05-30 17:18:28 -05:00
Josh Tan ae607eab18 Added schedule conflict checking as gate job
Changes about PEP8 and project meta files were pulled from master into the
branch. The code has since then been cleaned up so it now complies with the
Python PEP8 standard.

A simple bash script for cloning the gerrit-powered-agenda was added. This
script will clone the latest master to a cache folder. Files in the cache
folder will be read and compared against the current changes to check for
scheduling conflicts. If conflicts are found, then the job will fail.

Some more hooks for running these jobs might still be required. They will be
followed after once this part looks all good.

Change-Id:  Ia4ab11a7e54af4d8c058a67b5beb8c4f4e0fea9e
2014-04-21 22:47:27 -05:00
Josh Tan e899edab68 Implemented basic ical conversion. Some hardcoding involved, which will need to be removed.
Improved ical description.

Cleaned up code/yaml.

Use uuid as ical filename.

Remove __pycache__ directory.

Implemented support for multiple events in a single ical file.

Removed hardcoding of event frequency.

Added comment about meeting duration.

Modified yaml files by removing uuid field, renaming 'Period' to 'Schedule', and removing 'UTC' from the time field values. Relocated yaml to meetings/ directory. Also now use pprint.pformat to print agenda. This resulting output isn't very user-friendly, so it should be improved in the future.

updated yaml files and made minor formatting changes

removed libs and edited .gitignore

Removed old yaml files.

Made time a string in yaml.

iCal files now use same filename as YAML files.

Add event times as UTC.

Changed agenda output in iCal description to a YAML dump of the agenda.

updated yaml files some more

When finding yaml files in MeetingJobs.create_meetings(), program now tests whether the filename ends with '.yaml', instead of if it contains '.yaml'. (This avoids the problem of temporary emacs files like '#meeting.yaml#'.)

Added basic logging functionality.

Change-Id: Ib6cbe5b54228595faa42ccdadc6be15ee4c278da
2014-03-10 13:24:39 -05:00
Josh Tan 78a293c5e4 Added skeleton files for different classes. 2014-02-25 11:24:49 -06:00