libreoffice bug reporting (part 2)

A draft implementation of a bug report front end for libreoffice was assembled behind a reverse proxy pretending that http://freedesktop.dachary.org/ is http://bugs.freedesktop.org/. For the Writer and BASIC components a subcomponent can be selected. The URLs of the existing bug reportings is appended to the page. When the form is submit the user is redirected to bugs.freedesktop.org with the proper fields set.

A wiki page linked from the FAQ explains how to report a bug in the bug report web site.
Another wiki page linked from the FAQ helps understand how to fill the various fields.

The subcomponent is not supported by bugzilla. It is a string that has to be included in the summary of the bug report.
A fake bug report was filled to observe the HTTP request sent to the server:

product	LibreOffice
token	mxTEnUaXmd
component	Chart
version	LibO 3.4.3 RC2
bug_severity	normal
rep_platform	Other
op_sys	All
priority	medium
bug_status	NEW
assigned_to	libreoffice-bugs@lists.freedesktop.org
qa_contact
cc
alias
bug_file_loc	http://
short_desc	TEST IGNORE
comment	TEST IGNORE
data
description
contenttypemethod	autodetect
contenttypeselection	text/plain
contenttypeentry
keywords
dependson
blocked
form_name	enter_bug

Rainer Bielefeld created wiki pages explaining the rationale in the context of libreoffice Q&A. It links to pages explaining what the Bug Submission Assistant is and what needs to be done.

It is not possible to use theJS implementation of the Bugzilla REST API on version 3.0.3 because it’s not implemented before 3.2 ( the latest stable 3.4.x, 3.6.x or 4.0.x point release of Bugzilla (many features will not work on 3.2); )

A reverse proxy is configured to resolve the same origin policy preventing a javascript file loaded from http://dachary.org/ to load a CSV list of bugs thru an ajax call from http://bugs.freedesktop.org/

<VirtualHost *:443>
    ServerName          freedesktop.dachary.org
    ProxyPass           /libreoffice/ http://dachary.dachary.vm.gnt/loic/libreoffice/ retry=1
    ProxyPass           / https://bugs.freedesktop.org/buglist.cgi retry=1
    ProxyPreserveHost   On
    SSLProxyEngine      On

        SSLEngine on

        #   A self-signed (snakeoil) certificate can be created by installing
        #   the ssl-cert package. See
        #   /usr/share/doc/apache2.2-common/README.Debian.gz for more info.
        #   If both key and certificate are stored in the same file, only the
        #   SSLCertificateFile directive is needed.
        SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
        SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

    ServerAdmin         loic@dachary.org
    ErrorLog            /var/log/apache2/freedesktop.conf.tld-error.log
    CustomLog           /var/log/apache2/freedesktop.conf.tld-access.log common
</VirtualHost>
This entry was posted in libreoffice. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>