1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-23 15:40:07 -07:00
kiss/contrib/kiss-maintainer

13 lines
315 B
Plaintext
Raw Normal View History

2019-12-19 01:32:44 -07:00
#!/bin/sh -ef
2019-10-30 04:51:48 -06:00
#
# kiss-maintainer - find the maintainer of a package.
kiss s "$1" >/dev/null && {
2019-12-19 01:32:44 -07:00
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
2019-10-30 04:51:48 -06:00
}