| |
@@ -92,10 +92,9 @@
|
| |
|
| |
def create_teams():
|
| |
# Ambassadors
|
| |
- hub = hubs.models.Hub(name='ambassadors', hub_type="team")
|
| |
+ hub = hubs.models.Hub.create_group_hub(name='ambassadors', summary='Fedora Ambassadors')
|
| |
db.add(hub)
|
| |
hub.config.update(dict(
|
| |
- summary='Fedora Ambassadors',
|
| |
avatar=placekitten,
|
| |
description=(
|
| |
'Ambassadors are the representatives of Fedora. Ambassadors '
|
| |
@@ -122,9 +121,8 @@
|
| |
db.commit()
|
| |
|
| |
# ############# CommOps
|
| |
- hub = hubs.models.Hub(name='commops', hub_type="team")
|
| |
+ hub = hubs.models.Hub.create_group_hub(name='commops', summary='The Fedora Community Operations Team')
|
| |
db.add(hub)
|
| |
- hub.config["summary"] = 'The Fedora Community Operations Team'
|
| |
hub.config["chat_domain"] = 'irc.freenode.net'
|
| |
hub.config["chat_channel"] = '#fedora-commops'
|
| |
hub.config["pagure"] = ['fedora-commops']
|
| |
@@ -149,9 +147,8 @@
|
| |
db.commit()
|
| |
|
| |
# ############# Marketing team
|
| |
- hub = hubs.models.Hub(name='marketing', hub_type="team")
|
| |
+ hub = hubs.models.Hub.create_group_hub(name='marketing', summary='The Fedora Marketing Team')
|
| |
db.add(hub)
|
| |
- hub.config["summary"] = 'The Fedora Marketing Team'
|
| |
hub.config["description"] = (
|
| |
'The Fedora Marketing Team develops and executes marketing strategies'
|
| |
' to promote the usage and support of Fedora worldwide. Through the'
|
| |
@@ -182,9 +179,8 @@
|
| |
db.commit()
|
| |
|
| |
# ############# Design team
|
| |
- hub = hubs.models.Hub(name='designteam', hub_type="team")
|
| |
+ hub = hubs.models.Hub.create_group_hub(name='designteam', summary='The Fedora Design Team')
|
| |
db.add(hub)
|
| |
- hub.config["summary"] = 'The Fedora Design Team'
|
| |
hub.config["description"] = (
|
| |
'The Design Team is the design group of the Fedora project. Our'
|
| |
' interests are not only in creating graphics for use by the'
|
| |
@@ -216,9 +212,8 @@
|
| |
|
| |
|
| |
# ############# Infra team -- commented out, as there is no infra FAS group yet
|
| |
- # hub = hubs.models.Hub(name='infrastructure', hub_type="team")
|
| |
+ # hub = hubs.models.Hub.create_group_hub(name='infrastructure', summary='The Fedora Infra Team')
|
| |
# db.add(hub)
|
| |
- # hub.config["summary"] = 'The Fedora Infra Team'
|
| |
# hub.config["description"] = """
|
| |
# The Infrastructure Team consists of dedicated volunteers and professional
|
| |
# managing the servers, building the tools and utilities, and creating new
|
| |