haraka 0.2.41__tar.gz → 0.2.42__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {haraka-0.2.41 → haraka-0.2.42}/PKG-INFO +1 -1
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/service/fileOps/purge.py +3 -2
- {haraka-0.2.41 → haraka-0.2.42}/haraka.egg-info/PKG-INFO +1 -1
- {haraka-0.2.41 → haraka-0.2.42}/pyproject.toml +1 -1
- {haraka-0.2.41 → haraka-0.2.42}/MANIFEST.in +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/art/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/art/ascii/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/art/ascii/assets.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/art/ascii/frame/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/art/ascii/frame/border.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/art/ascii/frame/framer.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/art/ascii/frame/width_utils.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/art/create.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/config/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/config/config.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/resources/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/resources/assets.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/runner.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/service/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/service/command.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/service/fileOps/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/service/fileOps/files.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/service/gitOps/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/post_gen/service/gitOps/gitops.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/utils/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/utils/common/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/utils/common/utils.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/utils/logging/__init__.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/utils/logging/log_util.py +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/utils/manifests/go-grpc-gateway-buf.yml +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/utils/manifests/go-grpc-protoc.yml +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/utils/manifests/java-springboot.yml +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka/utils/manifests/python-fastapi.yml +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka.egg-info/SOURCES.txt +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka.egg-info/dependency_links.txt +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/haraka.egg-info/top_level.txt +0 -0
- {haraka-0.2.41 → haraka-0.2.42}/setup.cfg +0 -0
@@ -83,7 +83,7 @@ class ResourcePurger:
|
|
83
83
|
|
84
84
|
matched, non_dirs, non_files, _ = self.classify_paths(all_paths, project_dir, spec)
|
85
85
|
|
86
|
-
self._purge_unrelated(project_dir, matched, non_dirs, non_files, protected_spec)
|
86
|
+
self._purge_unrelated(project_dir, matched, non_dirs, non_files, protected_spec, spec)
|
87
87
|
|
88
88
|
self._log.debug(f"Finished purging unrelated paths in project directory: {project_dir}")
|
89
89
|
|
@@ -178,11 +178,12 @@ class ResourcePurger:
|
|
178
178
|
non_matched_dirs: List[str],
|
179
179
|
non_matched_files: List[str],
|
180
180
|
protected_spec: PathSpec,
|
181
|
+
keep_spec: PathSpec,
|
181
182
|
) -> None:
|
182
183
|
"""Human-friendly digest of keep/delete results."""
|
183
184
|
self._log.info("\n" + "=" * 70)
|
184
185
|
self._print_matches("✅ MATCHED (keep)", matched)
|
185
|
-
self._dir_batch_delete("🗂️ NON-MATCHED DIRECTORIES (delete)", non_matched_dirs, root, protected_spec)
|
186
|
+
self._dir_batch_delete("🗂️ NON-MATCHED DIRECTORIES (delete)", non_matched_dirs, root, protected_spec, keep_spec)
|
186
187
|
self._file_batch_delete("📄 NON-MATCHED FILES (delete)", non_matched_files, root)
|
187
188
|
self._log.info("=" * 70)
|
188
189
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|