Skip to content

Commit

Permalink
devstats: Update repo list
Browse files Browse the repository at this point in the history
The flatcar-docs repo is now part of the flatcar-website repo and ue-rs
got added (with "trunk" as main branch).
  • Loading branch information
pothos committed Apr 9, 2024
1 parent ad770a0 commit 641beed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions devstats
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi

# Excluded: flatcar/ignition flatcar/afterburn flatcar/ign-converter flatcar/grub
# (because they are upstream projects)
REPOS=(flatcar/scripts flatcar/coreos-overlay flatcar/portage-stable flatcar/flatcar-docs
REPOS=(flatcar/scripts flatcar/coreos-overlay flatcar/portage-stable flatcar/flatcar-website
flatcar/init flatcar/flatcar-linux-update-operator flatcar/flatcar-build-scripts
flatcar/mantle flatcar/update-ssh-keys flatcar/container-linux-config-transpiler
flatcar/locksmith flatcar/bootengine flatcar/baselayout
Expand All @@ -43,7 +43,7 @@ REPOS=(flatcar/scripts flatcar/coreos-overlay flatcar/portage-stable flatcar/fla
flatcar/nss-altfiles flatcar/sysroot-wrappers flatcar/shim
flatcar/fero flatcar/efunctions flatcar/chromite
flatcar/flatcar-release-mirror flatcar/sdnotify-proxy
flatcar/flog kinvolk/nebraska)
flatcar/flog flatcar/ue-rs kinvolk/nebraska)

OUTPUT=""

Expand Down Expand Up @@ -84,6 +84,9 @@ for REPO in "${REPOS[@]}"; do
if ! git -C "${FOLDER}" show "${REF}" > /dev/null 2> /dev/null; then
REF="origin/master"
fi
if ! git -C "${FOLDER}" show "${REF}" > /dev/null 2> /dev/null; then
REF="origin/trunk"
fi
# Trim left space, use space not tabs, and ignore bots
OUTPUT=$(git -C "${FOLDER}" shortlog -sne --since="${FROM}" --until="${TO}" "${REF}" | sed 's/^[ ]*//g' | tr '\t' ' ' | { grep -v -P '(flatcar-ci|Buildbot|dependabot|jenkins@localhost)' || true ; })
fi
Expand Down

0 comments on commit 641beed

Please sign in to comment.