File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -68,19 +68,21 @@ def fetch_release_details(filtered_releases):
6868 return releases_data
6969
7070def parse_dependencies (content ):
71- dependencies = []
71+ dependencies_map = {}
7272 lines = content .splitlines ()
7373 for line in lines [1 :]: # Skip the header
7474 parts = line .split ()
7575 if len (parts ) == 4 :
7676 commit , branch , path , url = parts
77- dependencies .append ({
77+ repo_name = url .split ('/' )[- 1 ].replace ('.git' , '' ) # Ableiten des Repo-Namens aus der URL
78+ dependencies_map [repo_name ] = {
7879 "commit" : commit ,
7980 "branch" : branch ,
8081 "path" : path ,
81- "url" : url
82- })
83- return dependencies
82+ "url" : url ,
83+ "depName" : repo_name
84+ }
85+ return dependencies_map
8486
8587def fetch_dependencies (repo ):
8688 try :
You can’t perform that action at this time.
0 commit comments