pull: don't fetch orig tarball for native packages
All checks were successful
CI / build (push) Successful in 1m51s

This commit is contained in:
2025-12-16 18:05:59 +01:00
parent 1d65d1ce31
commit 06ab5eaf98
2 changed files with 28 additions and 4 deletions

View File

@@ -406,10 +406,14 @@ pub async fn pull(
Some(&package_dir),
progress,
)?;
if let Some(cb) = progress {
cb("Fetching orig tarball...", "", 0, 0);
if !package_info.is_native() {
if let Some(cb) = progress {
cb("Fetching orig tarball...", "", 0, 0);
}
fetch_orig_tarball(&package_info, Some(&package_dir), progress).await?;
} else {
debug!("Native package, skipping orig tarball fetch.");
}
fetch_orig_tarball(&package_info, Some(&package_dir), progress).await?;
} else {
// Fallback to archive fetching
if let Some(cb) = progress {