utils.bz module

class utils.bz.BugWrapper(bugzilla, bug)[source]

Bases: object

bugzilla[source]
can_test_on_upstream[source]
copies[source]

Returns list of copies of this bug.

copy_of[source]

Returns either id of the bug this is copy of, or None, if it is not a copy.

is_opened[source]
loose[source]
product[source]
qa_whiteboard[source]

Returns a set of QA Whiteboard markers.

It relies on the fact, that our QA Whiteboard uses format foo:bar:baz.

Should be able to handle cases like ‘foo::bar’, or ‘abc:’.

release_flag[source]
upstream_bug[source]
zstream[source]
class utils.bz.Bugzilla(**kwargs)[source]

Bases: object

bug_count[source]
bugs[source]
bugzilla[source]
default_product[source]
classmethod from_config()[source]
get_bug(id)[source]
get_bug_variants(id)[source]
loose[source]
open_states[source]
product(product)[source]
products(*names)[source]
resolve_blocker(blocker, version=None, ignore_bugs=set([]), force_block_streams=[])[source]
upstream_version[source]
class utils.bz.Product(data)[source]

Bases: object

default_release[source]
latest_version[source]
milestones[source]
name[source]
releases[source]
versions[source]
utils.bz.check_fixed_in(fixed_in, version_series)[source]