Skip to content
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

Refactor CSV exports #1448

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Refactor CSV exports #1448

merged 1 commit into from
Nov 25, 2024

Conversation

matti-lamppu
Copy link
Collaborator

@matti-lamppu matti-lamppu commented Nov 22, 2024

🛠️ Changelog

  • Add PYTHONIOENCODING to the docker container
  • Rewrite ReservationUnit export to use BaseCSVExporter (should fix broken export in prod)
  • Enhance formatting on ReservationUnit export
  • Consolidate export logic from exporters to BaseCSVExporter
  • Move exporters to services

🧪 Test plan

  • Automated tests

🚧 Dependencies

  • None

🎫 Tickets

  • None

- Rewrite ReservationUnit export to use BaseCSVExporter
- Consolidate export logic from exporters to BaseCSVExporter
- Move exporters to services
@matti-lamppu matti-lamppu self-assigned this Nov 22, 2024
@github-actions github-actions bot added the fix Fixes a bug label Nov 22, 2024
@matti-lamppu matti-lamppu marked this pull request as ready for review November 22, 2024 16:29
Copy link
Collaborator

@ranta ranta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could have split this in multiple commits (e.g. docker stuff in one, moving the files in one, then modifying them to let git know it's the same file and show less changes in this PR) 🤓

@matti-lamppu matti-lamppu merged commit 84c7a53 into main Nov 25, 2024
6 checks passed
@matti-lamppu matti-lamppu deleted the fix-csv-exports branch November 25, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants