|
|
@ -2,16 +2,19 @@ from github import Github
|
|
|
|
|
|
|
|
|
|
|
|
g = Github(open(".access_token").read().strip())
|
|
|
|
g = Github(open(".access_token").read().strip())
|
|
|
|
|
|
|
|
|
|
|
|
repo = g.get_repo('crystal-linux/.github')
|
|
|
|
targets = ['crystal-linux/.github', 'crystal-linux-packages/.github']
|
|
|
|
|
|
|
|
|
|
|
|
core_team = g.get_organization('crystal-linux').get_team_by_slug('core-team')
|
|
|
|
for tgt in targets:
|
|
|
|
core_team_members = core_team.get_members()
|
|
|
|
repo = g.get_repo(tgt)
|
|
|
|
core_team_logins = []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for member in core_team_members:
|
|
|
|
core_team = g.get_organization('crystal-linux').get_team_by_slug('core-team')
|
|
|
|
|
|
|
|
core_team_members = core_team.get_members()
|
|
|
|
|
|
|
|
core_team_logins = []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for member in core_team_members:
|
|
|
|
core_team_logins.append(member.login)
|
|
|
|
core_team_logins.append(member.login)
|
|
|
|
|
|
|
|
|
|
|
|
for issue in repo.get_issues():
|
|
|
|
for issue in repo.get_issues():
|
|
|
|
if 'RFC' in issue.title:
|
|
|
|
if 'RFC' in issue.title:
|
|
|
|
print(f"Working on: {issue.title}")
|
|
|
|
print(f"Working on: {issue.title}")
|
|
|
|
all_reactions = issue.get_reactions()
|
|
|
|
all_reactions = issue.get_reactions()
|
|
|
|