Make entry autoban opt-in, bound PPTX unpacking, unify skin DB path, prune deploy examples
This commit is contained in:
+5
-10
@@ -3,7 +3,7 @@
|
||||
Спасибо, что зашли. Проект в бете, мейнтейнер один, времени мало — поэтому правила
|
||||
простые и направлены на то, чтобы ваш PR можно было проверить быстро.
|
||||
|
||||
**Все PR ревьюит владелец проекта (@your-handle).** Мержится только то, что прошло ревью.
|
||||
**Все PR ревьюит владелец проекта.** Мержится только то, что прошло ревью.
|
||||
|
||||
## С чего начать
|
||||
|
||||
@@ -72,16 +72,11 @@ Issues и PR можно писать по-русски или по-англий
|
||||
|
||||
## Вопросы
|
||||
|
||||
Общие вопросы и идеи — в чат проекта. Личные — @your-handle в Telegram.
|
||||
Общие вопросы и идеи — в чат проекта. Личные — владельцу репозитория (`reform`) на git.reformboss.com.
|
||||
Уязвимости — только приватно, см. [SECURITY.md](SECURITY.md).
|
||||
|
||||
## Windows checkout note
|
||||
|
||||
`bot/grok_bot.py` is a **symlink** to `bot/iishko_bot.py` (git mode `120000`) — production runs with that name, and internal code does `import grok_bot as g`.
|
||||
|
||||
On Windows git cannot create symlinks by default (`core.symlinks=false`), so the file is checked out as a **plain text file containing the target name**. `git status` stays clean, but the bot will not run from a Windows checkout without either:
|
||||
|
||||
- enabling symlinks: `git config core.symlinks true` + re-clone with Developer Mode / admin, or
|
||||
- copying the real module: `cp bot/iishko_bot.py bot/grok_bot.py` (do **not** commit the result).
|
||||
|
||||
Deploy to Linux: `rsync` preserves the symlink; `tar` and `git clone`/`git bundle` restore it correctly.
|
||||
`bot/grok_bot.py` — единственная реализация, обычный файл; `bot/iishko_bot.py` — тонкий
|
||||
лаунчер для совместимости (см. README). Никаких symlink и копирований не нужно —
|
||||
**не копируйте** `iishko_bot.py` поверх `grok_bot.py`: это затрёт реализацию.
|
||||
|
||||
Reference in New Issue
Block a user