Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to split data files after export #22

Open
maeg02 opened this issue Feb 29, 2020 · 6 comments
Open

Option to split data files after export #22

maeg02 opened this issue Feb 29, 2020 · 6 comments

Comments

@maeg02
Copy link

maeg02 commented Feb 29, 2020

Consider that you want to use your data file as a base for version control. However that would be easier to do if this tool would split the data file into entity folders and then into one file per record.

One could consider ids as filenames or use the definition import match attribute as a filename.

@rappen
Copy link
Member

rappen commented Mar 1, 2020

Interesting approach.

It might make distribution a bit more complex, as you would have to supply the whole file/folder structure, instead of just the data file and the definition file.
The order in which the files are read during import is also vital, to maintain dependencies etc, that would have to be handled in some way, maybe by keeping the one centralized data file but not have the actual data in it, but rather references to the individual data files.

From a version control aspect it absolutely makes sense.

@maeg02
Copy link
Author

maeg02 commented Mar 1, 2020

Correct, that would be hard.

I thought outside the scope of actual data "shuffle" and only be able to re-import the data back in version one, in case of data recovery is needed.

If I made a suggestion PR, is this even a good idea for this repo? Might there be a better way?

@imranakram
Copy link
Collaborator

Thanks for the input. Watch out for the features/utils branch where we're working on the next version.

@maeg02
Copy link
Author

maeg02 commented Mar 1, 2020

Thanks for the input. Watch out for the features/utils branch where we're working on the next version.

So that means I should not start a "PR discussion" with some psedo code?

@rappen
Copy link
Member

rappen commented Mar 1, 2020

@imranakram are there issues we could watch to track the work/progress/ambitions?

@imranakram
Copy link
Collaborator

imranakram commented Mar 2, 2020

@rappen Here's the issue #23. The idea is to replace the DevUtils nuget with the new Xrm.Utils project to make it fully open source. So I've made some updates to both projects lately.

@maeg02 It's a work in progress at the moment and I work from time to time on it but not regularly. Feel free to chip in as you like :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants