You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ly...@apache.org on 2024/04/09 08:50:44 UTC
(incubator-devlake) branch fix-azure-devops-remote-scopes created (now efd0e4c45)
This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a change to branch fix-azure-devops-remote-scopes
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
at efd0e4c45 fix(azuredevops): fix _tool_azuredevops_gitrepositories.id field
This branch includes the following new commits:
new efd0e4c45 fix(azuredevops): fix _tool_azuredevops_gitrepositories.id field
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-devlake) 01/01: fix(azuredevops): fix _tool_azuredevops_gitrepositories.id field
Posted by ly...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lynwee pushed a commit to branch fix-azure-devops-remote-scopes
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit efd0e4c45ee8d25ccef73a50e972549cc2fc152a
Author: d4x1 <15...@qq.com>
AuthorDate: Tue Apr 9 16:50:00 2024 +0800
fix(azuredevops): fix _tool_azuredevops_gitrepositories.id field
---
backend/python/plugins/azuredevops/azuredevops/main.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/python/plugins/azuredevops/azuredevops/main.py b/backend/python/plugins/azuredevops/azuredevops/main.py
index 30d349a3d..2560ab439 100644
--- a/backend/python/plugins/azuredevops/azuredevops/main.py
+++ b/backend/python/plugins/azuredevops/azuredevops/main.py
@@ -105,7 +105,7 @@ class AzureDevOpsPlugin(Plugin):
for repo in res.json['repositories']:
props = repo['properties']
yield GitRepository(
- id=repo['id'],
+ id=f"{org}/{proj}/{provider}/{repo['id']}",
name=f'{provider}/{proj}/{repo["name"]}',
project_id=proj,
org_id=org,