mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 14:05:41 -07:00
6786d2ca0a
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
|