Closed harriebird closed 2 weeks ago
Attention: Patch coverage is 97.72727%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 98.25%. Comparing base (
45163d1
) to head (1c76d96
). Report is 108 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
weblate_schemas/messages.py | 95.31% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good for the body schema, now we need to wrap it in Python classes (see https://fedora-messaging.readthedocs.io/en/stable/user-guide/messages.html). Maybe header schema will be needed as well (I didn't investigate that).
Hi everyone, thank you for your comments. The latest commit contains the following changes:
WeblateV1Message
summary
and usernames
into the WeblateV1Message
classjsonschema
with jsonschema[format]
to extend format validation supportHi everyone, I just updated the code based on your comments. Below are the changes made:
setup.py
and moved the entry_points
declaration to setup.cfg
fedora-messaging
and jsonschema[format]
to requirements-test.txt
summary
property implementationusernames
property implementationid
property into change_id
get
method in accessing the body dictionarypip install -e .
command in the dependency install of test.yml
workflowI've scheduled this for merge because I want to release this package soon anyway. In case we hit some issues later, those can be fixed in the next release.
Proposed changes
This adds a new schema for Weblate Fedora Messaging. This solves issue fedora_messaging#268.
Checklist
Other information