Stream: IG creation
Topic: Build locally with IG pub
Brian Reinhold (Sep 12 2018 at 12:39):
Is there a way to constrain the IG Publisher to build locally? I note that it keeps going to the build server. One may not always be able to be on line. I thought by creating a "packages": "packages" entry in the ig.json that the publisher would grab the tgz file in the "packages" directory but it does not.
On the other hand it could be that the package has not been updated (though I have downloaded the latest) and the publisher goes to the build server because of that. (The publisher is reporting a version 1 but it needs version 2.)
Updating hl7.fhir.core-3.6.0 package from source (too old - is 1, must be 2
Grahame Grieve (Sep 12 2018 at 13:13):
that should only happen once
Grahame Grieve (Sep 12 2018 at 13:13):
I'll have a look at it tomorrow - that change was thrown together in a hurry because of git
Brian Reinhold (Sep 12 2018 at 20:17):
I'll have a look at it tomorrow - that change was thrown together in a hurry because of git
If I create a 'packages' directory and place the tgz file in that directory and then add
"packages":"packages" to the ig.json, will the publisher skip downloading the tgz file? That takes 40 to 50 seconds.
Grahame Grieve (Sep 12 2018 at 22:04):
no, it won't
Grahame Grieve (Sep 12 2018 at 22:04):
what's the first 10 lines of your log say?
Brian Reinhold (Sep 12 2018 at 23:08):
no, it won't
Okay, I will remove it. I guess what happens is that the package gets downloaded and is only downloaded again if the previous one is out of date. Its just that it keeps downloading a package which is version 1 but the publisher wants version 2. So its re-downloaded every time.
Last updated: Apr 12 2022 at 19:14 UTC