Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgenerate-bug-report13
1 files changed, 13 insertions, 0 deletions
diff --git a/generate-bug-report b/generate-bug-report
index e599352..7a19bcc 100755
--- a/generate-bug-report
+++ b/generate-bug-report
@@ -27,6 +27,7 @@ if ! makepkg_info=$(makepkg --verifysource 2>&1); then
makepkg --verifysource 2>&1
)
fail_command='makepkg --verifysource'
+ title='source error'
else
>&2 echo 'Nothing wrong with upstream'"'"'s source - should I try to build? (empty="yes")'
read -r s
@@ -50,6 +51,7 @@ else
>&2 echo 'Builds fine on x86_64.'
exit
fi
+ title='fails to build in clean chroot'
bug_report='extra-x86_64-build fails with:'
fail_command='extra-x86_64-build'
log='full log is attached'
@@ -57,6 +59,17 @@ else
fi
printf 'Bug report:\n\n'
+printf 'Title: [%s] %s\n' \
+ "$(
+ basename "$(
+ dirname "$(
+ dirname "$(
+ pwd
+ )"
+ )"
+ )"
+ )" \
+ "${title}"
printf 'Description:\n\n'
printf '%s\n' "${bug_report}"
printf 'Additional info:\n'