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@redhat.com Reply-To: python-bugzilla user/developer list python-bugzilla@lists.fedorahosted.org To: python-bugzilla user/developer list python-bugzilla@lists.fedorahosted.org
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....
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@lists.fedoraproject.org or file a bug in rhbz:
https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=pytho...
Thanks, Cole _______________________________________________ python-bugzilla mailing list python-bugzilla@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla
On 02/16/2013 12:41 PM, Cole Robinson wrote:
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.
And to clarify, this update should not break the world: it should be a drop in replacement that will work with current bugzilla.redhat.com and future bugzilla.redhat.com, modulo bugs of course.
If this update breaks a /usr/bin/bugzilla invocation or direct use of the bugzilla module, please file a bug. For some things the answer might be 'change your code' but many things are trivial to work around in python-bugzilla.
- 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@redhat.com Reply-To: python-bugzilla user/developer list python-bugzilla@lists.fedorahosted.org To: python-bugzilla user/developer list python-bugzilla@lists.fedorahosted.org
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....
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@lists.fedoraproject.org or file a bug in rhbz:
https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=pytho...
Thanks, Cole _______________________________________________ python-bugzilla mailing list python-bugzilla@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla
infrastructure@lists.fedoraproject.org