[Erp5-dev] Proposal for CSV import/export enhancements

bartek bartek at erp5.pl
Tue Oct 16 13:45:52 CEST 2007


Łukasz Nowak wrote:
> Hello,
> 
> While playing with production we are able to import BOMs and many
> other useful information from various CAD/CAM/etc programs using CSV.
> 
> As CSV is quite...hm...undefined, there are many problems. Many
> programs use different implementation of CSV - some of them use ";" as
> separator some ",". Some use '"' as quote mark, some "'". Some use
> UTF-8 encoding, some other ASCII, and so on. So, IMHO, importing of
> CSV might be two-phase system. First one upload file, second one
> choose some attributes and provide user special listbox, which will
> "simulate" how will system understand provided CSV. Something similar
> to OpenOffice CSV import/export dialog.
> 
> Exporting might be also enhanced, to support many CSV types.
> 
> I'm able to provide such dialogues, create basic unit tests, and make
> such changes backward compatible. We need it and I think some other
> implementation would be happy to have featured CSV import/export.
> 
> What do you think about it? Would you accept to create erp5_csv_enhanced
> Business Template on which I would do my development and then, after
> acceptation and review put it into erp5_core, or shall I do it in-house
> and publicise work when done? Sending work efforts to mailing list is
> quite, hm, problematic. It would end up with patches, to patches, to
> patches, and so on...

I think it is generally a good way to proceed with such extra or 
community-made stuff. Not sure if the word "enhanced" is the most 
appropriate, since in this case it is in fact an experimental or 
development version which is going to be merged. Also, maybe it would 
make it more convenient if we use prefix instead of suffix (like 
"contrib_erp5_csv_style", or something similar), so that it is cleanly 
separated from core bt's.


Bartek

> 
> Regards,
> Luke
> 


-- 
"feelings affect productivity. (...) unhappy people write worse 
software, and less of it."
Karl Fogel, "Producing Open Source Software"



More information about the Erp5-dev mailing list