[weboob] [RFC][PATCH] Redmine fixes

François Revol revol at free.fr
Tue Feb 11 22:17:48 CET 2014


Hi,
I had to add this to get a batch of 200 tickets into a french localized
redmine from an ugly spreadsheet.

I'm not entirely sure of everything but it worked for me.

* add missing fields in Issue (and Project classes but not implemented):
** start and due dates
** tracker
** priority

* pass the fields values along

* fix custom fields using <select> lists
When using multiple-select lists, redmine seems to add a hidden text
input field with the same id as the <select> field, so we must ignore
hidden fields.

* fix custom fields with localized names (accented, with spaces) in the
frontend by dropping accents and replacing spaces in sanitize_key().

* Fix parsing some dates on a french redmine

* Don't fail when no category at all is defined

* Work around some encoding issues

Comments?

François.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: weboob-redmine-wip-fixes-20140211.patch
Type: text/x-patch
Size: 20038 bytes
Desc: not available
URL: <https://lists.symlink.me/pipermail/weboob/attachments/20140211/2fd794a7/attachment.bin>


More information about the weboob mailing list