haraka 0.2.7__py3-none-any.whl → 0.2.8__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.
@@ -13,6 +13,7 @@ class PostGenConfig:
13
13
  author: str
14
14
  description: str
15
15
  project_dir: Path
16
+ create_repo: bool
16
17
 
17
18
 
18
19
  def load_manifest(variant: str) -> list[str]:
haraka/post_gen/runner.py CHANGED
@@ -26,15 +26,18 @@ def main(cfg: PostGenConfig) -> None:
26
26
 
27
27
  divider("1️⃣ / 4️⃣ – Purge template junk")
28
28
  purge.purge(cfg.language, cfg.project_dir)
29
+ logger.info("Skipping git repo creation (steps 2-4)...")
29
30
 
30
- divider("2️⃣ / 4️⃣ – Initialise Git repo")
31
- git.init_repo(cfg.project_dir)
31
+ if cfg.create_repo:
32
32
 
33
- divider("3️⃣ / 4️⃣ – Commit scaffold")
34
- git.stage_commit(cfg.project_dir)
33
+ divider("2️⃣ / 4️⃣ – Initialise Git repo")
34
+ git.init_repo(cfg.project_dir)
35
35
 
36
- divider("4️⃣ / 4️⃣ – Create GitHub repo & push")
37
- git.push_to_github(cfg.project_dir, cfg.author, cfg.project_slug, cfg.description)
36
+ divider("3️⃣ / 4️⃣ – Commit scaffold")
37
+ git.stage_commit(cfg.project_dir)
38
+
39
+ divider("4️⃣ / 4️⃣ – Create GitHub repo & push")
40
+ git.push_to_github(cfg.project_dir, cfg.author, cfg.project_slug, cfg.description)
38
41
 
39
42
  divider("🎉 Project generation complete 🎉")
40
43
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haraka
3
- Version: 0.2.7
3
+ Version: 0.2.8
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
@@ -8,9 +8,9 @@ haraka/art/ascii/frame/border.py,sha256=n7qaLxzzBmf8ewatbe5gN97DO4afZM67bBjpU1Oq
8
8
  haraka/art/ascii/frame/framer.py,sha256=s_-lsb-hGhlH_73q5iTtk8KHW0MSeSHSAvNFVmL1c9A,3951
9
9
  haraka/art/ascii/frame/width_utils.py,sha256=in4AV3gTBBXUX6N01j67Icu9vsHFomybBN8rpL3sQ5s,810
10
10
  haraka/post_gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- haraka/post_gen/runner.py,sha256=a5S3OfOcjv1p5NX5y_XHWRWDENBilsjvbSFayOILj9s,1816
11
+ haraka/post_gen/runner.py,sha256=6daM8f11pyswRlumRO4zxtOm5n3kqTgc69tbD1rz-6o,1926
12
12
  haraka/post_gen/config/__init__.py,sha256=-_XkJ_Dni28yJCMfIceQSiH1wa_hHsZMoBTyvR9Ikbc,62
13
- haraka/post_gen/config/config.py,sha256=-2L_VXRHCioT6nNrCMGYzfJIGrYCjpf33aRhCukJEaM,1253
13
+ haraka/post_gen/config/config.py,sha256=4qUtL8S3ivZLr0_qMwCv8ZxwRV-6dwErIRSD6IR92rI,1275
14
14
  haraka/post_gen/service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  haraka/post_gen/service/assets.py,sha256=UARi1iDczVHoNGm5FpKkSXCk-yvnzyMMtSJM1SxMRSA,6157
16
16
  haraka/post_gen/service/command.py,sha256=5yxPSQmQpzAyPNoLtzxaUz1VWgPnTfD7XlkBUu5rIeI,1672
@@ -22,7 +22,7 @@ haraka/utils/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
22
22
  haraka/utils/common/utils.py,sha256=kMnMXe_hcxGkD0MKGmR1lIwsRND7BaFPRbGN4PwonfM,360
23
23
  haraka/utils/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  haraka/utils/logging/log_util.py,sha256=rl-VnSPns84MPDp7SwArtrO4oPHUPUiRNdkp0NBvxsY,778
25
- haraka-0.2.7.dist-info/METADATA,sha256=3jnqlwSLI-7_43h7Mal44W977NZZWqACzx8EXbx7QV4,578
26
- haraka-0.2.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- haraka-0.2.7.dist-info/top_level.txt,sha256=1khpwypLKWoklVd_CgFiwAfcctVSXRoRPc3BI9lyIXo,7
28
- haraka-0.2.7.dist-info/RECORD,,
25
+ haraka-0.2.8.dist-info/METADATA,sha256=HqUywv1r5vwg-vlCrWyQ5y6dInpThJ7dFJrUFlCm9xU,578
26
+ haraka-0.2.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ haraka-0.2.8.dist-info/top_level.txt,sha256=1khpwypLKWoklVd_CgFiwAfcctVSXRoRPc3BI9lyIXo,7
28
+ haraka-0.2.8.dist-info/RECORD,,
File without changes