haraka 0.2.39__py3-none-any.whl → 0.2.40__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.
- haraka/post_gen/service/fileOps/files.py +4 -4
- haraka/post_gen/service/fileOps/purge.py +2 -2
- haraka/utils/manifests/java-springboot.yml +1 -2
- {haraka-0.2.39.dist-info → haraka-0.2.40.dist-info}/METADATA +1 -1
- {haraka-0.2.39.dist-info → haraka-0.2.40.dist-info}/RECORD +7 -7
- {haraka-0.2.39.dist-info → haraka-0.2.40.dist-info}/WHEEL +0 -0
- {haraka-0.2.39.dist-info → haraka-0.2.40.dist-info}/top_level.txt +0 -0
@@ -21,8 +21,8 @@ class FileOps:
|
|
21
21
|
self.logger.debug(f"Confirmed {self._relpath(path)} is a file")
|
22
22
|
|
23
23
|
path.unlink()
|
24
|
-
self.logger.debug(f"File {self._relpath(path)} successfully unlinked")
|
25
|
-
self.logger.info(f"
|
24
|
+
self.logger.debug(f" 🗑️ File {self._relpath(path)} successfully unlinked")
|
25
|
+
self.logger.info(f" 🗑️ DELETED FILE: {self._relpath(path)}")
|
26
26
|
elif path.is_dir():
|
27
27
|
self.logger.debug(f"{self._relpath(path)} is a directory, not a file. Proceeding to remove it as a directory")
|
28
28
|
|
@@ -40,8 +40,8 @@ class FileOps:
|
|
40
40
|
self.logger.debug(f"Confirmed {self._relpath(path)} exists")
|
41
41
|
try:
|
42
42
|
shutil.rmtree(path, ignore_errors=True)
|
43
|
-
self.logger.debug(f"Directory {self._relpath(path)} successfully removed")
|
44
|
-
self.logger.info(f"
|
43
|
+
self.logger.debug(f" 🗑️ Directory {self._relpath(path)} successfully removed")
|
44
|
+
self.logger.info(f" 🗑️ DELETED DIR: {self._relpath(path)}")
|
45
45
|
except Exception as e:
|
46
46
|
self.logger.error(f"Error occurred while attempting to remove directory {self._relpath(path)}: {e}")
|
47
47
|
self.logger.warn(f"Could not remove directory {self._relpath(path)}: {e}")
|
@@ -155,7 +155,8 @@ class ResourcePurger:
|
|
155
155
|
if not protected_spec.match_file(p):
|
156
156
|
full_path = root / Path(p)
|
157
157
|
self._f.remove_dir(full_path)
|
158
|
-
|
158
|
+
else:
|
159
|
+
self._log.debug(f" 🛡️ PROTECTED DIRECTORY DIR {p}")
|
159
160
|
else:
|
160
161
|
self._log.info(" (none)")
|
161
162
|
self._log.info("-" * 70)
|
@@ -166,7 +167,6 @@ class ResourcePurger:
|
|
166
167
|
for p in sorted(items):
|
167
168
|
full_path = root / Path(p)
|
168
169
|
self._f.remove_file(full_path)
|
169
|
-
self._log.debug(f" 🗑️ DELETED DIR {p}")
|
170
170
|
else:
|
171
171
|
self._log.info(" (none)")
|
172
172
|
self._log.info("-" * 70)
|
@@ -16,8 +16,8 @@ haraka/post_gen/resources/assets.py,sha256=-oz3vlBaVOjeCOO2QHRvOmfyurR1KgihqXqbT
|
|
16
16
|
haraka/post_gen/service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
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
|
-
haraka/post_gen/service/fileOps/files.py,sha256=
|
20
|
-
haraka/post_gen/service/fileOps/purge.py,sha256=
|
19
|
+
haraka/post_gen/service/fileOps/files.py,sha256=qsNftbLoo8HHARBwNSHe6dUVPCoqzgv1SHUOH56gj00,3058
|
20
|
+
haraka/post_gen/service/fileOps/purge.py,sha256=vUX95vYb6JTWJ8r-o3_2QWQyCjCiLf9DOf07UBWucJI,7530
|
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
|
@@ -27,9 +27,9 @@ haraka/utils/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
27
27
|
haraka/utils/logging/log_util.py,sha256=UQq2E24q3brvXqcyGCjfSxxHH48JF_BMg54TKdl1SHk,1049
|
28
28
|
haraka/utils/manifests/go-grpc-gateway-buf.yml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
29
|
haraka/utils/manifests/go-grpc-protoc.yml,sha256=OaQlfW_S_OguhW_UcpBVdqdEtUMlg-SrT4bqLhQrY7Y,936
|
30
|
-
haraka/utils/manifests/java-springboot.yml,sha256=
|
30
|
+
haraka/utils/manifests/java-springboot.yml,sha256=j9WAJCgfm2Hhq2sv-YM1rIHYNYwD7_CnLjcYiov5mVw,948
|
31
31
|
haraka/utils/manifests/python-fastapi.yml,sha256=nhO6S9j_r-S10nM8nuw7PtR247-ePhBXHvaXg74CjWw,922
|
32
|
-
haraka-0.2.
|
33
|
-
haraka-0.2.
|
34
|
-
haraka-0.2.
|
35
|
-
haraka-0.2.
|
32
|
+
haraka-0.2.40.dist-info/METADATA,sha256=WKtak8RAPDBMXSmaTU1PbqrdVS96g2U3zs4N3yafYcg,579
|
33
|
+
haraka-0.2.40.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
34
|
+
haraka-0.2.40.dist-info/top_level.txt,sha256=1khpwypLKWoklVd_CgFiwAfcctVSXRoRPc3BI9lyIXo,7
|
35
|
+
haraka-0.2.40.dist-info/RECORD,,
|
File without changes
|
File without changes
|