1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 14:05:41 -07:00
kiss/contrib/kiss-maintainer
2019-12-19 08:32:44 +00:00

13 lines
315 B
Bash
Executable File

#!/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
}