-
Notifications
You must be signed in to change notification settings - Fork 9
Feature/save-raw-report-data #980
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
Conversation
- Introduced a new directory for raw migration reports in FolderStructure. - Updated the migration report class to include a method for writing reports in JSON format. - Enhanced folder verification to create missing directories as needed. - Added tests to ensure the creation of subfolders and proper handling of missing base folders.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #980 +/- ##
==========================================
+ Coverage 76.98% 77.20% +0.21%
==========================================
Files 104 106 +2
Lines 13955 14036 +81
Branches 1734 1736 +2
==========================================
+ Hits 10743 10836 +93
+ Misses 2867 2859 -8
+ Partials 345 341 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Introduced i18n caching with the `i18n_t` function to improve performance by caching translation results. - Updated various modules to replace direct calls to `i18n.t` with the new `i18n_t` function for consistency and efficiency. - Added tests for the i18n caching functionality to ensure correct behavior, including cache hits, misses, and parameterized translations. - Ensured that all relevant translation strings across the migration tools are now utilizing the caching mechanism.
…fix linting errors
|



Purpose
Add a feature to save the raw task statistics report data as JSON alongside the Markdown version of the reports. This will will allow alternative processing/presentation of that data in the future.
Refactor how i18n translations are handled to cache frequently-used translations to improve transformation performance across the board.
Update GitHub Actions to use uv.
Changes Made in this PR
Added a raw data directory to the output folder structure, added method on the migrationreport class to output the report dictionary as JSON, and add tests. Also bump package version.
Code Review Specifics
Task Checklist
nox -rs safety.pre-commit run --all-filesnox -rs testscd src; poetry run python3 -m folio_migration_tools -hWarning Checklist
How to Verify
Open Questions
Learn Anything Cool?