From 633e742528772ceb147e7c680c5aa1fe73e66154 Mon Sep 17 00:00:00 2001 From: Till Wegmueller Date: Sun, 27 Jul 2025 12:26:57 +0200 Subject: [PATCH] Remove backward compatibility logic for root pkg directory manifest copy in `file_backend.rs` --- libips/src/repository/file_backend.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libips/src/repository/file_backend.rs b/libips/src/repository/file_backend.rs index 1d011c6..3b43a79 100644 --- a/libips/src/repository/file_backend.rs +++ b/libips/src/repository/file_backend.rs @@ -492,12 +492,6 @@ impl Transaction { debug!("Copying manifest from {} to {}", manifest_path.display(), pkg_manifest_path.display()); fs::copy(&manifest_path, &pkg_manifest_path)?; - // Also create a copy in the root pkg directory for backward compatibility - // This is temporary and should be removed once all clients are updated - debug!("Also creating a copy in the root pkg directory for backward compatibility"); - let root_manifest_path = self.repo.join("pkg").join("manifest"); - fs::copy(&manifest_path, &root_manifest_path)?; - // Clean up the transaction directory fs::remove_dir_all(self.path)?;