Stream: IG creation
Topic: Broken Package Dependency in PDEX Package
James Agnew (Nov 11 2020 at 10:38):
Looking for opinions on what is the right thing to do here: Someone reported a bug in HAPI FHIR's package manager today, but digging into it it seems like a legitimate issue.
The hl7.fhir.us.davinci-pdex-plan-net#0.1.0
as obtained from packages.fhir.org contains a dependency on hl7.fhir.core#4.0.0
. Looking at the hl7.fhir.core package summary, that version doesn't exist: http://packages.fhir.org/hl7.fhir.core
I guess one obvious problem is that PDEX should depend on 4.0.x
and not on a specific point version. More broadly though. what does other tooling do about this kind of situation? If I'm reading the IG correctly, it's about a year old so surely other tooling has already tripped over this and come up with an appropriate algorithm to deal with it? Should HAPI just assume 4.0.x if 4.0.0 can't be found?
Grahame Grieve (Nov 11 2020 at 10:39):
yes. you should automatically fall back to the latest 4.0.x
Last updated: Apr 12 2022 at 19:14 UTC