[OE stablebranch] [Review] Fix autobuilder reporting breakage

Koen Kooi k.kooi at student.utwente.nl
Thu May 15 17:22:32 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This patch updates seppuku and angstrom to use the new bugzilla  
hostname and also takes care of the new Component names.

Signed-off-by: Koen Kooi <koen at openembedded.org>

#
# old_revision [f52dda0e39ffe571b469faa9a24c974b40ff781b]
#
# patch "classes/seppuku.bbclass"
#  from [2e4ed7154198cf9572934d22f734e8c907c9318a]
#    to [2b76af0bba21d8fe8d0098633e78807da08825d3]
#
# patch "conf/distro/include/angstrom.inc"
#  from [a35da1bc49e299e644b351694250e883d1e28e46]
#    to [462ce381bee140a82136d3a26a848b0c3128a262]
#
============================================================
- --- classes/seppuku.bbclass	2e4ed7154198cf9572934d22f734e8c907c9318a
+++ classes/seppuku.bbclass	2b76af0bba21d8fe8d0098633e78807da08825d3
@@ -32,7 +32,7 @@ def seppuku_login(opener, login, user, p
      the resulting page then

      @param opened = cookie enabled urllib2 opener
- -    @param login = http://bugs.openembedded.org/query.cgi?
+    @param login = http://bugs.openembedded.net/query.cgi?
      @param user  = Your username
      @param password  = Your password
      """
@@ -116,12 +116,12 @@ def seppuku_find_bug_report(debug_file,
      and the status.

      @param opener = urllib2 opener
- -    @param query  = e.g. http://bugs.openembedded.org/query.cgi?
+    @param query  = e.g. http://bugs.openembedded.net/query.cgi?
      @param product = search for this product
      @param component = search for this component
      @param bugname = the bug to search for

- -    http://bugs.openembedded.org/buglist.cgi?short_desc_type=substring&short_desc=manual+test+bug&product=Openembedded&emailreporter2=1&emailtype2=substring&email2=freyther%40yahoo.com
+    http://bugs.openembedded.net/buglist.cgi?short_desc_type=substring&short_desc=manual+test+bug&product=Openembedded&emailreporter2=1&emailtype2=substring&email2=freyther%40yahoo.com
      but it does not support ctype=csv...
      """
      import urllib
@@ -154,7 +154,7 @@ def seppuku_reopen_bug(poster, file, pro

      Same as with opening a new report, some bits need to be inside  
the url

- -    http://bugs.openembedded.org/process_bug.cgi?id=239&bug_file_loc=http%3A%2F%2F&version=Angstrom&longdesclength=2&product=Openembedded&component=Build&comment=bla&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other&knob=reopen&short_desc=foo
+    http://bugs.openembedded.net/process_bug.cgi?id=239&bug_file_loc=http%3A%2F%2F&version=Angstrom&longdesclength=2&product=Openembedded&component=org.openembedded.stable&comment=bla&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other&knob=reopen&short_desc=foo
      """

      import urllib2
@@ -189,7 +189,7 @@ def seppuku_file_bug(poster, file, produ
      Create a completely new bug report


- -    http://bugs.openembedded.org/post_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom&product=Openembedded&component=Build&short_desc=foo&comment=bla&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other
+    http://bugs.openembedded.net/post_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom&product=Openembedded&component=org.openembedded.stable&short_desc=foo&comment=bla&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other

      You are forced to add some default values to the bugzilla query  
and stop with '&'

============================================================
- --- conf/distro/include/angstrom.inc	 
a35da1bc49e299e644b351694250e883d1e28e46
+++ conf/distro/include/angstrom.inc	 
462ce381bee140a82136d3a26a848b0c3128a262
@@ -257,15 +257,15 @@ TINDER_REPORT     = "1"
  # in their local.conf

  # seppuku bbclass
- -SEPPUKU_LOGIN        = "http://bugs.openembedded.org/query.cgi?"
- -SEPPUKU_QUERY        = "http://bugs.openembedded.org/buglist.cgi?"
- -SEPPUKU_NEWREPORT    = "http://bugs.openembedded.org/post_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom%20unstable&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other& 
"
- -SEPPUKU_ADDCOMMENT   = "http://bugs.openembedded.org/process_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other& 
"
- -SEPPUKU_ATTACHMENT   = "http://bugs.openembedded.org/attachment.cgi?"
+SEPPUKU_LOGIN        = "http://bugs.openembedded.net/query.cgi?"
+SEPPUKU_QUERY        = "http://bugs.openembedded.net/buglist.cgi?"
+SEPPUKU_NEWREPORT    = "http://bugs.openembedded.net/post_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom%202007.12&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other& 
"
+SEPPUKU_ADDCOMMENT   = "http://bugs.openembedded.net/process_bug.cgi?bug_file_loc=http%3A%2F%2F&version=Angstrom%202007.12&priority=P2&bug_severity=normal&op_sys=Linux&rep_platform=Other& 
"
+SEPPUKU_ATTACHMENT   = "http://bugs.openembedded.net/attachment.cgi?"
  SEPPUKU_AUTOBUILD    = "1"

  SEPPUKU_PRODUCT      = "Openembedded"
- -SEPPUKU_COMPONENT    = "build"
+SEPPUKU_COMPONENT    = "org.openembedded.stable"




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFILFU6MkyGM64RGpERAlggAJ9saWDYXBTLqEwVJmxiQWDg4DmamQCgt8uW
SHUTTQAl3t4wsJlwyUDVGtY=
=Ts/4
-----END PGP SIGNATURE-----



More information about the Openembedded-stablebranch mailing list