Skip to content

Commit 61f1881

Browse files
committed
codeowners: generate board section only (drop hardcoded owners)
Per request, the generated CODEOWNERS is now purely data-driven: drop the hardcoded header owners (the default '* @igorpecovnik' and the *.md / .github/ / lib/ / packages/ / tools/ section owners) so the file contains only the board section derived from BOARD_MAINTAINER. Everything in it is now sourced from the contacts DB and subject to the inactive-maintainer filter — no static entries. Note: with the default owner gone, paths not matched by a board pattern have no required reviewer (intended). Signed-off-by: Igor Pecovnik <igor@armbian.com>
1 parent 090bc56 commit 61f1881

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

.github/generate_CODEOWNERS.sh

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function generate_for_board() {
4040
[[ -n "${INACTIVE[$_m]:-}" ]] || maintainers+="@${_m} "
4141
done
4242
maintainers="${maintainers% }"
43-
# all maintainers inactive -> emit no entry, so the default owner applies
43+
# all maintainers inactive -> emit no entry (the path simply gets no owner)
4444
[[ -n "${maintainers}" ]] || return
4545
4646
while read -r BRANCH; do
@@ -115,20 +115,6 @@ cat <<-EOF >"${SRC}/.github/CODEOWNERS"
115115
# PLEASE DON'T EDIT THIS FILE
116116
# Auto generated by ".github/generate_CODEOWNERS.sh"
117117
118-
# Default code owner
119-
* @igorpecovnik
120-
121-
# the last matching pattern takes the most
122-
123-
*.md @EvilOlaf @littlecxm @TheLinuxBug @TRSx80 @igorpecovnik
124-
125-
.github/ @igorpecovnik @rpardini @hzyitc
126-
127-
lib/ @armbian/build-scripts
128-
packages/ @armbian/build-scripts
129-
packages/bsp/jethub/ @armbian/build-scripts @adeepn
130-
tools/ @iav @neheb @hzyitc @mhoffrog
131-
132118
# The following contents are generated by board configs
133119
$(generate_for_all_board | merge)
134120
EOF

0 commit comments

Comments
 (0)