Fix manifest codeowners (#22871)
* Added individual files section * Replaced some manifest/codeownerspull/22879/head
parent
3086e1d39d
commit
8bebd8583f
|
@ -45,13 +45,13 @@ homeassistant/components/configurator/* @home-assistant/core
|
|||
homeassistant/components/conversation/* @home-assistant/core
|
||||
homeassistant/components/coolmaster/* @OnFreund
|
||||
homeassistant/components/counter/* @fabaff
|
||||
homeassistant/components/cover/* @cdce8p
|
||||
homeassistant/components/cover/* @home-assistant/core
|
||||
homeassistant/components/cpuspeed/* @fabaff
|
||||
homeassistant/components/cups/* @fabaff
|
||||
homeassistant/components/daikin/* @fredrike @rofrantz
|
||||
homeassistant/components/darksky/* @fabaff
|
||||
homeassistant/components/deconz/* @kane610
|
||||
homeassistant/components/demo/* @fabaff
|
||||
homeassistant/components/demo/* @home-assistant/core
|
||||
homeassistant/components/digital_ocean/* @fabaff
|
||||
homeassistant/components/discogs/* @thibmaek
|
||||
homeassistant/components/doorbird/* @oblogic7
|
||||
|
@ -243,3 +243,7 @@ homeassistant/components/zha/* @dmulcahey @adminiuga
|
|||
homeassistant/components/zone/* @home-assistant/core
|
||||
homeassistant/components/zoneminder/* @rohankapoorcom
|
||||
homeassistant/components/zwave/* @home-assistant/z-wave
|
||||
|
||||
# Individual files
|
||||
homeassistant/components/group/cover @cdce8p
|
||||
homeassistant/components/demo/weather @fabaff
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
"group"
|
||||
],
|
||||
"codeowners": [
|
||||
"@cdce8p"
|
||||
"@home-assistant/core"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"zone"
|
||||
],
|
||||
"codeowners": [
|
||||
"@fabaff"
|
||||
"@home-assistant/core"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -27,6 +27,12 @@ homeassistant/scripts/check_config.py @kellerza
|
|||
# Integrations
|
||||
"""
|
||||
|
||||
INDIVIDUAL_FILES = """
|
||||
# Individual files
|
||||
homeassistant/components/group/cover @cdce8p
|
||||
homeassistant/components/demo/weather @fabaff
|
||||
"""
|
||||
|
||||
|
||||
def generate():
|
||||
"""Generate CODEOWNERS."""
|
||||
|
@ -39,6 +45,8 @@ def generate():
|
|||
parts.append("homeassistant/components/{}/* {}".format(
|
||||
manifest['domain'], ' '.join(manifest['codeowners'])))
|
||||
|
||||
parts.append('\n' + INDIVIDUAL_FILES.strip())
|
||||
|
||||
return '\n'.join(parts)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue