Open thesamesam opened 1 year ago
Second point was fixed
Same(?) problem with only ~amd64
$ pkgdev bugs -s =dev-java/jtwig-reflection-5.87.0
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.11/pkgdev", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.11/site-packages/pkgdev/scripts/__init__.py", line 48, in main
run(os.path.basename(sys.argv[0]))
File "/usr/lib/python3.11/site-packages/pkgdev/scripts/__init__.py", line 40, in run
sys.exit(tool())
^^^^^^
File "/usr/lib/python3.11/site-packages/snakeoil/cli/tool.py", line 81, in __call__
ret = self.main()
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkgdev/cli.py", line 23, in main
return super().main()
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/snakeoil/cli/tool.py", line 191, in main
self.handle_exec_exception(e)
File "/usr/lib/python3.11/site-packages/snakeoil/cli/tool.py", line 176, in main
exitstatus = func(self.options, self.out, self.err)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkgdev/scripts/pkgdev_bugs.py", line 540, in main
d.build_full_graph(targets)
File "/usr/lib/python3.11/site-packages/pkgdev/scripts/pkgdev_bugs.py", line 344, in build_full_graph
assert (
AssertionError: no keywords for =dev-java/jtwig-reflection-5.87.0, currently unsupported by tool: https://github.com/pkgcore/pkgdev/issues/123
I'm currently using the following to test
pkgdev bugs
:pkgdev bugs --auto-cc-arches base-system@gentoo.org --api-key $(<~/.bugz_token) $(git grep -l "base-system@gentoo.org" */*/metadata.xml | cut -d/ -f1-2 | pkgcheck scan -k StableRequest -R FormatReporter --format "={category}/{package}-{version}" - | vipe)
It looks like having libseccomp in the list results in the following:
I think there's two bugs here:
pkgdev bugs
should give a nicer error when a listed package has an unkeyworded versionpkgcheck scan -k StableRequest
shouldn't fire for=dev-libs/libseccomp-2.5.4-r1
which is only keyworded for~loong
.