Codebase list rust-libslirp / 60c1369 dev / list-rfs.sh
60c1369

Tree @60c1369 (Download .tar.gz)

list-rfs.sh @60c1369raw · history · blame

#!/bin/sh
for i in src/*/debian/RFS; do
    echo "$(git log -1 --pretty="format:%ct" "$i")" "$i"
done | sort  | while read t i; do
    pkg=$(basename "$(dirname "$(dirname "$i")")")
    if test -n "$(git --no-pager branch --remotes -l origin/pending-"$pkg")"; then
        # If a pending branch exists, skip it
        continue
    fi
    echo "$(date -d@"$t") $pkg"
    # trim the content
    content=$(xargs '-d\n' echo -n < "$i")
    if test -n "$content"; then
        echo "  $content"
    fi
done