Add rebuild tool: scan nginx volumes to reconstruct SQLite index
Walks nginx autoindex JSON recursively, merges replicas across volumes, and bulk-inserts into a fresh database. Also adds reqwest json feature. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
17d5647e16
commit
4f10489b13
4 changed files with 110 additions and 3 deletions
|
|
@ -45,8 +45,7 @@ async fn main() {
|
|||
axum::serve(listener, app).await.unwrap();
|
||||
}
|
||||
Commands::Rebuild => {
|
||||
eprintln!("rebuild not yet implemented");
|
||||
std::process::exit(1);
|
||||
mkv::rebuild::run(&config).await;
|
||||
}
|
||||
Commands::Rebalance { dry_run: _ } => {
|
||||
eprintln!("rebalance not yet implemented");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue