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.
- {redgit-1.3.2/redgit.egg-info → redgit-1.4.0}/PKG-INFO +2 -2
- {redgit-1.3.2 → redgit-1.4.0}/README.md +1 -1
- {redgit-1.3.2 → redgit-1.4.0}/pyproject.toml +1 -1
- redgit-1.4.0/redgit/__init__.py +1 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/cli.py +9 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/init.py +28 -1
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/propose.py +658 -365
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/push.py +225 -13
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/scout.py +428 -3
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/config.py +1 -34
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/gitops.py +53 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/propose/commit.py +10 -3
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/propose/display.py +44 -5
- {redgit-1.3.2 → redgit-1.4.0}/redgit/integrations/base.py +472 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/integrations/registry.py +50 -2
- redgit-1.4.0/redgit/prompts/commit/multi_task.md +77 -0
- redgit-1.4.0/redgit/utils/version_check.py +134 -0
- {redgit-1.3.2 → redgit-1.4.0/redgit.egg-info}/PKG-INFO +2 -2
- {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/SOURCES.txt +2 -1
- redgit-1.3.2/redgit/__init__.py +0 -1
- redgit-1.3.2/redgit/prompts/commit/multi_task.md +0 -77
- {redgit-1.3.2 → redgit-1.4.0}/LICENSE +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/backup.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/ci.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/config.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/daily.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/integration.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/notify.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/plugin.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/poker.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/quality.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/tap.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/tunnel.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/commands/webhook.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/backup.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/constants.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/llm.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/llm_providers.json +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/common/prompt.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/daily/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/daily/state.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/ai_voter.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/client.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/server.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/session.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/poker/ui.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/propose/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/propose/analysis.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/quality/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/quality/semgrep.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/scout/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/scout/team.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/tap/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/tap/manager.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/webhook/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/webhook/actions.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/core/webhook/server.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/integrations/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/plugins/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/plugins/base.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/plugins/registry.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/commit/default.md +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/commit/minimal.md +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/commit/task_filtered.md +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/daily/default.md +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/prompts/quality/default.md +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/splash.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/__init__.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/console.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/dependency.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/editor.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/formatting.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/logging.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/notifications.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit/utils/security.py +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/dependency_links.txt +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/entry_points.txt +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/requires.txt +0 -0
- {redgit-1.3.2 → redgit-1.4.0}/redgit.egg-info/top_level.txt +0 -0
- {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
|
+
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.
|
|
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.
|
|
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">
|
|
@@ -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":
|
|
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
|
|