summaryrefslogtreecommitdiff
path: root/bin/xfsprogs-summary.sh
diff options
context:
space:
mode:
authorCarlos Maiolino <[email protected]>2026-05-02 14:09:27 +0200
committerCarlos Maiolino <[email protected]>2026-05-02 14:09:27 +0200
commit296c6b9ee85209c0ce375717e30686545baea107 (patch)
treef0da71650e8f58ca528589ad4e39476732fa5b88 /bin/xfsprogs-summary.sh
parentb2e1a1cb259e482720430ff9898d2e564ee73d0f (diff)
Save new changesHEADmaster
Diffstat (limited to 'bin/xfsprogs-summary.sh')
-rwxr-xr-xbin/xfsprogs-summary.sh81
1 files changed, 0 insertions, 81 deletions
diff --git a/bin/xfsprogs-summary.sh b/bin/xfsprogs-summary.sh
deleted file mode 100755
index ca82955..0000000
--- a/bin/xfsprogs-summary.sh
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/bash
-
-MAINTAINER="Eric Sandeen <[email protected]>"
-
-IFS=$(echo -en "\n\b")
-
-for PATCH in `guilt applied -c`; do
- COMMIT=`echo $PATCH | awk '{print $1}'`
- FILENAME=`echo $PATCH | awk '{print $2}'`
-
- SUBJECT=`git show --pretty=format:%s $COMMIT | head -n 1`
- AUTHOR=`git show $COMMIT | grep ^Author | awk -F": " '{print $2}'`
- AUTHOR_SOB=`git show $COMMIT | grep -i Signed-off-by: | head -n 1 | awk -F": " '{print $2}'`
- COMMITTER_SOB=`git show $COMMIT | grep -i Signed-off-by: | tail -n 1 | awk -F": " '{print $2}'`
- REVIEWED_BY=`git show $COMMIT | grep -i Reviewed-by: | tail -n 1 | awk -F": " '{print $2}'`
-
- echo -n "PATCH: $PATCH"
-
- # Check for double spaces in subject
- if [[ "$SUBJECT" == *" "* ]]; then
- DOUBLE="true"
- else
- DOUBLE="false"
- fi
-
- if [ "$REVIEWED_BY" != "" -a \
- "$AUTHOR" == "$AUTHOR_SOB" -a \
- "$COMMITTER_SOB" == "$MAINTAINER" -a \
- "$DOUBLE" == "false" ]; then
- echo " - OK"
- else
- echo
- fi
-
- if [[ "$SUBJECT" == *" "* ]]; then
- echo " double spaces in: $SUBJECT"
- fi
- if [ "$REVIEWED_BY" == "" ]; then
- echo " no Reviewed-by:"
- fi
- if [ "$AUTHOR" != "$AUTHOR_SOB" ]; then
- echo " author $AUTHOR sob $AUTHOR_SOB"
- fi
- if [ "$COMMITTER_SOB" != "$MAINTAINER" ]; then
- echo " committer $COMMITTER_SOB maintainer $MAINTAINER"
- fi
-
-done
-[root@intel-lizardhead-04 ~]# cat /usr/local/bin/xfsprogs-summary.sh
-#!/bin/bash
-
-cat << EOF
-Hi folks,
-
-The xfsprogs repository at:
-
- git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
-
-has just been updated.
-
-Patches often get missed, so please check if your outstanding
-patches were in this update. If they have not been in this update,
-please resubmit them to [email protected] so they can be
-picked up in the next update.
-
-The new head of the master branch is commit:
-
-EOF
-
-git log --oneline -n 1 $* #v6.4.0
-
-echo
-echo New Commits:
-echo
-git shortlog --format="[%h] %s" $*
-
-echo
-echo Code Diffstat:
-echo
-git diff --stat --summary -C -M $*
-