aspiers / aspiers/github-notifications

make constants configurable

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Ruby
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

It would be better if these constants were all configurable via a YAML or `.ini` file:

```
SLEEP_INTERVAL = 5 * 60 # 5 minutes
ONLINE_CHECK_TARGET_HOST = "8.8.8.8"
PING_COUNT = 10
LOG_DIR = ENV['HOME'] + "/.log"
LOG_FILE = LOG_DIR + "/github-notifications.log"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.