-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtag_maintainer.py
executable file
·42 lines (37 loc) · 1.06 KB
/
tag_maintainer.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env python3
from sys import argv
if len(argv) != 2:
print('Usage: {} <codename>'.format(argv[0]))
exit(1)
maintainers = {
'I001D': 'Adesh15',
'beryllium': 'akhilnarang',
'bonito': 'Skittles9823',
'cheeseburger': 'gotenksIN',
'coral': 'XlxFoXxlX',
'dipper': 'argraur',
'dumpling': 'gotenksIN',
'enchilada': 'anirudhgupta109',
'fajita': 'anirudhgupta109',
'flame': 'XlxFoXxlX',
'gauguin': 'grewal',
'guacamole': 'gotenksIN',
'hotdogb': ['anirudhgupta109', 'gotenksIN'],
'mata': 'KuranKaname',
'mido': 'Adesh15',
'perseus': 'mjevange',
'phoenix': 'akhilnarang',
'potter': 'NickvBokhorst',
'raphael': 'ai94iq',
'sargo': 'Skittles9823',
'taimen': 'Eamo5',
'walleye': 'Eamo5',
'x2': 'agustindev',
'zl1': 'agustindev',
}
device = argv[1]
if device in maintainers.keys():
blamelist = ', @'.join(maintainers[device]) if isinstance(maintainers[device], list) else maintainers[device]
else:
blamelist = 'KronicBot'
print(f'@{blamelist} fix {device} build please!')