Closed evshvarov closed 2 weeks ago
@evshvarov what are your mapping configurations in the Settings page?
No settings touched. I just installed the source control
On Mon, Jul 8, 2024 at 12:56 PM Tim Leavitt @.***> wrote:
@evshvarov https://github.com/evshvarov what are your mapping configurations in the Settings page?
— Reply to this email directly, view it on GitHub https://github.com/intersystems/git-source-control/issues/398#issuecomment-2213812220, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVHEP5XNOYTJ4KUVKB7K2LZLJ465AVCNFSM6AAAAABKQSUJWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJTHAYTEMRSGA . You are receiving this because you were mentioned.Message ID: @.***>
ok - ultimately there just needs to be a default mapping for DFI among the initial/default mapping sets.
We should still add that default mapping, but I connected with Evgeny to see that this is an issue in an IPM package where the mappings should not be relevant.
Replicate by:
This might be just a configuration tweak required in the module.xml of that iris-analytics-template so git-source-control knows where to export the DFI.
This is most likely an issue with module.xml - the resource(s) need Directory="dfi"; IPM is permissive about where it'll look for things to install/load and doesn't enforce a strict mapping.
@isc-tleavitt tried Directory="dfi" and didn't work from scratch. Could you please suggest a PR to https://github.com/intersystems-community/iris-analytics-template/blob/master/module.xml ?
@evshvarov I made a PR here to add the Directory="dfi". The export was working for me once I reloaded the new module.xml. https://github.com/intersystems-community/iris-analytics-template/pull/7
Thank you, @isc-pbarton ! Indeed this helped! It doesn't work for pivots though (as there is no git-source-control in Analyzer I guess).
I'll close this one anyway as this problem solved
I created a separate issue #428 to capture the improvement suggested in Tim's comment
Recommended solution: Add a default mapping for the DFI extension
Original description from @evshvarov : Currently, dashboards are being exported to an unexpected place - in class packages folders, rather than in /dfi/...