Skip to content

Instantly share code, notes, and snippets.

View siddhesh's full-sized avatar

Siddhesh Poyarekar siddhesh

View GitHub Profile
@siddhesh
siddhesh / process-copr-buildlogs.sh
Last active January 1, 2026 19:58
Walk through a downloaded dump of copr build logs and categorize them in a csv. This is used to test a new gcc with a mass prebuild.
#!/bin/bash
is_pkgbug_includes() {
if echo "$1" | tail -1 | grep -q "this is probably fixable by adding ‘#include"; then
return 0
elif echo "$1" | head -1 | grep -q "use of undeclared identifier 'uint64_t'"; then
return 0
fi
return 1
}