← Back to team overview

dhis2-devs team mailing list archive

Re: Metadata detailed export is not presented in 2.25?

 

Hi,

I hardly ever used that "with dependencies" option because I was never able
to determine what dependencies would be included or not, and when using it
I would often get import summaries that did not make sense.

The most typical scenario for my use of the detailed export feature was to
export specific but "clean" sub-sets of data elements, indicators, and so
forth. So when exporting more complicated objects, I would usually
carefully sequence a string of exports that ensured that objects would be
imported in the same sequence you would typically define them from scratch
(e.g. first export/import options, then option sets, then data elements
using those option sets, etc etc).

My preferred option for this functionality is that it would be a two-step,
more transparent process:
1. User select a number of primary meta-data objects (e.g. a set of
indicators).
2. The system will scan through the objects, determine what they directly
depend on (like data elements), and display those for the user to accept or
reject for inclusion.
If the user reject to include e.g. underlying data elements in the export
file, it is up to the user to either export them separately OR else to
ensure that they are in the destination database already. It might also
make sense to limit the "dependency depth" to just one level - so when
exporting indicators you would be notified of data elements required, but
NOT be notified of option sets required for those data elements and in turn
options required for those option sets.

Other related objects - like data element allocations to orgunits, or data
element group memberships, should rather be separate detailed exports than
"dependency inclusions".

We can discuss this later in the week, Lars.

Regards from Oslo
Calle

On 12 December 2016 at 20:54, Lars Helge Øverland <lars@xxxxxxxxx> wrote:

> Hi there,
>
> sorry, unfortunately we will not put it back into 2.25. We removed it
> because the feature was low-quality and lead to many problems down the road
> since people exported and imported meta-data of invalid state (think
> favorites without any data elements, categories without any options etc).
>
> We do understand that this was useful from the feedback though so we will
> do our best to come up with a similar but better version.
>
> As mentioned before, please let us know about the most popular use-cases
> and we can extend the "Metadata dependency export" feature.
>
> regards,
>
> LArs
>
>
> On Mon, Dec 12, 2016 at 11:04 AM, Jose Garcia Muñoz <josemp10@xxxxxxxxx>
> wrote:
>
>>
>> Thanks Calle,
>>
>> That funcionality is also very important for us. I'm using it all the
>> time.
>>
>> Lars & team, do you have any plans to restore it in 2.25?
>>
>> Best
>> Jose
>>
>> On Thu, Dec 1, 2016 at 5:33 PM, Calle Hedberg <calle.hedberg@xxxxxxxxx>
>> wrote:
>>
>>> Jose,
>>>
>>> I inquired about the same last week - and Lars responded that it was
>>> removed in 2.25 due to it being buggy and a high risk in terms of
>>> potentially causing database corruption. I am not happy about removing the
>>> functionality since I found it very useful, but I guess it will have to be
>>> completely redesigned - so not sure if or when it will be back.
>>>
>>> Regards
>>> Calle
>>>
>>> On 1 December 2016 at 15:50, Jose Garcia Muñoz <josemp10@xxxxxxxxx>
>>> wrote:
>>>
>>>>
>>>> I can not see that in the interface (although it is presented in the
>>>> dhis2 documentation)
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> Regards
>>>> Jose
>>>>
>>>> _______________________________________________
>>>> 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 <+27%2021%20685%206472>
>>>
>>> Cell: +27-82-853-5352 <+27%2082%20853%205352>
>>>
>>> Iridium SatPhone: +8816-315-19119 <+881%206%20315%2019119>
>>>
>>> Email: calle.hedberg@xxxxxxxxx
>>>
>>> Skype: calle_hedberg
>>>
>>> *******************************************
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Lars Helge Øverland
> Lead developer, DHIS 2
> University of Oslo
> Skype: larshelgeoverland
> lars@xxxxxxxxx
> http://www.dhis2.org <https://www.dhis2.org/>
>
>


-- 

*******************************************

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

*******************************************

PNG image


Follow ups

References