Skip to content

Commit d657a85

Browse files
Vamsi Thiriveedhilassoan
authored andcommitted
rm vkt1414 ref,modify regex to include all pocs
1 parent e16dd84 commit d657a85

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/notify_extension_managers.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
access_token = os.environ.get('GITHUB_TOKEN')
1616

1717
g = Github(access_token)
18-
repo = g.get_repo("vkt1414/ExtensionsIndex")
18+
repo = g.get_repo("Slicer/ExtensionsIndex")
1919

2020
logging.info("Calling slicer cdash api to get the build info for all extensions")
2121
# API data retrieval and processing
@@ -57,10 +57,6 @@
5757
else:
5858
logging.error(f"Failed to retrieve data. Status code: {response.status_code}")
5959

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]
6460
# Read the existing CODEOWNERS file
6561
with open('CODEOWNERS', 'r') as file:
6662
existing_codeowners = [line.strip() for line in file if line.strip()]
@@ -86,7 +82,7 @@
8682

8783
data = []
8884

89-
pattern = r"/(.*)\.s4ext @(.*)"
85+
pattern = r"/(.*)\.s4ext (@.*)"
9086

9187
for line in lines:
9288
match = re.search(pattern, line)

0 commit comments

Comments
 (0)