redgit 1.3.2__tar.gz → 1.4.0__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 (84) hide show
  1. {redgit-1.3.2/redgit.egg-info → redgit-1.4.0}/PKG-INFO +2 -2
  2. {redgit-1.3.2 → redgit-1.4.0}/README.md +1 -1
  3. {redgit-1.3.2 → redgit-1.4.0}/pyproject.toml +1 -1
  4. redgit-1.4.0/redgit/__init__.py +1 -0
  5. {redgit-1.3.2 → redgit-1.4.0}/redgit/cli.py +9 -0
  6. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/init.py +28 -1
  7. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/propose.py +658 -365
  8. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/push.py +225 -13
  9. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/scout.py +428 -3
  10. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/config.py +1 -34
  11. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/gitops.py +53 -0
  12. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/propose/commit.py +10 -3
  13. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/propose/display.py +44 -5
  14. {redgit-1.3.2 → redgit-1.4.0}/redgit/integrations/base.py +472 -0
  15. {redgit-1.3.2 → redgit-1.4.0}/redgit/integrations/registry.py +50 -2
  16. redgit-1.4.0/redgit/prompts/commit/multi_task.md +77 -0
  17. redgit-1.4.0/redgit/utils/version_check.py +134 -0
  18. {redgit-1.3.2 → redgit-1.4.0/redgit.egg-info}/PKG-INFO +2 -2
  19. {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/SOURCES.txt +2 -1
  20. redgit-1.3.2/redgit/__init__.py +0 -1
  21. redgit-1.3.2/redgit/prompts/commit/multi_task.md +0 -77
  22. {redgit-1.3.2 → redgit-1.4.0}/LICENSE +0 -0
  23. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/__init__.py +0 -0
  24. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/backup.py +0 -0
  25. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/ci.py +0 -0
  26. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/config.py +0 -0
  27. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/daily.py +0 -0
  28. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/integration.py +0 -0
  29. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/notify.py +0 -0
  30. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/plugin.py +0 -0
  31. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/poker.py +0 -0
  32. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/quality.py +0 -0
  33. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/tap.py +0 -0
  34. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/tunnel.py +0 -0
  35. {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/webhook.py +0 -0
  36. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/__init__.py +0 -0
  37. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/backup.py +0 -0
  38. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/constants.py +0 -0
  39. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/llm.py +0 -0
  40. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/llm_providers.json +0 -0
  41. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/prompt.py +0 -0
  42. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/daily/__init__.py +0 -0
  43. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/daily/state.py +0 -0
  44. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/__init__.py +0 -0
  45. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/ai_voter.py +0 -0
  46. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/client.py +0 -0
  47. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/server.py +0 -0
  48. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/session.py +0 -0
  49. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/ui.py +0 -0
  50. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/propose/__init__.py +0 -0
  51. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/propose/analysis.py +0 -0
  52. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/quality/__init__.py +0 -0
  53. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/quality/semgrep.py +0 -0
  54. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/scout/__init__.py +0 -0
  55. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/scout/team.py +0 -0
  56. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/tap/__init__.py +0 -0
  57. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/tap/manager.py +0 -0
  58. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/webhook/__init__.py +0 -0
  59. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/webhook/actions.py +0 -0
  60. {redgit-1.3.2 → redgit-1.4.0}/redgit/core/webhook/server.py +0 -0
  61. {redgit-1.3.2 → redgit-1.4.0}/redgit/integrations/__init__.py +0 -0
  62. {redgit-1.3.2 → redgit-1.4.0}/redgit/plugins/__init__.py +0 -0
  63. {redgit-1.3.2 → redgit-1.4.0}/redgit/plugins/base.py +0 -0
  64. {redgit-1.3.2 → redgit-1.4.0}/redgit/plugins/registry.py +0 -0
  65. {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/__init__.py +0 -0
  66. {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/commit/default.md +0 -0
  67. {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/commit/minimal.md +0 -0
  68. {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/commit/task_filtered.md +0 -0
  69. {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/daily/default.md +0 -0
  70. {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/quality/default.md +0 -0
  71. {redgit-1.3.2 → redgit-1.4.0}/redgit/splash.py +0 -0
  72. {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/__init__.py +0 -0
  73. {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/console.py +0 -0
  74. {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/dependency.py +0 -0
  75. {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/editor.py +0 -0
  76. {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/formatting.py +0 -0
  77. {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/logging.py +0 -0
  78. {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/notifications.py +0 -0
  79. {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/security.py +0 -0
  80. {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/dependency_links.txt +0 -0
  81. {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/entry_points.txt +0 -0
  82. {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/requires.txt +0 -0
  83. {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/top_level.txt +0 -0
  84. {redgit-1.3.2 → redgit-1.4.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: redgit
3
- Version: 1.3.2
3
+ Version: 1.4.0
4
4
  Summary: AI-powered Git workflow assistant with task management integration
5
5
  Author-email: Your Name <your.email@example.com>
6
6
  License-Expression: MIT
@@ -40,7 +40,7 @@ Requires-Dist: websockets>=12.0; extra == "poker"
40
40
  Dynamic: license-file
41
41
 
42
42
  <p align="center">
43
- <img src="https://raw.githubusercontent.com/ertiz82/redgit/main/assets/logo.svg?v=1.3.2" alt="RedGit Logo" width="400"/>
43
+ <img src="https://raw.githubusercontent.com/ertiz82/redgit/main/assets/logo.svg?v=1.4.0" alt="RedGit Logo" width="400"/>
44
44
  </p>
45
45
 
46
46
  <p align="center">
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/ertiz82/redgit/main/assets/logo.svg?v=1.3.2" alt="RedGit Logo" width="400"/>
2
+ <img src="https://raw.githubusercontent.com/ertiz82/redgit/main/assets/logo.svg?v=1.4.0" alt="RedGit Logo" width="400"/>
3
3
  </p>
4
4
 
5
5
  <p align="center">
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "redgit"
7
- version = "1.3.2"
7
+ version = "1.4.0"
8
8
  description = "AI-powered Git workflow assistant with task management integration"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -0,0 +1 @@
1
+ __version__ = "1.4.0"
@@ -163,5 +163,14 @@ def main():
163
163
 
164
164
  app()
165
165
 
166
+ # Show upgrade suggestion after command output
167
+ try:
168
+ from redgit.utils.version_check import check_for_updates
169
+ update_msg = check_for_updates()
170
+ if update_msg:
171
+ rprint(update_msg)
172
+ except Exception:
173
+ pass
174
+
166
175
  if __name__ == "__main__":
167
176
  main()
@@ -281,6 +281,20 @@ def select_quality_settings() -> dict:
281
281
 
282
282
 
283
283
 
284
+ def get_git_user_email() -> str:
285
+ """Get current git user email."""
286
+ try:
287
+ result = subprocess.run(
288
+ ["git", "config", "user.email"],
289
+ capture_output=True, text=True
290
+ )
291
+ if result.returncode == 0:
292
+ return result.stdout.strip()
293
+ except Exception:
294
+ pass
295
+ return ""
296
+
297
+
284
298
  def init_cmd():
285
299
  """Initialize redgit configuration for this project."""
286
300
  config = {}
@@ -288,10 +302,23 @@ def init_cmd():
288
302
  typer.echo("\n🧠 redgit v1.0 setup wizard\n")
289
303
 
290
304
  # Project info
305
+ project_name = typer.prompt("📌 Project name", default=Path(".").resolve().name)
306
+
307
+ # Code owner (for reviewer assignment)
308
+ typer.echo("\n👤 Code Owner (main reviewer for merge requests):")
309
+ default_email = get_git_user_email()
310
+ code_owner = typer.prompt(
311
+ " Email",
312
+ default=default_email if default_email else ""
313
+ )
314
+
291
315
  config["project"] = {
292
- "name": typer.prompt("📌 Project name", default=Path(".").resolve().name),
316
+ "name": project_name,
293
317
  }
294
318
 
319
+ if code_owner:
320
+ config["project"]["code_owner"] = code_owner
321
+
295
322
  # LLM selection
296
323
  provider, model, api_key = select_llm_provider()
297
324