Rename project to signal-cal-bot
- package src/signal-cal-bot -> src/signal_cal_bot - distribution and CLI entry point: signal-cal-bot - env vars CALBOT_* -> SIGNAL_CAL_BOT_* - database file, container names, user agents and logs renamed - docs and compose updated
This commit is contained in:
@@ -13,7 +13,7 @@ Read `README.md` for the user-facing behaviour and setup.
|
||||
## Layout
|
||||
|
||||
```
|
||||
src/calbot/
|
||||
src/signal_cal_bot/
|
||||
config.py TOML loading, defaults, duration/time parsers
|
||||
feed.py conditional GET; validators committed only after parse
|
||||
expand.py iCalendar -> Event; series-ID heuristics; recurrence expansion
|
||||
@@ -34,9 +34,9 @@ python -m venv .venv && . .venv/bin/activate
|
||||
pip install -e '.[dev]'
|
||||
|
||||
pytest # must pass, no network
|
||||
calbot --config config.toml --dump # render the feed without sending
|
||||
calbot --config config.toml --check # config + Signal account check
|
||||
calbot --config config.toml --once # one tick
|
||||
signal-cal-bot --config config.toml --dump # render the feed without sending
|
||||
signal-cal-bot --config config.toml --check # config + Signal account check
|
||||
signal-cal-bot --config config.toml --once # one tick
|
||||
```
|
||||
|
||||
`--dump` uses a throwaway database and never sends; keep it that way.
|
||||
@@ -97,7 +97,7 @@ calbot --config config.toml --once # one tick
|
||||
default, parse it in `load_config`, document it in `config.example.toml` and
|
||||
the README table.
|
||||
- **Schema change**: append to `SCHEMA` in `store.py`. There is no migration
|
||||
framework; deleting `data/calbot.sqlite3` re-seeds silently.
|
||||
framework; deleting `data/signal-cal-bot.sqlite3` re-seeds silently.
|
||||
|
||||
## Before you finish
|
||||
|
||||
|
||||
Reference in New Issue
Block a user