in retire.py [0:0]
def create_project(pid):
outfile = join(projects, "%s.xml" % pid)
print("Creating %s" % outfile)
with open(join(projects, '_template.xml'), 'r') as t:
template = Template(t.read())
meta = retirees[pid]
mnames = lists[pid]
mnames.remove('dev')
jiras = list_jira(pid)
out = template.substitute(tlpid = pid,
FullName = meta['display_name'],
Month_Year = meta['retired'],
mail_names = ",".join(sorted(mnames)),
jira_names = ",".join(sorted(jiras)),
description = meta.get('description', 'TBA'))
with open(outfile, 'w') as o:
o.write(out)
os.system("svn add %s" % outfile)
print("Check XML file for customisations such as JIRA and mailing lists")