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

Issue in data import via IPM #438

Closed
evshvarov opened this issue Feb 2, 2024 · 1 comment
Closed

Issue in data import via IPM #438

evshvarov opened this issue Feb 2, 2024 · 1 comment

Comments

@evshvarov
Copy link
Collaborator

evshvarov commented Feb 2, 2024

There is an option to transfer files and import it then via IPM. E.g. in this package, that can setup a FHIR server and load test data via:
zpm "install fhir-server"

But it fails to load data due to transaction mode in IPM, investigated by @daimor
Current workaround is to install in a dev mode:
zpm "install fhir-server -dev"

or load from GitHub directly:
zpm "load Github URL"

Also the issue filed in the package

@isc-tleavitt
Copy link
Contributor

Installing with -DNoTransaction=1 would work too.

The point of wrapping package installation in a transaction is to ensure that if installation fails, it's undone. We don't want to give an individual package a way to bypass this. A generalized solution to #439 to allow an Invoke to happen outside of the transaction, after installation has fully completed, would address this need as well; for now it's up to either documentation of install steps (using -dev or -DNoTransaction=1) or a package-level workaround.

@isc-tleavitt isc-tleavitt closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2024
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

2 participants