|
|
|
@ -2,16 +2,19 @@ from github import Github
|
|
|
|
|
|
|
|
|
|
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')
|
|
|
|
|
core_team_members = core_team.get_members()
|
|
|
|
|
core_team_logins = []
|
|
|
|
|
for tgt in targets:
|
|
|
|
|
repo = g.get_repo(tgt)
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
for issue in repo.get_issues():
|
|
|
|
|
for issue in repo.get_issues():
|
|
|
|
|
if 'RFC' in issue.title:
|
|
|
|
|
print(f"Working on: {issue.title}")
|
|
|
|
|
all_reactions = issue.get_reactions()
|
|
|
|
|