Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 912 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 912 Bytes

greeter-osm

This script utilizes newesttoosm feed and sends a welcome message to a user.

The status is stored in statusgreeter file, therefore it is safe to call it daily. E.g., in cron.

usage: greeter_osm.py [-h] [-d] [-l logfile] [-n] [-u user]

send OSM welcome message to a user with the first changeset made in a region

optional arguments:
  -h, --help  show this help message and exit
  -d          debug mode
  -l logfile  log to file (implies -d)
  -n          do NOT send the actual message
  -u user     send message to USER

The configuration is stored in greeter-osm.conf.

Ansible

You can install greeter-osm using this Ansible role: https://github.com/osmcz/infra-ansible/tree/main/roles/greeter-osm

License

WTFPL