Merge branch 'cleanup/errors-deps'
* cleanup/errors-deps: apt/release: type the file-verification and armor errors new: type the scaffold validator errors debian: type the errors of the format primitives deps: add thiserror pull,package_info,ui,cli: report the pull flow via BuildView deps: trim the tokio feature set to the APIs in use deps: drop the lazy_static dependency data,apt/release,distro_info,new: replace lazy_static with LazyLock deps: drop the unused cmd_lib dependency # Conflicts: # src/ui.rs
This commit is contained in:
commit
a9f535bce5
26 files changed
+964
-532
No files matched your search
+13
-5
@@ -1360,11 +1360,19 @@ mod tests {
|
||||
log::debug!("Created temporary directory: {}", cwd.display());
|
||||
|
||||
log::info!("Pulling package {} from {}...", package, series);
|
||||
let package_info =
|
||||
crate::package_info::lookup(package, None, Some(series), "", dist, None, None, None)
|
||||
.await
|
||||
.expect("Cannot lookup package information");
|
||||
crate::pull::pull(&package_info, Some(cwd), None, true)
|
||||
let package_info = crate::package_info::lookup(
|
||||
package,
|
||||
None,
|
||||
Some(series),
|
||||
"",
|
||||
dist,
|
||||
None,
|
||||
None,
|
||||
&crate::report::Quiet,
|
||||
)
|
||||
.await
|
||||
.expect("Cannot lookup package information");
|
||||
crate::pull::pull(&package_info, Some(cwd), &crate::report::Quiet, true)
|
||||
.await
|
||||
.expect("Cannot pull package");
|
||||
log::info!("Successfully pulled package {}", package);
|
||||
|
||||
Reference in new issue
Block a user