Skip to content

Commit 9bfd368

Browse files
committed
Add special group for ISE for use with streams
- Legacy-Id: 3683
1 parent fb083da commit 9bfd368

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

redesign/importing/import-groups.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,21 @@
7777
secretariat_group.type = type_names["ietf"]
7878
secretariat_group.save()
7979

80+
# create ISE for use with streams
81+
ise_group, _ = Group.objects.get_or_create(acronym="ise")
82+
ise_group.name = "Independent Submission Editor"
83+
ise_group.state = state_names["active"]
84+
ise_group.type = type_names["ietf"]
85+
ise_group.save()
86+
8087
# create RSOC for use with roles
8188
rsoc_group, _ = Group.objects.get_or_create(acronym="rsoc")
8289
rsoc_group.name = "RFC Series Oversight Committee"
8390
rsoc_group.state = state_names["active"]
8491
rsoc_group.type = type_names["ietf"]
8592
rsoc_group.save()
8693

87-
# create IAB for use with liaison statements
94+
# create IAB for use with liaison statements and streams
8895
iab_group, _ = Group.objects.get_or_create(acronym="iab")
8996
iab_group.name = "Internet Architecture Board"
9097
iab_group.state = state_names["active"]

redesign/importing/import-roles.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@
102102
if o.id == OldRole.RSOC_CHAIR:
103103
official_email, _ = Email.objects.get_or_create(address="rsoc-chair@iab.org")
104104

105-
if o.role_name == "ISE":
106-
group = Group.objects.get(type="individ")
107-
else:
108-
group = Group.objects.get(acronym=acronym)
105+
group = Group.objects.get(acronym=acronym)
109106

110107
Role.objects.get_or_create(name=role, group=group, person=email.person, email=official_email)
111108

0 commit comments

Comments
 (0)