mirror of
https://github.com/rustmailer/bichon.git
synced 2026-08-03 07:48:34 +02:00
update
This commit is contained in:
@@ -43,7 +43,7 @@ async fn run_interactive() {
|
|||||||
|
|
||||||
let main_options = vec![
|
let main_options = vec![
|
||||||
"Reset Admin Password",
|
"Reset Admin Password",
|
||||||
"Migrate Legacy v0.3.7 Storage to v1.0.0",
|
"Migrate Legacy v0.3.7 Storage to v1.0.x",
|
||||||
"Exit",
|
"Exit",
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ use indicatif::{ProgressBar, ProgressStyle};
|
|||||||
pub fn handle_migration(theme: &ColorfulTheme) {
|
pub fn handle_migration(theme: &ColorfulTheme) {
|
||||||
println!(
|
println!(
|
||||||
"\n{}",
|
"\n{}",
|
||||||
style("MIGRATION: Bichon v0.3.7 Storage Architecture → v1.0.0")
|
style("MIGRATION: Bichon v0.3.7 Storage Architecture → v1.0.x")
|
||||||
.bold()
|
.bold()
|
||||||
.yellow()
|
.yellow()
|
||||||
);
|
);
|
||||||
@@ -20,7 +20,7 @@ pub fn handle_migration(theme: &ColorfulTheme) {
|
|||||||
"{}",
|
"{}",
|
||||||
style(
|
style(
|
||||||
"This tool migrates data from the legacy v0.3.7 Tantivy-based storage \
|
"This tool migrates data from the legacy v0.3.7 Tantivy-based storage \
|
||||||
architecture to the new v1.0.0 \
|
architecture to the new v1.0.x \
|
||||||
separated index and Fjall-backed storage format."
|
separated index and Fjall-backed storage format."
|
||||||
)
|
)
|
||||||
.dim()
|
.dim()
|
||||||
@@ -32,7 +32,7 @@ pub fn handle_migration(theme: &ColorfulTheme) {
|
|||||||
"Legacy v0.3.7 architecture:\n\
|
"Legacy v0.3.7 architecture:\n\
|
||||||
• envelope metadata stored in Tantivy\n\
|
• envelope metadata stored in Tantivy\n\
|
||||||
• message data stored in Tantivy\n\n\
|
• message data stored in Tantivy\n\n\
|
||||||
New v1.0.0 architecture:\n\
|
New v1.0.x architecture:\n\
|
||||||
• mail indexes stored in Tantivy\n\
|
• mail indexes stored in Tantivy\n\
|
||||||
• attachment indexes stored in Tantivy\n\
|
• attachment indexes stored in Tantivy\n\
|
||||||
• raw message data stored in Fjall\n\
|
• raw message data stored in Fjall\n\
|
||||||
@@ -172,7 +172,7 @@ pub fn handle_migration(theme: &ColorfulTheme) {
|
|||||||
println!(
|
println!(
|
||||||
"{} {}",
|
"{} {}",
|
||||||
style("✔").green(),
|
style("✔").green(),
|
||||||
style("Legacy v0.x Tantivy-based storage detected. Migration to v1.0 is required.")
|
style("Legacy v0.3.7 Tantivy-based storage detected. Migration to v1.0 is required.")
|
||||||
.yellow()
|
.yellow()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -180,7 +180,7 @@ pub fn handle_migration(theme: &ColorfulTheme) {
|
|||||||
println!(
|
println!(
|
||||||
"{} {}",
|
"{} {}",
|
||||||
style("✔").green(),
|
style("✔").green(),
|
||||||
style("No legacy v0.x storage layout was detected at the specified paths.").green()
|
style("No legacy v0.3.7 storage layout was detected at the specified paths.").green()
|
||||||
);
|
);
|
||||||
|
|
||||||
println!(
|
println!(
|
||||||
|
|||||||
Reference in New Issue
Block a user