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

Add bulk export functionality to DefraRuby::Exporters #105

Merged
merged 28 commits into from
Mar 29, 2019

Conversation

eminnett
Copy link
Contributor

https://eaflood.atlassian.net/browse/RUBY-68

The second half of the functionality for the DefraRuby::Exporters library is to add bulk exports. This is the feature to generate CSV files containing all of the registration exemptions data in the database.

@eminnett eminnett self-assigned this Mar 28, 2019
@eminnett eminnett added the enhancement New feature or request label Mar 28, 2019
@eminnett eminnett force-pushed the add-bulk-export-functionality branch from 81bdde1 to 8ca99b6 Compare March 28, 2019 18:45
@eminnett
Copy link
Contributor Author

The force push was to fix a typo in the commit message.

Copy link
Member

@Cruikshanks Cruikshanks left a comment

Choose a reason for hiding this comment

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

Most of the feedback is personal opinion so open for discussion.

The one overarching thing I'd say is if I'd have taken the time to understand how complex wrangling the date ranges would be and how much code it would add, I might have gone for something more hacky and far less refined as our starter for ten. But that's a lesson for me, and the upside is we should be able to handle anything thrown at us now!

.env.example Show resolved Hide resolved
app/controllers/bulk_exports_controller.rb Outdated Show resolved Hide resolved
config/routes.rb Outdated Show resolved Hide resolved
lib/defra_ruby/exporters/bulk_export_file.rb Outdated Show resolved Hide resolved
lib/defra_ruby/exporters/registration_export_service.rb Outdated Show resolved Hide resolved
lib/defra_ruby/exporters/registration_export_service.rb Outdated Show resolved Hide resolved
@eminnett eminnett merged commit 48813fc into master Mar 29, 2019
@eminnett eminnett deleted the add-bulk-export-functionality branch March 29, 2019 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants