A headless open source tool for synchronizing users' name and email between a MySQL database and mailman server. Correct login credentials for the database and mailman server must be provided in a .env file.
Python2 & Python3 compatible.
virtualenv <DIRECTORY> --no-site-packagespython3.x -m venv <DIRECTORY>cd <DIRECTORY> source bin/activate git clone https://github.com/connorjc/listserv-sync.git cd listserv-sync cp phantomjs ../bin cp geckodriver ../bin cp .env.example .envedit .env to store the credentials for the listserv and database
pip install -r requirements.txt| Short | Long | Description |
|---|---|---|
-h | --help | show this help message and exit |
-q | --quiet | suppress output |
-v | --verbose | use the headed firefox browser |
-d | --dryrun | perform a dry run by not changing the listserv |
python2 update_emails.py [-h] [-q] [-v] [-d]python3.x update_emails.py [-h] [-q] [-v] [-d]./update_emails.py [-h] [-q] [-v] [-d]pip freeze > requirements.txt