haraka 0.2.41__py3-none-any.whl → 0.2.42__py3-none-any.whl

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.
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haraka
3
- Version: 0.2.41
3
+ Version: 0.2.42
4
4
  Summary: Reusable post-generation helper for Cookiecutter micro-service templates
5
5
  Author-email: Will Burks <will@example.com>
6
6
  License: MIT
@@ -17,7 +17,7 @@ haraka/post_gen/service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
17
17
  haraka/post_gen/service/command.py,sha256=yvEzW9rMSXWeQ_2DXuQNtGH6sRuZnK6viMud-amFQXw,2348
18
18
  haraka/post_gen/service/fileOps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  haraka/post_gen/service/fileOps/files.py,sha256=qsNftbLoo8HHARBwNSHe6dUVPCoqzgv1SHUOH56gj00,3058
20
- haraka/post_gen/service/fileOps/purge.py,sha256=OrJqYsF4tMP9lxuV4I9dWDTS-TVPtbqB1ISR9m1R-rk,7575
20
+ haraka/post_gen/service/fileOps/purge.py,sha256=dLwQal1uXgZaayTZkbgBSD-dA3mdz1HEYHaxVCjMD-Y,7625
21
21
  haraka/post_gen/service/gitOps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  haraka/post_gen/service/gitOps/gitops.py,sha256=clWny1m9qB4yr8asba8JwqBjewlMVsJUmIOCLtAL8RI,4052
23
23
  haraka/utils/__init__.py,sha256=3Cp4u0dyAGcmqes-tIr95KFsNsJx5Ji5Yzkto9546Hs,168
@@ -29,7 +29,7 @@ haraka/utils/manifests/go-grpc-gateway-buf.yml,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
29
29
  haraka/utils/manifests/go-grpc-protoc.yml,sha256=OaQlfW_S_OguhW_UcpBVdqdEtUMlg-SrT4bqLhQrY7Y,936
30
30
  haraka/utils/manifests/java-springboot.yml,sha256=rR9SvbqggfCNER_4iMbrg-oOG1fwCMIiqrDUYg2zT6s,981
31
31
  haraka/utils/manifests/python-fastapi.yml,sha256=nhO6S9j_r-S10nM8nuw7PtR247-ePhBXHvaXg74CjWw,922
32
- haraka-0.2.41.dist-info/METADATA,sha256=sNoW78S3i9ziSafT00BDPTvEm8AiWu0qAgimcKcB5xI,579
33
- haraka-0.2.41.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
34
- haraka-0.2.41.dist-info/top_level.txt,sha256=1khpwypLKWoklVd_CgFiwAfcctVSXRoRPc3BI9lyIXo,7
35
- haraka-0.2.41.dist-info/RECORD,,
32
+ haraka-0.2.42.dist-info/METADATA,sha256=VdOQtgoaTKrtLDowkuse9yU1pYXfZ6SzgLIPDz-_PIs,579
33
+ haraka-0.2.42.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
34
+ haraka-0.2.42.dist-info/top_level.txt,sha256=1khpwypLKWoklVd_CgFiwAfcctVSXRoRPc3BI9lyIXo,7
35
+ haraka-0.2.42.dist-info/RECORD,,