Skip to content

Commit 6ba67bf

Browse files
committed
bz-api-notes: Add bugzilla 5 bits
1 parent 2e4c0a0 commit 6ba67bf

2 files changed

Lines changed: 68 additions & 72 deletions

File tree

bugzilla/bug.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ def setstatus(self, status, comment=None, private=False,
179179
180180
To change bugs to CLOSED, use .close() instead.
181181
'''
182+
# Note: fedora bodhi uses this function
182183
ignore = private_in_it
183184
ignore = nomail
184185

bz-api-notes.txt

Lines changed: 67 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ Red Hat bugzilla originally had a totally custom API. Much of that is
66
being dropped in 2013, API conversions outlined here:
77
https://bugzilla.redhat.com/show_bug.cgi?id=822007
88

9-
Current RH bugzilla docs:
10-
https://bugzilla.redhat.com/docs/en/html/api/
11-
129
Externally facing RH bugzilla instance that doesn't send email and is
1310
refreshed periodically. This is what is used in the functional test suite:
1411
http://partner-bugzilla.redhat.com
@@ -22,6 +19,7 @@ Some trackers in the wild to use for API testing:
2219
bugzilla.novell.com
2320
bugzilla.zimbra.com
2421
bugzilla.samba.org
22+
bugs.gentoo.org
2523

2624

2725
Upstream timeline
@@ -34,90 +32,87 @@ Bugzilla 2.*:
3432

3533
Bugzilla 3.0:
3634
http://www.bugzilla.org/docs/3.0/html/api/index.html
37-
Bug:
38-
legal_values
39-
get_bugs:
40-
returns: id, alias, summary, creation_time, last_change_time
41-
create
42-
Bugzilla:
43-
version
44-
timezone
45-
Product:
46-
get_selectable_products
47-
get_enterable_products
48-
get_accessible_products
49-
get_products
50-
User:
51-
login
52-
logout
53-
offer_account_by_email
54-
create
35+
Bug.legal_values
36+
Bug.get_bugs:
37+
returns: id, alias, summary, creation_time, last_change_time
38+
Bug.create
39+
Bugzilla.version
40+
Bugzilla.timezone
41+
Product.get_selectable_products
42+
Product.get_enterable_products
43+
Product.get_accessible_products
44+
Product.get_products
45+
User.login
46+
User.logout
47+
User.offer_account_by_email
48+
User.create
5549

5650
Bugzilla 3.2:
5751
http://www.bugzilla.org/docs/3.2/en/html/api/
58-
Bug:
59-
RENAME: get_bugs->get, get_bugs should still work
60-
add_comment
61-
Bugzilla:
62-
extensions
63-
Product:
64-
RENAME: get_products->get, get_products should still work
52+
Bug: RENAME: get_bugs->get, get_bugs should still work
53+
Bug.add_comment
54+
Bugzilla.extensions
55+
Product: RENAME: get_products->get, get_products should still work
6556

6657
Bugzilla 3.4:
6758
http://www.bugzilla.org/docs/3.4/en/html/api/
68-
Bug:
69-
comments
70-
history
71-
search
72-
update_see_also
73-
Bugzilla:
74-
time
75-
DEPRECATED: timezon,e use time instead
76-
User:
77-
get
78-
Util:
79-
filter_fields
80-
validate
59+
Bug.comments
60+
Bug.history
61+
Bug.search
62+
Bug.update_see_also
63+
Bugzilla.time
64+
Bugzilla: DEPRECATED: timezone, use time instead
65+
User.get
66+
Util.filter_fields
67+
Util.validate
8168

8269
Bugzilla 3.6:
8370
http://www.bugzilla.org/docs/3.6/en/html/api/
84-
Bug:
85-
attachments
86-
fields
87-
DEPRECATED: legal_values
88-
Bugzilla:
89-
timezone now always returns UTC+0000
71+
Bug.attachments
72+
Bug.fields
73+
Bug: DEPRECATED: legal_values
74+
Bugzilla: timezone now always returns UTC+0000
9075

9176
Bugzilla 4.0:
9277
http://www.bugzilla.org/docs/4.0/en/html/api/
93-
Bug:
94-
add_attachment
95-
update
96-
Util:
97-
filter_wants
78+
Bug.add_attachment
79+
Bug.update
80+
Util.filter_wants
9881

9982
Bugzilla 4.2:
10083
http://www.bugzilla.org/docs/4.2/en/html/api/
101-
Group:
102-
create
103-
Product:
104-
create
84+
Group.create
85+
Product.create
10586

10687
Bugzilla 4.4:
10788
http://www.bugzilla.org/docs/4.4/en/html/api/
108-
Bug:
109-
update_tags
110-
Bugzilla:
111-
parameters
112-
last_audit_time
113-
Classification:
114-
get
115-
Group:
116-
update
117-
Product:
118-
update
119-
User:
120-
update
121-
Util:
122-
translate
123-
params_to_objects
89+
Bug.update_tags
90+
Bugzilla.parameters
91+
Bugzilla.last_audit_time
92+
Classification.get
93+
Group.update
94+
Product.update
95+
User.update
96+
Util.translate
97+
Util.params_to_objects
98+
99+
Bugzilla 5.0: (July 2015)
100+
https://www.bugzilla.org/docs/5.0/en/html/integrating/api/index.html
101+
Bug.update_attachment
102+
Bug.search/update_comment_tags
103+
Bug.search:
104+
search() now supports --from-url style, like rhbz before it
105+
search() now supports quicksearch
106+
Bug.update:
107+
update() alias is now a hash of add/remove/set, but has back compat
108+
update() can take 'flags' config now
109+
Component (new, or newly documented?)
110+
Component.create
111+
User.valid_login
112+
113+
114+
Redhat Bugzilla: 4.4 based with extensions. Bits on top of 4.4
115+
https://bugzilla.redhat.com/docs/en/html/api/
116+
Bug.search has --from-url extension
117+
Bug.update has more hashing support
118+
ExternalBugs extension: https://bugzilla.redhat.com/docs/en/html/api/extensions/ExternalBugs/lib/WebService.html

0 commit comments

Comments
 (0)