GothenburgBitFactory / bugwarrior

Pull github, bitbucket, and trac issues into taskwarrior
http://pypi.python.org/pypi/bugwarrior
GNU General Public License v3.0
736 stars 209 forks source link

bugzilla: Implement common filters. #772

Closed ryneeverett closed 3 years ago

ryneeverett commented 3 years ago

This adds support for the common configuration options only_if_assigned and also_unassigned, which should be supported by all services.

Resolve #243

Note: I haven't tested this, I just pieced it together based on the docs. (see comment below)

ryneeverett commented 3 years ago

@dthadi3 Any idea why we're only getting this error on power9? I take it the power9 image is just out of date?

File "/home/travis/virtualenv/python3.7.2/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 183, in _verify_openssl_version

    "You are linking against OpenSSL 1.0.2, which is no longer "

RuntimeError: You are linking against OpenSSL 1.0.2, which is no longer supported by the OpenSSL project. To use this version of cryptography you need to upgrade to a newer version of OpenSSL. For this version only you can also set the environment variable CRYPTOGRAPHY_ALLOW_OPENSSL_102 to allow OpenSSL 1.0.2.
svghadi commented 3 years ago

@ryneeverett Your assumption is true. The xenial distribution for power comes with openssl 1.0.2. If we require higher version, we need to switch to bionic which has openssl 1.1.1. To resolve this failure, we can either update to bionic or set the CRYPTOGRAPHY_ALLOW_OPENSSL_102 env variable as suggested. @dthadi3

ryneeverett commented 3 years ago

Tested with the following configuration (rebased on #787):

[general]
targets = my_bugzilla

[my_bugzilla]
service = bugzilla
bugzilla.base_uri = bugzilla.redhat.com
bugzilla.username = rbean@redhat.com
bugzilla.only_if_assigned = Ralph Bean