seven1m / onebody

private member portal for churches, built with Ruby on Rails
GNU Affero General Public License v3.0
1.4k stars 284 forks source link

Allow imported boolean fields to be interpreted in reverse #674

Closed zarniwoop closed 7 years ago

zarniwoop commented 7 years ago

As a PowerChurch user importing to OneBody from CSV, I want OneBody to let me instruct it for boolean fields to read true from the CSV as false for the import and vice versa, So that I can use the fields from PowerChurch member data such as "Adult?" and "Hide Email?" without the need to scrub them first before import.

seven1m commented 7 years ago

@zarniwoop you might be interested in our onebody-sync project, which includes a script to export data from PowerChurch to CSV for import into OneBody. The script converts "adult" Y/N to "child" N/Y for import into OneBody.

Is this the only boolean field you need to reverse?

seven1m commented 7 years ago

I think onebody-sync is the correct approach. Interpreting import fields in reverse seems like a fairly narrow edge case that can be handled easily by an outside script. Adding UI for this would probably just confuse people.