feat: update depot version to 0.13.2 and clean up logging in installation commands
This commit is contained in:
Generated
+1
-1
@@ -418,7 +418,7 @@ checksum = "807800ff3288b621186fe0a8f3392c4652068257302709c24efd918c3dffcdc2"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "depot"
|
name = "depot"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"ar",
|
"ar",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "depot"
|
name = "depot"
|
||||||
version = "0.13.1"
|
version = "0.13.2"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
|
||||||
[lints.rust]
|
[lints.rust]
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
project(
|
project(
|
||||||
'depot',
|
'depot',
|
||||||
version: '0.13.1',
|
version: '0.13.2',
|
||||||
meson_version: '>=0.60.0',
|
meson_version: '>=0.60.0',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
+6
-13
@@ -2712,20 +2712,12 @@ fn run_direct_archive_install_requests(
|
|||||||
"Installing package from: {}",
|
"Installing package from: {}",
|
||||||
archive_path.display()
|
archive_path.display()
|
||||||
));
|
));
|
||||||
ui::info(format!(
|
|
||||||
"Detected package archive: {}",
|
|
||||||
archive_path.display()
|
|
||||||
));
|
|
||||||
|
|
||||||
let (pkg_spec, staging_dir) = load_package_archive_into_staging(config, archive_path)?;
|
let (pkg_spec, staging_dir) = load_package_archive_into_staging(config, archive_path)?;
|
||||||
if options.lib32_only {
|
if options.lib32_only {
|
||||||
anyhow::bail!("--lib32-only is only supported when installing from a package spec");
|
anyhow::bail!("--lib32-only is only supported when installing from a package spec");
|
||||||
}
|
}
|
||||||
|
|
||||||
ui::info(format!(
|
|
||||||
"Package: {} v{}-{}",
|
|
||||||
pkg_spec.package.name, pkg_spec.package.version, pkg_spec.package.revision
|
|
||||||
));
|
|
||||||
install_targets.push(format!(
|
install_targets.push(format!(
|
||||||
"{} v{}-{}",
|
"{} v{}-{}",
|
||||||
pkg_spec.package.name, pkg_spec.package.version, pkg_spec.package.revision
|
pkg_spec.package.name, pkg_spec.package.version, pkg_spec.package.revision
|
||||||
@@ -2853,7 +2845,6 @@ fn run_direct_install_request(
|
|||||||
let (mut pkg_spec, staging_dir): (package::PackageSpec, Option<tempfile::TempDir>) =
|
let (mut pkg_spec, staging_dir): (package::PackageSpec, Option<tempfile::TempDir>) =
|
||||||
if spec_path.to_string_lossy().ends_with(".tar.zst") {
|
if spec_path.to_string_lossy().ends_with(".tar.zst") {
|
||||||
// Install from archive
|
// Install from archive
|
||||||
ui::info(format!("Detected package archive: {}", spec_path.display()));
|
|
||||||
let (spec, tmp_dir) = load_package_archive_into_staging(config, &spec_path)?;
|
let (spec, tmp_dir) = load_package_archive_into_staging(config, &spec_path)?;
|
||||||
(spec, Some(tmp_dir))
|
(spec, Some(tmp_dir))
|
||||||
} else {
|
} else {
|
||||||
@@ -2867,10 +2858,12 @@ fn run_direct_install_request(
|
|||||||
anyhow::bail!("--lib32-only is only supported when installing from a package spec");
|
anyhow::bail!("--lib32-only is only supported when installing from a package spec");
|
||||||
}
|
}
|
||||||
|
|
||||||
ui::info(format!(
|
if staging_dir.is_none() {
|
||||||
"Package: {} v{}-{}",
|
ui::info(format!(
|
||||||
pkg_spec.package.name, pkg_spec.package.version, pkg_spec.package.revision
|
"Package: {} v{}-{}",
|
||||||
));
|
pkg_spec.package.name, pkg_spec.package.version, pkg_spec.package.revision
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
if options.dry_run {
|
if options.dry_run {
|
||||||
ui::info("Dry run enabled, stopping before install/build work.");
|
ui::info("Dry run enabled, stopping before install/build work.");
|
||||||
|
|||||||
Reference in New Issue
Block a user