← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] 2.23 Metadata importer rewrite and dryRuns

 

Hi Calle

Yeah, I think its obvious from the quick emails we are getting that we
should not remove it. I would be great to have a proper rollback feature,
but right now this won't be that easy to add.

(I am talking about metadata only though, you seem to also mention
aggregate/event data? those importers are not scheduled to be rewritten,
and will behave as today)

--
Morten

On Tue, Feb 2, 2016 at 3:26 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
wrote:

> Morten,
>
> Dropping the dry run is OK if, and I stress if, the import process itself
> becomes more transparent and step-wise. Basically this means
> 1.
> Display new records coming in, with the ability to remove all or some from
> import
> 2.
> Display updated records coming in and the equivalent existing records,
> with the ability to remove all or some from import/updating.
>
> The fundamental problem with DHIS2 imports are that they are "black
> boxes", you cannot see what's happening until after it's done. Without even
> the dry run, your only "Safety net" is to back up the whole database just
> before importing - which is tricky to do in a production environment when
> manager A imports data while user B,C,D, and E are capturing data directly.
>
> Regards
> Calle
>
> On 2 February 2016 at 10:15, Morten Olav Hansen <mortenoh@xxxxxxxxx>
> wrote:
>
>> Hi everyone
>>
>> I'm currently in the process of re-writing our DXF2 metadata importer,
>> and was wondering if anyone is actually using the dryRun option? its adds
>> quite a bit of complexity to the code, so it will be added only to the new
>> importer if people are actually using it for imports
>>
>> --
>> Morten
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
>
> *******************************************
>
> Calle Hedberg
>
> 46D Alma Road, 7700 Rosebank, SOUTH AFRICA
>
> Tel/fax (home): +27-21-685-6472
>
> Cell: +27-82-853-5352
>
> Iridium SatPhone: +8816-315-19119
>
> Email: calle.hedberg@xxxxxxxxx
>
> Skype: calle_hedberg
>
> *******************************************
>
>

Follow ups

References