Fwd: [python-bugzilla] ANNOUNCE: python-bugzilla 0.8.0 released

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's the new python-bugzilla release to support the future
bugzilla.redhat.com 4.4 update.

Of the incompatibilities listed below, the only one that I know fedora
infrastructure is using is Bug.url renamed to Bug.weburl. pkgdb supposedly
uses it.

Feel free to ping me if you hit any issues.

- Cole

-------- Original Message --------
Subject: [python-bugzilla] ANNOUNCE: python-bugzilla 0.8.0 released
Date: Sat, 16 Feb 2013 12:29:02 -0500
From: Cole Robinson <crobinso@xxxxxxxxxx>
Reply-To: python-bugzilla user/developer list
<python-bugzilla@xxxxxxxxxxxxxxxxxxxxxx>
To: python-bugzilla user/developer list <python-bugzilla@xxxxxxxxxxxxxxxxxxxxxx>

I'm happy to announce a new release of python-bugzilla, version 0.8.0.

The releases can be downloaded from:

https://fedorahosted.org/released/python-bugzilla/python-bugzilla-0.8.0.tar.gz

This release includes:

- Replace usage of non-upstream Red Hat bugzilla APIs with upstream replacements
- Test suite improvements, nearly complete code coverage
- Fix all open bug reports and RFEs


In particular, this release is necessary to support the next major update of
bugzilla.redhat.com. Most of the custom bugzilla.redhat.com XMLRPC API calls
are being removed, so python-bugzilla has been adjusted to transparently use
the upstream API replacements. There are some behavior changes though (that I
noticed):

- Format of Bug.longdescs/Bug.comments changed, though most of the info is
still available. Main change is that 'body' was renamed to 'text'

- ID field for Bug.attachments was renamed from attach_id -> id

- Bug.url (actual URL for the bug report) was been renamed to Bug.weburl.
Bug.url is now the URL field in the bug report.

- RHBZ parameter format back compatibility now must be explicitly enabled in
the API by setting RHBugzilla.rhbz_back_compat = True. Can also be set via
__init__. What this toggles:
-- Converts 'blocks'/'blockedby'/'blocked', 'keywords', and 'alias' fields
from a list to old style comma separated string
-- Converts current more verbose 'flags' field to old style comma separated string
-- Converts 'groups' value into more verbose setting per the old format.

However, usage of this back compat option is not recommended. I suggest
updating your scripts to use the new values returned by bugzilla.redhat.com,
since most fields are now stable and won't change in the future.

If you hit any regressions, please drop a mail to
python-bugzilla@xxxxxxxxxxxxxxxxxxxxxxx or file a bug in rhbz:

https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=python-bugzilla&version=18

Thanks,
Cole
_______________________________________________
python-bugzilla mailing list
python-bugzilla@xxxxxxxxxxxxxxxxxxxxxx
https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla


_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure



[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux