mirror of
https://codeberg.org/kiss-community/kiss
synced 2025-03-10 07:10:01 -06:00
Seeing as how these utilities are now better integrated, more effort should go into the overall interface between what should be the "benchmark" or example kiss scripts.
18 lines
322 B
Bash
Executable File
18 lines
322 B
Bash
Executable File
#!/bin/sh -ef
|
|
# Find the maintainer of a package.
|
|
|
|
[ "$1" ] || {
|
|
printf 'usage: kiss-maintainer [pkg]\n'
|
|
exit 1
|
|
}
|
|
|
|
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
|