generated from fsfe-system-hackers/minimal-docker
EU Activity Reporter
This parses information obtained from parltrack dumps and uses it to generate reports of events/discussions of interest to the FSFE.
It can be configured using the in repo config.toml.
For development, a .env file fulfilling the required arguments is needed. Additionally, one should specify ones email using the --email flag, to avoid spamming mail receivers. The --email flag overrides any emails provided by config.toml.
A command such as bash -c 'source .env && python3 ./eu-activity-reporter.py $SMTP_URL $LDAP_USERNAME $LDAP_PASSWORD $EXTRA_FLAGS'
is a useful way to run the script.
usage: eu-activity-reporter.py [-h] [--cache-dir CACHE_DIR] [--email EMAIL] [--dry-run] [-v] smtp_url username password
Monitor the eu institutions for activities relevant to free software and report on it
positional arguments:
smtp_url url of smtp server
username username to access servers with
password password to access servers with
options:
-h, --help show this help message and exit
--cache-dir CACHE_DIR
Directory to store downloaded parltrack dumps in.
--email EMAIL Override email to send information to. Overwrites config.toml emails value
--dry-run Perform a dry run, not altering anything on the server, but printing messages as though it is.
-v, --verbose Increase verbosity of output
Description
This parses information obtained from https://parltrack.org/ dumps and uses it to generate reports of events/discussions of interest to the FSFE.
Languages
Python
95.3%
Dockerfile
4.7%