pkgdev icon indicating copy to clipboard operation
pkgdev copied to clipboard

Helper to file bugreports

Open jonasstein opened this issue 2 years ago • 0 comments

Similar to https://github.com/pkgcore/pkgdev/issues/113 it would be nice to have a tool, which collects the data for failed builds

sketch:

pkgbug --reportbuildfail "/app-shells/bash-1.2.3"

<runs emerge, if emerge works break>
<opens $EDITOR>
Subject: /app-shells/bash-1.2.3: Build fails
<empty line as known in git>
# write your report here
#
emerge info:
------8<-------------------
....
# end of comment

INFO: bug report created https://bugs.gentoo.org/12345
INFO: build.log was successfully attached 

Should this go into a new script like pkgbug, or should it be an extension of pkgcheck?

jonasstein avatar Jan 15 '23 23:01 jonasstein