feat: implement WorkspaceManager to handle local Gitea repository cloning and configuration and document identified codebase vulnerabilities
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ class WorkspaceManager:
|
|||||||
user = client.get_authenticated_user()
|
user = client.get_authenticated_user()
|
||||||
if user:
|
if user:
|
||||||
name = user.full_name or user.login or "meeks-ai"
|
name = user.full_name or user.login or "meeks-ai"
|
||||||
email = user.email or "micke_ingvarsson+ai@hotmail.com"
|
email = user.email or f"{user.login or 'agent'}@noreply.gitea"
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
["git", "-C", str(repo_path), "config", "user.name", name],
|
["git", "-C", str(repo_path), "config", "user.name", name],
|
||||||
check=True, capture_output=True
|
check=True, capture_output=True
|
||||||
|
|||||||
Reference in New Issue
Block a user