haraka 0.2.44__tar.gz → 0.2.45__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.44 → haraka-0.2.45}/PKG-INFO +1 -1
  2. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/config/config.py +5 -4
  3. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/runner.py +13 -9
  4. {haraka-0.2.44 → haraka-0.2.45}/haraka/utils/manifests/python-fastapi.yml +4 -2
  5. {haraka-0.2.44 → haraka-0.2.45}/haraka.egg-info/PKG-INFO +1 -1
  6. {haraka-0.2.44 → haraka-0.2.45}/pyproject.toml +1 -1
  7. {haraka-0.2.44 → haraka-0.2.45}/MANIFEST.in +0 -0
  8. {haraka-0.2.44 → haraka-0.2.45}/haraka/__init__.py +0 -0
  9. {haraka-0.2.44 → haraka-0.2.45}/haraka/art/__init__.py +0 -0
  10. {haraka-0.2.44 → haraka-0.2.45}/haraka/art/ascii/__init__.py +0 -0
  11. {haraka-0.2.44 → haraka-0.2.45}/haraka/art/ascii/assets.py +0 -0
  12. {haraka-0.2.44 → haraka-0.2.45}/haraka/art/ascii/frame/__init__.py +0 -0
  13. {haraka-0.2.44 → haraka-0.2.45}/haraka/art/ascii/frame/border.py +0 -0
  14. {haraka-0.2.44 → haraka-0.2.45}/haraka/art/ascii/frame/framer.py +0 -0
  15. {haraka-0.2.44 → haraka-0.2.45}/haraka/art/ascii/frame/width_utils.py +0 -0
  16. {haraka-0.2.44 → haraka-0.2.45}/haraka/art/create.py +0 -0
  17. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/__init__.py +0 -0
  18. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/config/__init__.py +0 -0
  19. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/resources/__init__.py +0 -0
  20. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/resources/assets.py +0 -0
  21. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/service/__init__.py +0 -0
  22. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/service/command.py +0 -0
  23. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/service/fileOps/__init__.py +0 -0
  24. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/service/fileOps/files.py +0 -0
  25. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/service/fileOps/purge.py +0 -0
  26. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/service/gitOps/__init__.py +0 -0
  27. {haraka-0.2.44 → haraka-0.2.45}/haraka/post_gen/service/gitOps/gitops.py +0 -0
  28. {haraka-0.2.44 → haraka-0.2.45}/haraka/utils/__init__.py +0 -0
  29. {haraka-0.2.44 → haraka-0.2.45}/haraka/utils/common/__init__.py +0 -0
  30. {haraka-0.2.44 → haraka-0.2.45}/haraka/utils/common/utils.py +0 -0
  31. {haraka-0.2.44 → haraka-0.2.45}/haraka/utils/logging/__init__.py +0 -0
  32. {haraka-0.2.44 → haraka-0.2.45}/haraka/utils/logging/log_util.py +0 -0
  33. {haraka-0.2.44 → haraka-0.2.45}/haraka/utils/manifests/go-grpc-gateway-buf.yml +0 -0
  34. {haraka-0.2.44 → haraka-0.2.45}/haraka/utils/manifests/go-grpc-protoc.yml +0 -0
  35. {haraka-0.2.44 → haraka-0.2.45}/haraka/utils/manifests/java-springboot.yml +0 -0
  36. {haraka-0.2.44 → haraka-0.2.45}/haraka.egg-info/SOURCES.txt +0 -0
  37. {haraka-0.2.44 → haraka-0.2.45}/haraka.egg-info/dependency_links.txt +0 -0
  38. {haraka-0.2.44 → haraka-0.2.45}/haraka.egg-info/top_level.txt +0 -0
  39. {haraka-0.2.44 → haraka-0.2.45}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haraka
3
- Version: 0.2.44
3
+ Version: 0.2.45
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
@@ -10,12 +10,13 @@ _MANIFEST_DIR = Path(__file__).resolve().parent.parent.parent / "utils" / "manif
10
10
  class PostGenConfig:
11
11
  variant: str
12
12
  project_slug: str
13
- author: str
14
- description: str
13
+ author_gh: str
15
14
  project_dir: Path
16
- create_repo: bool
15
+ description: str
16
+ use_git: bool
17
+ confirm_remote: bool
17
18
  verbose: bool = False
18
- evm: bool = False # Extreme Verbosity Mode - For in depth debugging
19
+ evm: bool = False # Extreme Verbosity Mode - For in depth debugging dev tool
19
20
 
20
21
 
21
22
  def load_manifest(variant: str) -> Tuple[List[str], List[str]]:
@@ -38,10 +38,7 @@ def main(cfg: PostGenConfig) -> None:
38
38
  purge.purge(cfg.variant, cfg.project_dir)
39
39
  logger.debug(f"Purge completed for variant: {cfg.variant} in directory: {cfg.project_dir}")
40
40
 
41
- logger.info("Skipping git repo creation (steps 2-4)...")
42
- logger.debug(f"Configuration for create_repo: {cfg.create_repo}")
43
-
44
- if cfg.create_repo:
41
+ if cfg.use_git:
45
42
 
46
43
  divider("2️⃣ / 4️⃣ – Initialise Git repo")
47
44
  logger.debug("Starting Git repository initialization")
@@ -55,11 +52,18 @@ def main(cfg: PostGenConfig) -> None:
55
52
  git.stage_commit(cfg.project_dir)
56
53
  logger.debug(f"Initial commit completed in directory: {cfg.project_dir}")
57
54
 
58
- divider("4️⃣ / 4️⃣ – Create GitHub repo & push")
59
- logger.debug("Starting GitHub repository creation and push")
60
-
61
- git.push_to_github(cfg.project_dir, cfg.author, cfg.project_slug, cfg.description)
62
- logger.debug(f"Pushed to GitHub: Author: {cfg.author}, Slug: {cfg.project_slug}, Description: {cfg.description}")
55
+ if cfg.confirm_remote and cfg.author_gh:
56
+ divider("4️⃣ / 4️⃣ – Create GitHub repo & push")
57
+ logger.debug("Starting GitHub repository creation and push")
58
+
59
+ git.push_to_github(cfg.project_dir, cfg.author_gh, cfg.project_slug, cfg.description)
60
+ logger.debug(f"Pushed to GitHub: Author: {cfg.author_gh}, Slug: {cfg.project_slug}, Description: {cfg.description}")
61
+ else:
62
+ logger.info("Skipping create remote (step 4)...")
63
+ logger.debug(f"Configuration for confirm_remote: {cfg.confirm_remote}")
64
+ else:
65
+ logger.info("Skipping git repo creation (steps 2-4)...")
66
+ logger.debug(f"Configuration for use_git: {cfg.use_git}")
63
67
 
64
68
  divider("🎉 Project generation complete 🎉")
65
69
  logger.debug("Project generation completed")
@@ -2,7 +2,6 @@ variant: python-fastapi
2
2
 
3
3
  keep:
4
4
  # ── application source ─────────────────────────────
5
- - src/
6
5
  - src/app/
7
6
  - src/app/**
8
7
 
@@ -18,7 +17,6 @@ keep:
18
17
  - README.md
19
18
 
20
19
  # ── IDE / run configs ──────────────────────────────
21
- - runConfigurations/
22
20
  - runConfigurations/Python/
23
21
  - runConfigurations/Python/FastAPI.run.xml
24
22
 
@@ -28,3 +26,7 @@ keep:
28
26
  - chart/**
29
27
  - infra/
30
28
  - infra/**
29
+
30
+ protected:
31
+ - src
32
+ - runConfigurations
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haraka
3
- Version: 0.2.44
3
+ Version: 0.2.45
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "haraka"
7
- version = "0.2.44"
7
+ version = "0.2.45"
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