MAINTAINERS: do not use orphaned terminology

an area without maintainer is still considered active, calling it orphan
is a bit extreme. We have some areas that can be considered "orphaned",
those now will be covered with 'odd fixes' status, meaning that they
might have one or more collaborator and getting some changes from time
to time, but nothing beyond fixes and nobody driving the area beyond
where it is right now.

Even an area with a dedicated maintainer can be have the status of 'odd
fixes', i.e. there is a maintainer but the area is stale and no further
development is happening.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-02-28 10:33:21 -05:00
parent 43d3dfb7c5
commit 6e8cb0d155
2 changed files with 34 additions and 35 deletions

View file

@ -13,9 +13,8 @@
# The area has a Maintainer (approved by the TSC) who
# looks after the area.
#
# * orphaned:
# No current maintainer (but maybe you could take the role as you
# write your new code).
# * odd fixes:
# The ares gets odd fixes and has collaborators.
#
# * obsolete:
# Old code. Something being marked obsolete generally means it has
@ -299,7 +298,7 @@ C library:
- "area: C Library"
CMSIS API layer:
status: orphaned
status: odd fixes
collaborators:
- nashif
files:
@ -323,8 +322,8 @@ CMSIS-DSP integration:
labels:
- "area: CMSIS-DSP"
Common arch:
status: orphaned
Common Architecture Interface:
status: odd fixes
collaborators:
- dcpleung
- nashif
@ -417,7 +416,7 @@ Disk:
- "area: Disk Access"
Display drivers:
status: orphaned
status: odd fixes
collaborators:
- jfischer-no
- gmarull
@ -526,7 +525,7 @@ Documentation:
- "area: Clock control"
"Drivers: Console":
status: orphaned
status: odd fixes
collaborators:
- pfalcon
files:
@ -706,7 +705,7 @@ Documentation:
- "area: IEEE 802.15.4"
"Drivers: Interrupt controllers":
status: orphaned
status: odd fixes
files:
- drivers/interrupt_controller/
- dts/bindings/interrupt-controller/
@ -791,7 +790,7 @@ Documentation:
- "area: Modem"
"Drivers: Neural Networks":
status: orphaned
status: odd fixes
collaborators:
- nashif
files:
@ -942,8 +941,8 @@ Documentation:
labels:
- "area: Timer"
"Drivers: video":
status: orphaned
"Drivers: Video":
status: odd fixes
collaborators:
- loicpoulain
files:
@ -954,7 +953,7 @@ Documentation:
- "area: Video"
"Drivers: Watchdog":
status: orphaned
status: odd fixes
collaborators:
- katsuster
- martinjaeger
@ -981,7 +980,7 @@ Documentation:
- "area: Wifi"
"Drivers: WiFi es-WiFi":
status: orphaned
status: odd fixes
collaborators:
- loicpoulain
files:
@ -1036,7 +1035,7 @@ IPC:
- "area: IPC"
JSON Web Token:
status: orphaned
status: odd fixes
collaborators:
- mrfuchs
- sir-branch
@ -1048,7 +1047,7 @@ JSON Web Token:
- "area: JSON"
Kconfig:
status: orphaned
status: odd fixes
collaborators:
- tejlmand
- nashif
@ -1099,7 +1098,7 @@ Base OS:
- "area: Base OS"
Little FS:
status: orphaned
status: odd fixes
files:
- subsys/fs/Kconfig.littlefs
- subsys/fs/littlefs_fs.c
@ -1163,7 +1162,7 @@ MCU Manager:
- "area: mcumgr"
OSDP:
status: orphaned
status: odd fixes
collaborators:
- sidcha
files:
@ -1174,7 +1173,7 @@ OSDP:
- "area: OSDP"
hawkBit:
status: orphaned
status: odd fixes
collaborators:
- ycsin
files:
@ -1335,7 +1334,7 @@ nRF52 BSIM:
- "platform: nrf52_bsim"
POSIX API layer:
status: orphaned
status: odd fixes
collaborators:
- pfalcon
- enjiamai
@ -1442,7 +1441,7 @@ Shields:
- "area: Shields"
SPARC arch:
status: orphaned
status: odd fixes
collaborators:
- martin-aberg
files:
@ -1529,7 +1528,7 @@ Nuvoton_NPCX Platforms:
- "platform: Nuvoton_NPCX"
Nuvoton_Numicro Platforms:
status: orphaned
status: odd fixes
collaborators:
- ssekar15
files:
@ -1542,7 +1541,7 @@ Nuvoton_Numicro Platforms:
- "platform: Nuvoton_Numicro"
SiLabs Platforms:
status: orphaned
status: odd fixes
collaborators:
- chrta
files:
@ -1879,7 +1878,7 @@ x86 arch:
labels:
- "area: X86"
CI:
Continuous Integration:
status: maintained
maintainers:
- nashif
@ -1907,7 +1906,7 @@ ZTest:
- "area: Testsuite"
Random:
status: orphaned
status: odd fixes
collaborators:
- ceolin
files:

View file

@ -140,9 +140,9 @@ def _parse_args():
help="Count the number of unique maintainers")
count_parser.add_argument(
"-o",
"--count-orphaned",
"--count-unmaintained",
action="store_true",
help="Count the number of orphaned areas")
help="Count the number of unmaintained areas")
count_parser.set_defaults(cmd_fn=Maintainers._count_cmd)
args = parser.parse_args()
@ -289,22 +289,22 @@ class Maintainers:
def _count_cmd(self, args):
# 'count' subcommand implementation
if not (args.count_areas or args.count_collaborators or args.count_maintainers or args.count_orphaned):
if not (args.count_areas or args.count_collaborators or args.count_maintainers or args.count_unmaintained):
# if no specific count is provided, print them all
args.count_areas = True
args.count_collaborators = True
args.count_maintainers = True
args.count_orphaned = True
args.count_unmaintained = True
orphaned = 0
unmaintained = 0
collaborators = set()
maintainers = set()
for area in self.areas.values():
if area.status == 'maintained':
maintainers = maintainers.union(set(area.maintainers))
elif area.status == 'orphaned':
orphaned += 1
elif area.status == 'odd fixes':
unmaintained += 1
collaborators = collaborators.union(set(area.collaborators))
if args.count_areas:
@ -313,8 +313,8 @@ class Maintainers:
print('{:14}\t{}'.format('maintainers:', len(maintainers)))
if args.count_collaborators:
print('{:14}\t{}'.format('collaborators:', len(collaborators)))
if args.count_orphaned:
print('{:14}\t{}'.format('orphaned:', orphaned))
if args.count_unmaintained:
print('{:14}\t{}'.format('unmaintained:', unmaintained))
def _list_cmd(self, args):
# 'list' subcommand implementation
@ -481,7 +481,7 @@ def _check_maintainers(maints_path, yaml):
"files-exclude", "files-regex", "files-regex-exclude",
"labels", "description"}
ok_status = {"maintained", "odd fixes", "orphaned", "obsolete"}
ok_status = {"maintained", "odd fixes", "unmaintained", "obsolete"}
ok_status_s = ", ".join('"' + s + '"' for s in ok_status) # For messages
for area_name, area_dict in yaml.items():