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

kiss s "$1" >/dev/null && {
    for repo in $(kiss s "$1"); do cd "$repo"
        maintainers=$(git log . 2>/dev/null | grep -F Author: | sort -u)

        [ "$maintainers" ] &&
            printf '=> %s\n%s\n' "$PWD" "$maintainers"
    done
}