Closed dcermak closed 1 year ago
Patch coverage: 96.96
% and project coverage change: +0.14
:tada:
Comparison is base (
d0aaa85
) 28.22% compared to head (3b26e32
) 28.36%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
IMO it's a bit weird to convert only one of the
namedtuple
s
That's the one I cared about :shrug:
./osclib/origin.py:4:1: F401 'typing.Generator' imported but unused
./osclib/origin.py:4:1: F401 'typing.Tuple' imported but unused
Fabian Vogt @.***> writes:
@Vogtinator commented on this pull request.
"""Convert an XML element comment into a dictionary.
:param comment_element: XML element that store a comment. :returns: A Python dictionary object. """
- comment = {
- when_str = comment_element.get('when')
In that case I recommend to remove the handling for
None
again. If the value is somehow missing it should fail fast and not at some point later when there's an unexpected missing timestamp somewhere...
Done.
@dcermak rebase please
Done
as mentioned on slack, it broke check_tags_in_requests.py:
script-executor] Script written into '/go/pipelines/Run.Changelog.Checker/5497b97e-9b94-4d20-ad65-d1aaee788380.sh'.
check_tags_in_requests.py: option --review-mode: invalid choice: 'accept-onpass' (choose from <ReviewChoices.NORMAL: 'normal'>, <ReviewChoices.NO: 'no'>, <ReviewChoices.ACCEPT: 'accept'>, <ReviewChoices.ACCEPT_ONPASS: 'accept-onpass'>, <ReviewChoices.FALLBACK_ONFAIL: 'fallback-onfail'>, <ReviewChoices.FALLBACK_ALWAYS: 'fallback-always'>)
Try 'check_tags_in_requests.py help' for info.
[script-executor] Script completed with exit code: 1.
For reference: this no longer works with osc 0.182.1 from Leap
For reference: this no longer works with osc 0.182.1 from Leap
also with https://github.com/openSUSE/openSUSE-release-tools/pull/2990?
For reference: this no longer works with osc 0.182.1 from Leap
also with #2990?
Tested with today's HEAD aka 82c067dc2c5e8ccdf473d82d687bdfff09f8be3e
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/osc/commandline.py", line 9583, in _load_plugins
mod = imp.load_source(modname, os.path.join(plugin_dir, extfile))
File "/usr/lib64/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/dimstar/.osc-plugins/osc-staging.py", line 17, in <module>
from osclib.accept_command import AcceptCommand
File "/home/dimstar/.osc-plugins/osclib/accept_command.py", line 11, in <module>
from osclib.core import attribute_value_save, attribute_value_load
File "/home/dimstar/.osc-plugins/osclib/core.py", line 20, in <module>
from osc.connection import http_DELETE
ModuleNotFoundError: No module named 'osc.connection'
/home/dimstar/.osc-plugins/osc-staging.py: No module named 'osc.connection'
IMO it's a bit weird to convert only one of the
namedtuple
s