Skip to content

Commit

Permalink
Add pre-ads to .ad aliases. Keep draft aliases for drafts that have b…
Browse files Browse the repository at this point in the history
…ecome RFCs for some time. Commit ready to merge.

 - Legacy-Id: 9306
  • Loading branch information
rjsparks committed Mar 21, 2015
1 parent 33c9483 commit 5fb3198
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ietf/bin/generate-draft-aliases
Expand Up @@ -133,7 +133,8 @@ if __name__ == '__main__':
for draft in interesting_drafts.distinct().iterator():
# Omit RFCs, we care only about drafts
if draft.docalias_set.filter(name__startswith='rfc'):
continue
if (datetime.datetime.now() - draft.latest_event(type='published_rfc').time) > datetime.timedelta(days= 365 * 3 ):
continue

alias = draft.name
all = []
Expand Down
2 changes: 1 addition & 1 deletion ietf/group/utils.py
Expand Up @@ -48,7 +48,7 @@ def get_area_ads_emails(area):
if area.acronym == 'none':
return []
emails = [r.email.email_address()
for r in area.role_set.filter(name__in=('ad', 'chair'))]
for r in area.role_set.filter(name__in=('pre-ad', 'ad', 'chair'))]
return filter(None, emails)

def get_group_ads_emails(wg):
Expand Down

0 comments on commit 5fb3198

Please sign in to comment.