caseywatts / mailman_roster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STC Mailman Roster Sync Tool

This app syncs a roster of STs with a set of mailman lists, based on college and queue.

Usage

CSV

  1. Create a roster.csv file with the columns
  2. Yale Email
  3. Queue
  4. Save roster.csv in the same folder as the script roster.rb

Running the Script

Once you have your data loaded in a properly formatted csv, run:

bundle install
bundle exec ruby roster.rb

Syncing with Mailman

Once the script has run, copy over the files created (command list and studtech-*) to the mailman server.

Example:

  1. scp -r mailman_roster/ csw3@ahi.its.yale.edu:~
  2. ssh ahi@its.yale.edu
  3. Confirm lists: cat mailman_roster/studtech-st-bk
  4. chmod +x mailman_roster/command_list
  5. mailman_roster/command_list

About


Languages

Language:Ruby 100.0%