File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 15
15
access_token = os .environ .get ('GITHUB_TOKEN' )
16
16
17
17
g = Github (access_token )
18
- repo = g .get_repo ("vkt1414 /ExtensionsIndex" )
18
+ repo = g .get_repo ("Slicer /ExtensionsIndex" )
19
19
20
20
logging .info ("Calling slicer cdash api to get the build info for all extensions" )
21
21
# API data retrieval and processing
57
57
else :
58
58
logging .error (f"Failed to retrieve data. Status code: { response .status_code } " )
59
59
60
- # Process the CODEOWNERS file
61
- # url = "https://raw.githubusercontent.com/vkt1414/ExtensionsIndex/main/CODEOWNERS"
62
- # response = requests.get(url)
63
- # lines = [line for line in response.text.split('\n') if line]
64
60
# Read the existing CODEOWNERS file
65
61
with open ('CODEOWNERS' , 'r' ) as file :
66
62
existing_codeowners = [line .strip () for line in file if line .strip ()]
86
82
87
83
data = []
88
84
89
- pattern = r"/(.*)\.s4ext @( .*)"
85
+ pattern = r"/(.*)\.s4ext (@ .*)"
90
86
91
87
for line in lines :
92
88
match = re .search (pattern , line )
You can’t perform that action at this time.
0 commit comments