Commit graph

7 commits

Author SHA1 Message Date
e25ae1c084 chore: DEV-DEPENDENCIES.sh minimal KISS 2026-04-28 16:09:57 -03:00
685c7d6a96 fix: DEV-DEPENDENCIES.sh só instala ferramentas, não configura cargo
- Remove configuração automática do ~/.cargo/config.toml
- O workspace já tem .cargo/config.toml que sobrescreve o global
- Devs só precisam rodar ./DEV-DEPENDENCIES.sh para instalar mold/lld/clang
- Config do projeto (./.cargo/config.toml) é usado automaticamente
2026-04-28 16:08:56 -03:00
abc8a8eaf3 fix: DEV-DEPENDENCIES.sh usa home dinâmico
- Detecta automaticamente o home do usuário atual
- Substitui /home/gbuser hardcoded por $USER_HOME
- Funciona em qualquer máquina (dev local, CI, etc)
2026-04-28 15:51:56 -03:00
f3c3b80822 feat: Adicionar configuração automática do mold/lld no DEV-DEPENDENCIES.sh
- Adiciona função configure_cargo() que cria ~/.cargo/config.toml
- Configura linker clang + lld para linkagem rápida
- Reduz tempo de link em ~30-40%
- Aplica para todas as máquinas de desenvolvimento
2026-04-28 14:57:32 -03:00
c70fbba099 refactor: Remove ooxmlsdk from default build, split document_processor, fix DriveMonitor sync
- Replace docs/sheet/slides with kb-extraction in default features (~4-6min compile time savings, ~300MB less disk)
- Add kb-extraction feature using zip+quick-xml+calamine for lightweight KB extraction
- Split document_processor.rs (829 lines) into mod.rs+types.rs+ooxml_extract.rs+rtf.rs
- Move DOCX/PPTX ZIP-based extraction to document_processor::ooxml_extract (no ooxmlsdk needed)
- Remove dead code: save_docx_preserving(), save_pptx_preserving() (zero callers)
- Fix dep: prefix for optional dependencies in feature definitions
- DriveMonitor: full S3 sync, ETag change detection, KB incremental indexing, config.csv sync
- ConfigManager: real DB reads from bot_configuration table
- 0 warnings, 0 errors on both default and full feature builds
2026-04-21 14:54:41 +00:00
084b508a35 feat: add Rust, sccache, mold to DEV-DEPENDENCIES.sh
- Install Rust via rustup as SUDO_USER (not root)
- Install mold linker via system packages (apt/dnf/pacman)
- Install sccache via cargo install as SUDO_USER
- Set default toolchain to stable on install
- Use run_as_user helper for all cargo/rustup commands
2026-04-21 02:03:36 +00:00
e364b75e9b Cargo optimization. 2026-04-19 12:24:51 +00:00