Skip to content
Browse files

Store build log URL in comment instead of URL field.

This allows assignees to use the URL field without the need of
copy-pasting build log in n-th comment, making it hard to find.
  • Loading branch information...
1 parent 270f929 commit 80a442d438124f844058e08dc8b802b33fce8bcb @mgorny mgorny committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 display.rb
View
4 display.rb
@@ -50,10 +50,10 @@
:bug_template => {
:assigned_to => (data.attributes["bug_assignee"][0] rescue "bug-wranglers@gentoo.org"),
:cc => (data.attributes["bug_cc"][0] rescue ""),
- :bug_file_loc => (data.attributes["public_url"][0] rescue ""),
:product => "Gentoo Linux",
:component => "Ebuilds",
- :comment => (File.read("emerge-infos/" + data.attributes["host"][0]) rescue ""),
+ :comment => (data.attributes["public_url"][0] rescue "") + "\n\n" +
+ (File.read("emerge-infos/" + data.attributes["host"][0]) rescue ""),
:short_desc => ("#{data.attributes["pkg"][0]}: " rescue ""),
}
}

0 comments on commit 80a442d

Please sign in to comment.
Something went wrong with that request. Please try again.