OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
411 B

  1. statuses=$(cat etc/status | sed -e "s/^#.*$//" | cut -f1 | sort -b | uniq)
  2. # Output the total number of packages
  3. pkgs=$(find package -name "*.desc" | wc -l)
  4. echo Total number of packages: $pkgs
  5. echo ""
  6. for status in $statuses; do
  7. # Determine the number of packages containing
  8. # the current status.
  9. statusOwners=$(grep -e "^\[S[^R].*$status" package/*/*/*.desc | wc -l)
  10. echo $status $statusOwners
  11. done