haraka 0.2.18__tar.gz → 0.2.20__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.
Files changed (39) hide show
  1. {haraka-0.2.18 → haraka-0.2.20}/PKG-INFO +1 -1
  2. {haraka-0.2.18 → haraka-0.2.20}/haraka/post_gen/runner.py +3 -3
  3. {haraka-0.2.18/haraka/post_gen/service → haraka-0.2.20/haraka/post_gen/service/fileOps}/files.py +0 -2
  4. {haraka-0.2.18/haraka/post_gen/service → haraka-0.2.20/haraka/post_gen/service/fileOps}/purge.py +2 -4
  5. {haraka-0.2.18/haraka/post_gen/service → haraka-0.2.20/haraka/post_gen/service/git}/gitops.py +1 -1
  6. haraka-0.2.20/haraka/utils/common/__init__.py +0 -0
  7. haraka-0.2.20/haraka/utils/logging/__init__.py +0 -0
  8. haraka-0.2.20/haraka/utils/manifests/go-grpc-gateway-buf.yml +0 -0
  9. {haraka-0.2.18 → haraka-0.2.20}/haraka/utils/manifests/go-grpc-protoc.yml +2 -2
  10. {haraka-0.2.18 → haraka-0.2.20}/haraka/utils/manifests/java-springboot.yml +5 -0
  11. {haraka-0.2.18 → haraka-0.2.20}/haraka/utils/manifests/python-fastapi.yml +3 -0
  12. {haraka-0.2.18 → haraka-0.2.20}/haraka.egg-info/PKG-INFO +1 -1
  13. {haraka-0.2.18 → haraka-0.2.20}/haraka.egg-info/SOURCES.txt +7 -4
  14. {haraka-0.2.18 → haraka-0.2.20}/pyproject.toml +1 -1
  15. {haraka-0.2.18 → haraka-0.2.20}/MANIFEST.in +0 -0
  16. {haraka-0.2.18 → haraka-0.2.20}/haraka/__init__.py +0 -0
  17. {haraka-0.2.18 → haraka-0.2.20}/haraka/art/__init__.py +0 -0
  18. {haraka-0.2.18 → haraka-0.2.20}/haraka/art/ascii/__init__.py +0 -0
  19. {haraka-0.2.18 → haraka-0.2.20}/haraka/art/ascii/assets.py +0 -0
  20. {haraka-0.2.18 → haraka-0.2.20}/haraka/art/ascii/frame/__init__.py +0 -0
  21. {haraka-0.2.18 → haraka-0.2.20}/haraka/art/ascii/frame/border.py +0 -0
  22. {haraka-0.2.18 → haraka-0.2.20}/haraka/art/ascii/frame/framer.py +0 -0
  23. {haraka-0.2.18 → haraka-0.2.20}/haraka/art/ascii/frame/width_utils.py +0 -0
  24. {haraka-0.2.18 → haraka-0.2.20}/haraka/art/create.py +0 -0
  25. {haraka-0.2.18 → haraka-0.2.20}/haraka/post_gen/__init__.py +0 -0
  26. {haraka-0.2.18 → haraka-0.2.20}/haraka/post_gen/config/__init__.py +0 -0
  27. {haraka-0.2.18 → haraka-0.2.20}/haraka/post_gen/config/config.py +0 -0
  28. {haraka-0.2.18/haraka/post_gen/service → haraka-0.2.20/haraka/post_gen/resources}/__init__.py +0 -0
  29. {haraka-0.2.18/haraka/post_gen/service → haraka-0.2.20/haraka/post_gen/resources}/assets.py +0 -0
  30. {haraka-0.2.18/haraka/utils/common → haraka-0.2.20/haraka/post_gen/service}/__init__.py +0 -0
  31. {haraka-0.2.18 → haraka-0.2.20}/haraka/post_gen/service/command.py +0 -0
  32. {haraka-0.2.18/haraka/utils/logging → haraka-0.2.20/haraka/post_gen/service/fileOps}/__init__.py +0 -0
  33. /haraka-0.2.18/haraka/utils/manifests/go-grpc-gateway-buf.yml → /haraka-0.2.20/haraka/post_gen/service/git/__init__.py +0 -0
  34. {haraka-0.2.18 → haraka-0.2.20}/haraka/utils/__init__.py +0 -0
  35. {haraka-0.2.18 → haraka-0.2.20}/haraka/utils/common/utils.py +0 -0
  36. {haraka-0.2.18 → haraka-0.2.20}/haraka/utils/logging/log_util.py +0 -0
  37. {haraka-0.2.18 → haraka-0.2.20}/haraka.egg-info/dependency_links.txt +0 -0
  38. {haraka-0.2.18 → haraka-0.2.20}/haraka.egg-info/top_level.txt +0 -0
  39. {haraka-0.2.18 → haraka-0.2.20}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haraka
3
- Version: 0.2.18
3
+ Version: 0.2.20
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
@@ -3,9 +3,9 @@ from haraka.art.ascii.assets import *
3
3
  from .config import PostGenConfig
4
4
  from haraka.utils import divider, Logger
5
5
  from haraka.post_gen.service.command import CommandRunner
6
- from haraka.post_gen.service.files import FileOps
7
- from haraka.post_gen.service.purge import ResourcePurger
8
- from haraka.post_gen.service.gitops import GitOps
6
+ from haraka.post_gen.service.fileOps.files import FileOps
7
+ from haraka.post_gen.service.fileOps.purge import ResourcePurger
8
+ from haraka.post_gen.service.git.gitops import GitOps
9
9
 
10
10
 
11
11
  def main(cfg: PostGenConfig) -> None:
@@ -47,14 +47,12 @@ class FileOps:
47
47
  self.logger.warn(f"Could not remove directory {self._relpath(path)}: {e}")
48
48
 
49
49
  def print_tree(self, path: Path, prefix: str = "") -> None:
50
- self.logger.debug(f"Printing directory tree starting at: {self._relpath(path)}")
51
50
 
52
51
  if not path.exists():
53
52
  self.logger.debug(f"Path {self._relpath(path)} does not exist")
54
53
  self.logger.warn(f"Path does not exist: {path}")
55
54
  return
56
55
  entries = sorted(path.iterdir(), key=lambda p: (p.is_file(), p.name.lower()))
57
- self.logger.debug(f"Found {len(entries)} entries in directory {self._relpath(path)}")
58
56
  for i, entry in enumerate(entries):
59
57
  branch = "└── " if i == len(entries) - 1 else "├── "
60
58
  print(prefix + branch + entry.name)
@@ -21,14 +21,12 @@ Requires: pip install pathspec PyYAML
21
21
  from __future__ import annotations
22
22
 
23
23
  from pathlib import Path
24
- from typing import Iterable
25
24
 
26
- import yaml
27
25
  from pathspec import PathSpec
28
26
 
29
- from .files import FileOps
27
+ from haraka.post_gen.service.fileOps.files import FileOps
30
28
  from haraka.utils import Logger, divider
31
- from ..config import config
29
+ from haraka.post_gen.config import config
32
30
 
33
31
  _MANIFEST_DIR = Path(__file__).resolve().parent.parent.parent / "manifests"
34
32
 
@@ -1,7 +1,7 @@
1
1
  import shutil
2
2
  import sys
3
3
  from pathlib import Path
4
- from .command import CommandRunner
4
+ from haraka.post_gen.service.command import CommandRunner
5
5
  import subprocess
6
6
  from haraka.utils import Logger
7
7
 
File without changes
File without changes
@@ -6,8 +6,8 @@ keep:
6
6
  - cmd/**
7
7
  - internal/
8
8
  - internal/**
9
- - pkg/proto/
10
- - pkg/proto/**
9
+ - pkg/
10
+ - pkg/**
11
11
  - configs/
12
12
  - configs/**
13
13
  - go.mod
@@ -2,12 +2,16 @@ variant: java-springboot
2
2
 
3
3
  keep:
4
4
  # ── application source ────────────────────────────
5
+ - src/
6
+ - src/main/
5
7
  - src/main/java/
6
8
  - src/main/java/**
7
9
  - src/main/resources/
8
10
  - src/main/resources/**
9
11
 
10
12
  # ── tests ─────────────────────────────────────────
13
+ - src/
14
+ - src/test/
11
15
  - src/test/java/
12
16
  - src/test/java/**
13
17
 
@@ -18,6 +22,7 @@ keep:
18
22
  - README.md
19
23
 
20
24
  # ── IDE / run configs ─────────────────────────────
25
+ - runConfigurations/
21
26
  - runConfigurations/SpringBoot/
22
27
  - runConfigurations/SpringBoot/**
23
28
 
@@ -2,6 +2,7 @@ variant: python-fastapi
2
2
 
3
3
  keep:
4
4
  # ── application source ─────────────────────────────
5
+ - src/
5
6
  - src/app/
6
7
  - src/app/**
7
8
 
@@ -17,6 +18,8 @@ keep:
17
18
  - README.md
18
19
 
19
20
  # ── IDE / run configs ──────────────────────────────
21
+ - runConfigurations/
22
+ - runConfigurations/Python/
20
23
  - runConfigurations/Python/FastAPI.run.xml
21
24
 
22
25
  # ── deployment & infra (shared) ────────────────────
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haraka
3
- Version: 0.2.18
3
+ Version: 0.2.20
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,12 +17,15 @@ haraka/post_gen/__init__.py
17
17
  haraka/post_gen/runner.py
18
18
  haraka/post_gen/config/__init__.py
19
19
  haraka/post_gen/config/config.py
20
+ haraka/post_gen/resources/__init__.py
21
+ haraka/post_gen/resources/assets.py
20
22
  haraka/post_gen/service/__init__.py
21
- haraka/post_gen/service/assets.py
22
23
  haraka/post_gen/service/command.py
23
- haraka/post_gen/service/files.py
24
- haraka/post_gen/service/gitops.py
25
- haraka/post_gen/service/purge.py
24
+ haraka/post_gen/service/fileOps/__init__.py
25
+ haraka/post_gen/service/fileOps/files.py
26
+ haraka/post_gen/service/fileOps/purge.py
27
+ haraka/post_gen/service/git/__init__.py
28
+ haraka/post_gen/service/git/gitops.py
26
29
  haraka/utils/__init__.py
27
30
  haraka/utils/common/__init__.py
28
31
  haraka/utils/common/utils.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "haraka"
7
- version = "0.2.18"
7
+ version = "0.2.20"
8
8
  description = "Reusable post-generation helper for Cookiecutter micro-service templates"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
File without changes
File without changes
File without changes
File without changes
File without changes