Update teams and areas (#26624)
Signed-off-by: stianst <stianst@gmail.com>
This commit is contained in:
parent
10ba70c972
commit
b9044f5e11
3 changed files with 99 additions and 33 deletions
7
.github/ISSUE_TEMPLATE/bug.yml
vendored
7
.github/ISSUE_TEMPLATE/bug.yml
vendored
|
@ -33,8 +33,8 @@ body:
|
||||||
- admin/cli
|
- admin/cli
|
||||||
- admin/fine-grained-permissions
|
- admin/fine-grained-permissions
|
||||||
- admin/ui
|
- admin/ui
|
||||||
- admin/client/node
|
- admin/client-java
|
||||||
- admin/client/java
|
- admin/client-js
|
||||||
- authentication
|
- authentication
|
||||||
- authentication/webauthn
|
- authentication/webauthn
|
||||||
- authorization-services
|
- authorization-services
|
||||||
|
@ -42,7 +42,6 @@ body:
|
||||||
- core
|
- core
|
||||||
- dependencies
|
- dependencies
|
||||||
- dist/quarkus
|
- dist/quarkus
|
||||||
- dist/wildfly
|
|
||||||
- docs
|
- docs
|
||||||
- identity-brokering
|
- identity-brokering
|
||||||
- import-export
|
- import-export
|
||||||
|
@ -50,6 +49,7 @@ body:
|
||||||
- ldap
|
- ldap
|
||||||
- login/ui
|
- login/ui
|
||||||
- oidc
|
- oidc
|
||||||
|
- oid4vc
|
||||||
- operator
|
- operator
|
||||||
- saml
|
- saml
|
||||||
- storage
|
- storage
|
||||||
|
@ -57,6 +57,7 @@ body:
|
||||||
- token-exchange
|
- token-exchange
|
||||||
- translations
|
- translations
|
||||||
- user-profile
|
- user-profile
|
||||||
|
- welcome/ui
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
|
57
.github/check-area-labels.sh
vendored
Executable file
57
.github/check-area-labels.sh
vendored
Executable file
|
@ -0,0 +1,57 @@
|
||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
TEAMS="teams.yml"
|
||||||
|
BUG="ISSUE_TEMPLATE/bug.yml"
|
||||||
|
|
||||||
|
GH_AREAS=( $(gh label list --search 'area/' --limit 100 --json name | jq -r .[].name | sort) )
|
||||||
|
LOCAL_AREAS=( $(cat teams.yml | grep 'area/' | sed 's/.*- //') )
|
||||||
|
BUG_TEMPLATE_AREAS=( $(yq '.body.[] | select(.id | test("area")) | .attributes.options.[]' ISSUE_TEMPLATE/bug.yml | grep -v '^$') )
|
||||||
|
|
||||||
|
TEAMS_VALID=true
|
||||||
|
BUG_VALID=true
|
||||||
|
|
||||||
|
echo "Checking: $TEAMS"
|
||||||
|
for AREA in "${GH_AREAS[@]}"; do
|
||||||
|
if ! ( echo "${LOCAL_AREAS[@]}" | grep -q -F -w "$AREA" ); then
|
||||||
|
echo "[$AREA] missing in $TEAMS"
|
||||||
|
TEAMS_VALID=false
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
for AREA in "${LOCAL_AREAS[@]}"; do
|
||||||
|
if ! ( echo "${GH_AREAS[@]}" | grep -q -F -w "$AREA" ); then
|
||||||
|
echo "[$AREA] missing in GitHub"
|
||||||
|
TEAMS_VALID=false
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ "$TEAMS_VALID" = true ]; then
|
||||||
|
echo "[OK]"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
echo "Checking: $BUG"
|
||||||
|
for AREA in "${GH_AREAS[@]}"; do
|
||||||
|
AREA_SHORT=$(echo $AREA | sed 's|area/||g')
|
||||||
|
if ! ( echo "${BUG_TEMPLATE_AREAS[@]}" | grep -q -F -w "$AREA_SHORT" ); then
|
||||||
|
echo "[$AREA] missing in $BUG"
|
||||||
|
BUG_VALID=false
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
for AREA in "${BUG_TEMPLATE_AREAS[@]}"; do
|
||||||
|
AREA_LONG="area/$AREA"
|
||||||
|
if ! ( echo "${GH_AREAS[@]}" | grep -q -F -w "$AREA_LONG" ); then
|
||||||
|
echo "[$AREA_LONG] missing in GitHub"
|
||||||
|
BUG_VALID=false
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ "$BUG_VALID" = true ]; then
|
||||||
|
echo "[OK]"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$TEAMS_VALID" != true ] || [ "$BUG_VALID" != true ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
68
.github/teams.yml
vendored
68
.github/teams.yml
vendored
|
@ -1,6 +1,5 @@
|
||||||
team/cloud-native:
|
team/cloud-native:
|
||||||
- area/admin/cli
|
- area/admin/cli
|
||||||
- area/dependencies
|
|
||||||
- area/dist/quarkus
|
- area/dist/quarkus
|
||||||
- area/operator
|
- area/operator
|
||||||
|
|
||||||
|
@ -8,40 +7,49 @@ team/continuous-testing:
|
||||||
- area/ci
|
- area/ci
|
||||||
- area/testsuite
|
- area/testsuite
|
||||||
|
|
||||||
team/core:
|
team/core-clients:
|
||||||
- area/admin/api
|
|
||||||
- area/admin/fine-grained-permissions
|
|
||||||
- area/authentication
|
|
||||||
- area/authentication/webauthn
|
|
||||||
- area/authorization-services
|
|
||||||
- area/core
|
|
||||||
- area/identity-brokering
|
|
||||||
- area/oidc
|
|
||||||
- area/saml
|
|
||||||
- area/token-exchange
|
|
||||||
- area/user-profile
|
|
||||||
|
|
||||||
team/store:
|
|
||||||
- area/import-export
|
|
||||||
- area/infinispan
|
|
||||||
- area/ldap
|
|
||||||
- area/storage
|
|
||||||
|
|
||||||
team/ui:
|
|
||||||
- area/account/ui
|
|
||||||
- area/adapter/javascript
|
|
||||||
- area/admin/client/node
|
|
||||||
- area/admin/ui
|
|
||||||
|
|
||||||
team/other:
|
|
||||||
- area/account/api
|
|
||||||
- area/adapter/fuse
|
- area/adapter/fuse
|
||||||
- area/adapter/java-cli
|
- area/adapter/java-cli
|
||||||
- area/adapter/jee
|
- area/adapter/jee
|
||||||
- area/adapter/jee-saml
|
- area/adapter/jee-saml
|
||||||
- area/adapter/spring
|
- area/adapter/spring
|
||||||
- area/dist/wildfly
|
- area/authentication
|
||||||
- area/docs
|
- area/authentication/webauthn
|
||||||
|
- area/login/ui
|
||||||
|
- area/oidc
|
||||||
|
- area/oid4vc
|
||||||
|
- area/saml
|
||||||
|
|
||||||
|
team/core-iam:
|
||||||
|
- area/admin/fine-grained-permissions
|
||||||
|
- area/authorization-services
|
||||||
|
- area/identity-brokering
|
||||||
|
- area/user-profile
|
||||||
|
|
||||||
|
team/core-shared:
|
||||||
|
- area/account/api
|
||||||
|
- area/admin/api
|
||||||
|
- area/admin/client-java
|
||||||
|
- area/core
|
||||||
|
- area/import-export
|
||||||
|
- area/infinispan
|
||||||
|
- area/ldap
|
||||||
|
- area/storage
|
||||||
|
- area/token-exchange
|
||||||
|
|
||||||
|
team/ui:
|
||||||
|
- area/account/ui
|
||||||
|
- area/adapter/javascript
|
||||||
|
- area/admin/client-js
|
||||||
|
- area/admin/ui
|
||||||
|
- area/welcome/ui
|
||||||
|
|
||||||
team/community:
|
team/community:
|
||||||
- area/translations
|
- area/translations
|
||||||
|
|
||||||
|
team/core:
|
||||||
|
team/store:
|
||||||
|
|
||||||
|
no-team:
|
||||||
|
- area/docs
|
||||||
|
- area/dependencies
|
||||||
|
|
Loading…
Reference in a new issue