aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-maintainer
blob: 50390029770050527d950b9303007b8e69f8fcc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -ef
#
# kiss-maintainer - find the maintainer of a package.

kiss s "$1" | while read -r repo; do cd "$repo"
    m=$(git log -1 version 2>/dev/null) ||:
    m=${m##*Author: }
    m=${m%%>*}

    [ "$m" ] || continue

    printf '=> %s\n%s>\n' "$PWD" "$m"
done