Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pius to 3.0.0 and add Nicholas Meyer as proxy maintainer #15014

Closed
wants to merge 2 commits into from

Conversation

aristocrates
Copy link
Contributor

You can confirm that @jaymzh's signature is valid for the tarball and that the b2sum and sha512sum match what is in my commit:

Bug: https://bugs.gentoo.org/702762
Closes: https://bugs.gentoo.org/702762
Signed-off-by: Nicholas Meyer nickaristocrates@gmail.com

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @aristocrates
Areas affected: ebuilds
Packages affected: app-crypt/pius

app-crypt/pius: @gentoo/proxy-maint (maintainer needed)

Linked bugs

Bugs linked: 702762


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added maintainer-needed There is at least one affected package with no maintainer. Review it if you can. assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Mar 19, 2020
Copy link

@jaymzh jaymzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it'll crash in py3.6, FYI...

Copy link

@jaymzh jaymzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for packaging PIUS! <3

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, styling issues mostly. It also applies to your commit, you should check any previous commits to ::gentoo to see the syntax we use for summary line,
https://www.gentoo.org/glep/glep-0066.html#commit-messages

Also you can drop Bug: since Closes: references and closes the bug on merge.

If you'd like to become the proxy-maintainer for this package, just add yourself along with proxy-maint project to metadata.xml in a separate commit.
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers/User_Guide#Proxied_maintainer_in_metadata.xml

app-crypt/pius/pius-3.0.0.ebuild Outdated Show resolved Hide resolved
app-crypt/pius/pius-3.0.0.ebuild Outdated Show resolved Hide resolved
app-crypt/pius/pius-3.0.0.ebuild Outdated Show resolved Hide resolved
app-crypt/pius/pius-3.0.0.ebuild Outdated Show resolved Hide resolved
@juippis
Copy link
Member

juippis commented Mar 20, 2020

Oh I noted upstream seems to have a file to test python runtime, could you try implementing it?

@aristocrates
Copy link
Contributor Author

@juippis With app-crypt/pius[test] and FEATURES=test, 3.0.0 passes the test suite with this message:

>>> Test phase: app-crypt/pius-3.0.0
test_convert_from_v1 (test_state.TestFileConversion) ... ok
test_convert_from_v2 (test_state.TestFileConversion) ... ok
test_read_empty_writes_v3_with_new_data (test_state.TestFileConversion) ... ok
test_read_empty_writes_v3_with_no_new_data (test_state.TestFileConversion) ... ok
test_read_v1_writes_v3 (test_state.TestFileConversion) ... ok
test_read_v2_writes_v3 (test_state.TestFileConversion) ... ok

----------------------------------------------------------------------
Ran 6 tests in 0.015s

OK

and if you break the test suite and try to merge, you get a message like this:

>>> Test phase: app-crypt/pius-3.0.1
test_convert_from_v1 (test_state.TestFileConversion) ... FAIL
test_convert_from_v2 (test_state.TestFileConversion) ... FAIL
test_read_empty_writes_v3_with_new_data (test_state.TestFileConversion) ... ok
test_read_empty_writes_v3_with_no_new_data (test_state.TestFileConversion) ... ok
test_read_v1_writes_v3 (test_state.TestFileConversion) ... FAIL
test_read_v2_writes_v3 (test_state.TestFileConversion) ... FAIL

======================================================================
FAIL: test_convert_from_v1 (test_state.TestFileConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-crypt/pius-3.0.1/work/pius-3.0.1/test/libpius/test_state.py", line 24, in test_convert_from_v1
    self.kSAMPLE,
AssertionError: {'one': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'two': {'O[82 chars]one}} != {'one': {'OUTBOUNDD': 'SIGNED', 'INBOUND': None}, 'two': {'[83 chars]one}}
- {'one': {'INBOUND': None, 'OUTBOUND': 'SIGNED'},
+ {'one': {'INBOUND': None, 'OUTBOUNDD': 'SIGNED'},
?                                    +

   'three': {'INBOUND': None, 'OUTBOUND': 'SIGNED'},
   'two': {'INBOUND': None, 'OUTBOUND': 'SIGNED'}}

======================================================================
FAIL: test_convert_from_v2 (test_state.TestFileConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/app-crypt/pius-3.0.1/work/pius-3.0.1/test/libpius/test_state.py", line 34, in test_convert_from_v2
    self.kSAMPLE,
AssertionError: {'one': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'two': {'O[82 chars]one}} != {'one': {'OUTBOUNDD': 'SIGNED', 'INBOUND': None}, 'two': {'[83 chars]one}}
- {'one': {'INBOUND': None, 'OUTBOUND': 'SIGNED'},
+ {'one': {'INBOUND': None, 'OUTBOUNDD': 'SIGNED'},
?                                    +

   'three': {'INBOUND': None, 'OUTBOUND': 'SIGNED'},
   'two': {'INBOUND': None, 'OUTBOUND': 'SIGNED'}}

======================================================================
FAIL: test_read_v1_writes_v3 (test_state.TestFileConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.7/unittest/mock.py", line 1255, in patched
    return func(*args, **keywargs)
  File "/var/tmp/portage/app-crypt/pius-3.0.1/work/pius-3.0.1/test/libpius/test_state.py", line 47, in test_read_v1_writes_v3
    write_file.assert_called_once_with(temp)
  File "/usr/lib/python3.7/unittest/mock.py", line 884, in assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
  File "/usr/lib/python3.7/unittest/mock.py", line 873, in assert_called_with
    raise AssertionError(_error_message()) from cause
AssertionError: Expected call: write_file({'one': {'OUTBOUNDD': 'SIGNED', 'INBOUND': None}, 'two': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'three': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'four': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, '_meta': {'version': 3}})
Actual call: write_file({'one': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'two': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'three': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'four': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, '_meta': {'version': 3}})

======================================================================
FAIL: test_read_v2_writes_v3 (test_state.TestFileConversion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.7/unittest/mock.py", line 1255, in patched
    return func(*args, **keywargs)
  File "/var/tmp/portage/app-crypt/pius-3.0.1/work/pius-3.0.1/test/libpius/test_state.py", line 59, in test_read_v2_writes_v3
    write_file.assert_called_once_with(temp)
  File "/usr/lib/python3.7/unittest/mock.py", line 884, in assert_called_once_with
    return self.assert_called_with(*args, **kwargs)
  File "/usr/lib/python3.7/unittest/mock.py", line 873, in assert_called_with
    raise AssertionError(_error_message()) from cause
AssertionError: Expected call: write_file({'one': {'OUTBOUNDD': 'SIGNED', 'INBOUND': None}, 'two': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'three': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'four': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, '_meta': {'version': 3}})
Actual call: write_file({'one': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'two': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'three': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, 'four': {'OUTBOUND': 'SIGNED', 'INBOUND': None}, '_meta': {'version': 3}})

----------------------------------------------------------------------
Ran 6 tests in 0.018s

FAILED (failures=4)
 * ERROR: app-crypt/pius-3.0.1::nmeyer failed (test phase):
 *   Tests failed
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_test
 *   environment, line 2874:  Called die
 * The specific snippet of code:
 *       "${S}"/run_tests || die "Tests failed"

The diff I used to test breaking the pius test suite:

diff --git a/test/libpius/test_state.py b/test/libpius/test_state.py
index 7af1891..1bc6ca7 100755
--- a/test/libpius/test_state.py
+++ b/test/libpius/test_state.py
@@ -9,7 +9,7 @@ from libpius.state import SignState
 
 class TestFileConversion(unittest.TestCase):
   kSAMPLE = {
-      'one': {'OUTBOUND': 'SIGNED', 'INBOUND': None},
+      'one': {'OUTBOUNDD': 'SIGNED', 'INBOUND': None},
       'two': {'OUTBOUND': 'SIGNED', 'INBOUND': None},
       'three': {'OUTBOUND': 'SIGNED', 'INBOUND': None},
   }

@aristocrates aristocrates changed the title Bump pius to 3.0.0 Bump pius to 3.0.0 and add Nicholas Meyer as proxy maintainer Mar 23, 2020
@aristocrates
Copy link
Contributor Author

I ran pius installed from this ebuild from my local overlay to sign some keys and it ran without error for me on python 3.7

Copy link
Member

@juippis juippis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

 * Messages for package app-crypt/pius-3.0.0:

 * DISTUTILS_USE_SETUPTOOLS value is probably incorrect
 *   value:    DISTUTILS_USE_SETUPTOOLS=bdepend (default?)
 *   expected: DISTUTILS_USE_SETUPTOOLS=no

Could you check if this is true? There's good documentation what this means in
https://dev.gentoo.org/~mgorny/python-guide/distutils.html#different-build-system-variations and https://devmanual.gentoo.org/eclass-reference/distutils-r1.eclass/index.html

app-crypt/pius/pius-3.0.0.ebuild Outdated Show resolved Hide resolved
Comment on lines 24 to 27
src_test() {
"${S}"/run_tests || die "Tests failed"
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll want to use python_test here so it runs the test phase through on every python implementation installed and enabled. Now it only uses your default one. Check the content of run_tests file, it looks like python3 -m unittest discover -s test/* -v where you can just replace python3 with ${EPYTHON}. However this test looks so simple you can most likely get it to work by calling distutils_enable_test unittests from distutils-r1.eclass that you use.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately it looks like distutils_enable_tests unittests doesn't provide a way to pass in -s [arg]

unittest)
python_test() {
"${EPYTHON}" -m unittest discover -v ||
die "Tests fail with ${EPYTHON}"
}
;;
*)
, and then python3 -m unittest discover finds 0 tests to run:

>>> Test phase: app-crypt/pius-3.0.0
 * python3_7: running distutils-r1_run_phase python_test

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
 * python3_8: running distutils-r1_run_phase python_test

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

touch test/__init__.py && touch test/libpius/__init__.py makes python -m unittest discover just work (https://stackoverflow.com/a/29715336/2469311), which might be worth submitting upstream.

With this python_test:

python_test() {
       ${EPYTHON} -m unittest discover -s test/* -v
}

tests are run on all enabled python versions:

>>> Test phase: app-crypt/pius-3.0.0
 * python3_7: running distutils-r1_run_phase python_test
test_convert_from_v1 (test_state.TestFileConversion) ... ok
test_convert_from_v2 (test_state.TestFileConversion) ... ok
test_read_empty_writes_v3_with_new_data (test_state.TestFileConversion) ... ok
test_read_empty_writes_v3_with_no_new_data (test_state.TestFileConversion) ... ok
test_read_v1_writes_v3 (test_state.TestFileConversion) ... ok
test_read_v2_writes_v3 (test_state.TestFileConversion) ... ok

----------------------------------------------------------------------
Ran 6 tests in 0.013s

OK
 * python3_8: running distutils-r1_run_phase python_test
test_convert_from_v1 (test_state.TestFileConversion) ... ok
test_convert_from_v2 (test_state.TestFileConversion) ... ok
test_read_empty_writes_v3_with_new_data (test_state.TestFileConversion) ... ok
test_read_empty_writes_v3_with_no_new_data (test_state.TestFileConversion) ... ok
test_read_v1_writes_v3 (test_state.TestFileConversion) ... ok
test_read_v2_writes_v3 (test_state.TestFileConversion) ... ok

----------------------------------------------------------------------
Ran 6 tests in 0.019s

OK

Also note that the unit tests themselves all pass on python 3.6, which should probably also be reported upstream.

Closes: https://bugs.gentoo.org/702762
Signed-off-by: Nicholas Meyer <nickaristocrates@gmail.com>
Signed-off-by: Nicholas Meyer <nickaristocrates@gmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-04-14 07:19 UTC
Newest commit scanned: 0c3d896
Status: ✅ good

Issues already there before the PR (double-check them):
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-admin/ansible
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-admin/consul-template
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-admin/puppet
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-admin/rsyslog
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-admin/system-tools-backends
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-editors/atom
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-emulation/bochs
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-emulation/cloud-init
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-emulation/virtualbox-additions
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-emulation/virtualbox-guest-additions
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-emulation/virtualbox-modules
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-i18n/tomoe
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-metrics/consul_exporter
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-misc/cbrpager
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-misc/ignuit
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-office/gnucash
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-office/libreoffice-l10n
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-shells/hstr
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-text/glosung
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#app-text/jo
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-cpp/tbb
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-db/etcd
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-db/mongodb
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-db/pgagent
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-dotnet/gnome-keyring-sharp
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-embedded/gnome-avrdude
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-erlang/epam
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-java/swt
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-lang/lisaac
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-lang/qu-prolog
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-lang/ruby
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-lang/rust
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-libs/gjs
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-libs/glib
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-libs/iniparser
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-libs/libbpf
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-perl/Statistics-Basic
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-perl/gnome2-perl
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-perl/gnome2-vfs-perl
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/Numdifftools
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/autobahn
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/backports-functools-lru-cache
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/celery
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/contextlib2
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/deprecation
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/docker-py
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/ecdsa
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/falcon
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/flask-gravatar
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/flask-htmlmin
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/flask-security
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/fs
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/funcsigs
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/gconf-python
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/genson
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/gnome-vfs-python
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/google-api-python-client
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/google-apitools
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/kafka-python
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/kombu
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/libbonobo-python
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/libgnome-python
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/libgnomecanvas-python
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/linecache2
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/mock
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/pygtk
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/pymssql
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/pyorbit
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/python-daemon
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/python-xmp-toolkit
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/pyu2f
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/raet
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/reflink
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/rsa
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/testtools
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/ws4py
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-python/zipp
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-util/electron
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-util/intel-ocl-sdk
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-util/jenkins-bin
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#dev-vcs/subversion
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#games-board/gnono
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#games-board/grhino
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#games-board/gtkboard
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#games-board/mt_gtk_client
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#games-board/pioneers
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#games-board/sirius
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#games-board/teg
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#games-puzzle/gtetrinet
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#games-puzzle/skoosh
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gnome-base/gdm
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gnome-base/gnome-session
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gnome-base/libbonobo
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gnome-base/libbonoboui
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gnome-base/libgnome
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gnome-base/libgnome-keyring
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gnome-base/libgnomeui
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gnome-extra/cinnamon
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gnome-extra/gnome-commander
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#gui-libs/gtk-layer-shell
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#mail-client/claws-mail
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#mail-client/mail-notification
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#mail-client/thunderbird
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#mail-mta/nullmailer
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#mate-extra/caja-dropbox
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#mate-extra/caja-hide
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#mate-extra/mate-power-manager
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-gfx/darktable
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-gfx/inkscape
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-libs/cogl
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-libs/libgpod
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-libs/lilv
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-libs/mlt
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-libs/pymemphis
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-sound/grip
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-sound/jack-rack
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-tv/kodi
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-video/smplayer
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#media-video/unifi-video
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-analyzer/etherape
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-analyzer/ntopng
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-analyzer/wireshark
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-analyzer/zabbix
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-dns/bind
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-dns/dnsmasq
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-dns/unbound
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-ftp/lftp
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-im/teams
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-libs/libupnp
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-misc/apt-cacher-ng
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-misc/grdesktop
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-misc/gwget
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-misc/lldpd
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-misc/openssh
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-misc/rabbitmq-server
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-nds/openldap
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-nntp/pan
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-p2p/fms
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-p2p/retroshare
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-proxy/dante
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-proxy/haproxy
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-voip/telepathy-haze
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-vpn/networkmanager-openvpn
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-wireless/kismet
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#net-wireless/urh
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-biology/foldingathome
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-electronics/linsmith
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-libs/eccodes
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-libs/fftw
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-libs/openblas
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-libs/spqr
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-libs/suitesparse
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-libs/tensorflow
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-libs/umfpack
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-physics/clhep
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sci-physics/geant-data
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sys-apps/agedu
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sys-apps/file
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sys-apps/modutils
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sys-apps/rng-tools
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sys-devel/distcc
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sys-fs/lvm2
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sys-kernel/linux-firmware
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#sys-power/nut
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-apps/cgit
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-apps/grafana-bin
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-apps/jekyll
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-apps/netbox
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-apps/trac
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-client/firefox
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-client/seamonkey
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-client/seamonkey-bin
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-servers/nginx
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-servers/tomcat
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#www-servers/tornado
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#x11-misc/xnee
https://qa-reports.gentoo.org/output/gentoo-ci/b4b02c2/output.html#x11-plugins/pidgin-opensteamworks

@jaymzh
Copy link

jaymzh commented Apr 14, 2020

yeah my unittests are hardly comprehensive. They only cover the code converting between various versions of the config file format, because (1) it's easy to break back-compat and (2) that stuff is easy to write unittests for. They're just there to make my life easier. There has never been any attempt any any reasonable coverage (and given that the software just forks off gpg, there's not a lot that can be tested without significant mocking that would be quite cumbersome). That said, test contributions are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. maintainer-needed There is at least one affected package with no maintainer. Review it if you can.
Projects
None yet
5 participants