- Add SourceType::Note with extract_note_document() and ParentMetadataCache - Migration 022: composite indexes for notes queries + author_id column - Migration 024: table rebuild adding 'note' to CHECK constraints, defense triggers - Migration 025: backfill existing non-system notes into dirty queue - Add lore notes CLI command with 17 filter options (author, path, resolution, etc.) - Support table/json/jsonl/csv output formats with field selection - Wire note dirty tracking through discussion and MR discussion ingestion - Fix test_migration_024_preserves_existing_data off-by-one (tested wrong migration) - Fix upsert_document_inner returning false for label/path-only changes
15 lines
553 B
Rust
15 lines
553 B
Rust
mod extractor;
|
|
mod regenerator;
|
|
mod truncation;
|
|
|
|
pub use extractor::{
|
|
DocumentData, ParentMetadataCache, SourceType, compute_content_hash, compute_list_hash,
|
|
extract_discussion_document, extract_issue_document, extract_mr_document,
|
|
extract_note_document, extract_note_document_cached,
|
|
};
|
|
pub use regenerator::{RegenerateResult, regenerate_dirty_documents};
|
|
pub use truncation::{
|
|
MAX_DISCUSSION_BYTES, MAX_DOCUMENT_BYTES_HARD, NoteContent, TruncationReason, TruncationResult,
|
|
truncate_discussion, truncate_hard_cap, truncate_utf8,
|
|
};
|