6b288bfa49
Replace sac.kalinamall.ru with sac.example.com in public docs/deploy. Remove Push-Mirror and Rewrite-GitHostUrls scripts from repo. Simplify workspace-three-repos.md for GitHub-only workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
51 lines
1.5 KiB
Markdown
51 lines
1.5 KiB
Markdown
# Multi-root workspace: три репозитория
|
|
|
|
Как работать в одном multi-root workspace над **ssh-monitor**, **RDP-login-monitor** и **security-alert-center** одновременно (VS Code или совместимый редактор).
|
|
|
|
---
|
|
|
|
## 1. Расположение репозиториев (пример)
|
|
|
|
| Имя в workspace | Публичный remote |
|
|
|-----------------|------------------|
|
|
| `ssh-monitor` | github.com/PTah/ssh-monitor |
|
|
| `rdp-monitor` | github.com/PTah/RDP-login-monitor |
|
|
| `security-alert-center` | github.com/PTah/security-alert-center |
|
|
|
|
---
|
|
|
|
## 2. Файл workspace
|
|
|
|
```json
|
|
{
|
|
"folders": [
|
|
{ "path": "ssh-monitor", "name": "ssh-monitor" },
|
|
{ "path": "RDP-login-monitor", "name": "rdp-monitor" },
|
|
{ "path": "security-alert-center", "name": "security-alert-center" }
|
|
],
|
|
"settings": {
|
|
"files.eol": "\n"
|
|
}
|
|
}
|
|
```
|
|
|
|
---
|
|
|
|
## 3. Соглашения
|
|
|
|
- Контракт событий: `security-alert-center/schemas/event-schema-v1.json` — **единственный источник истины**.
|
|
- Изменение схемы → обновить ТЗ + версию `schema_version` + оба агента.
|
|
- Коммиты в три репо **раздельные**; связь через теги/версии в README.
|
|
|
|
```bash
|
|
git clone https://github.com/PTah/security-alert-center.git
|
|
git clone https://github.com/PTah/ssh-monitor.git
|
|
git clone https://github.com/PTah/RDP-login-monitor.git
|
|
```
|
|
|
|
---
|
|
|
|
## См. также
|
|
|
|
- [work-plan.md](work-plan.md)
|