diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-05-15 14:43:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-05-15 14:43:47 +0000 |
commit | 864c2f00105057f694d84af17a4ec21ede85aee0 (patch) | |
tree | 97c8f3607cfc5160b71e9a175780661609242b8c | |
parent | 7665d971b7b052d0059256a0247cedd7b7e84c22 (diff) | |
download | drakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.tar drakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.tar.gz drakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.tar.bz2 drakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.tar.xz drakx-backup-do-not-use-864c2f00105057f694d84af17a4ec21ede85aee0.zip |
(report_bug_to_bugzilla) prefill the platform field
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rwxr-xr-x | perl-install/standalone/drakbug | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 48d7bdb8a..997c24f7f 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- drakbug: + o prefill the platform field + Version 10.32 - 13 May 2008 - draksound: diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index c3b1ef7ac..5b32631c2 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -238,11 +238,14 @@ sub report_bug_to_bugzilla() { } my $rel_data = mandrake_release_info(); my $rel = standalone::real_version(); + my $arch = arch(); + $arch = 'i586' if arch =~ /^i.86/; my $options = join('&', ($product || $version ? 'cf_rpmpkg=' . join('-', $product, $version) : ()), 'version=' . ($rel_data->{branch} eq 'Devel' ? 'Cooker' : $rel_data->{version}), 'component=Core%20Packages', 'classification=Mandriva%20Linux', + "rep_platform=$arch", if_($incident, "short_desc=$prog%20" . ($segfaulted ? 'segfaulted' : 'crashed'), 'comment=' . uri_escape(qq(The "$prog" program crashed. Drakbug-$rel caught it. |