Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Topic: FreeBSD
- # Subject: List someone's commits and submitted-by's
- time svn log | awk -v verbose=1 -v user=dteske -v sb="[[:space:]]devin|teske" 'BEGIN{ sep = sprintf("%72s", ""); gsub(/ /, "-", sep) } $0 == sep { t++; getline change; found = (change ~ "^r[[:digit:]]+ \\| " user " \\| "); if (found) { n++; if (verbose) print n, change } next } found { next } tolower($0) ~ "^[[:space:]]*submitted[[:space:]]+by[[:space:]]*:.*(" sb ")" { found++; n++; if (verbose) print n, change; next } END { print n, "/", t }'
- # Please note that these are not meaningful statistics to be used for qualifying someone's contributions. Only individuals that have worked personally with a contributor are in a position to make qualitative statements. Only of pure quantitative value.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement