Closed pieqq closed 1 week ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 48.03%. Comparing base (
b2822b6
) to head (2246f89
). Report is 2 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
The Jinja2 template data already has
client_version
, which internally uses theplainbox.get_version_string()
function to return either the Checkbox version as a string likeeither information about the Snap being used, if Checkbox is run as a snap:
This commit adds a
checkbox_version
field that always contains only the Checkbox version, without any additional string, such as :This allows for a more precise tracking of what version of the Checkbox framework is used for debugging purposes.
Resolved issues
Fix #1580
https://warthogs.atlassian.net/browse/CHECKBOX-1643
Documentation
Checkbox JSON schema updated to reflect the new properties.
Tests
submission.json
file and make sure it contains theclient_version
andcheckbox_version
fields, such as:Also tested the changes from within a snap. The resulting
submission.json
starts with: