Stream: IG creation
Topic: Package referencing
Brett Esler (Aug 16 2018 at 02:27):
Can I go back to this question -
Brett Esler: @Grahame Grieve I am attempting to build http://build.fhir.org/ig/hl7au/au-fhir-pd which references au-fhir-base
"dependencyList": [
{
"name" : "aubase",
"location" : "http://hl7.org.au/fhir",
"version" : "current"
}
],
in my ig.json file
package list is resolved at http://hl7.org.au/fhir/package-list.json
build seems to work fine
when I look in the PD IG .e.g http://build.fhir.org/ig/hl7au/au-fhir-pd/StructureDefinition-au-pd-practitionerrole.html
the extensions in AU base are not resolved - just getting the canonical url e.g. http://hl7.org.au/fhir/StructureDefinition/meta-source and http://hl7.org.au/fhir/StructureDefinition-au-assigningauthority.html
these are available e.g. http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-meta-source.html which is where I thought the PD IG output would point due to the dependency load above; and the package-list referencing http://build.fhir.org/ig/hl7au/au-fhir-base
Is this a problem or have I got something wrong?
IG creation > IG other package references Jul 07
Grahame Grieve: your location looks wrong to me - why are you claiming the location of http://hl7.org.au/fhir?
IG creation > IG other package references Jul 18
Brett Esler: location is where the package-list.json is http://hl7.org.au/fhir/package-list.json - CI build entry is
{
"version": "current",
"date": "n/a",
"desc": "Continuous Integration Build (latest in version control)",
"path": "http://build.fhir.org/ig/hl7au/au-fhir-base",
"status": "ci-build"
},
Brett Esler: IG builder locates the reference ok but all links point at http://hl7.org.au/fhir rather than http://build.fhir.org/ig/hl7au/au-fhir-base
Brett Esler: should location be http://build.fhir.org/ig/hl7au/au-fhir-base ? how to resolve package-list.json?
Brett Esler (Aug 16 2018 at 02:30):
Currently http://build.fhir.org/ig/hl7au/au-fhir-pd/ referring to http://build.fhir.org/ig/hl7au/au-fhir-base/ has all links as canonical url http://hl7.org.au/fhir rather than as expected as defined as "current' version in http://hl7.org.au/fhir/package-list.json
Grahame Grieve (Aug 16 2018 at 03:54):
so when I build it now, I get "http://hl7.org.au/fhir/StructureDefinition/au-assigningauthority" as the canonical URL, with a link to http://hl7.org.au/fhir/StructureDefinition-au-assigningauthority.html
Brett Esler (Aug 16 2018 at 05:04):
I was expecting http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-..... as that is where the current package is published as per package-list.json
Brett Esler (Aug 16 2018 at 05:05):
And where the package was sourced from for the build
Grahame Grieve (Aug 16 2018 at 05:07):
yes once Josh sorts the ci build issue out, this will all be automatic
Brett Esler (Aug 16 2018 at 05:10):
So links will change? hl7.org.au is not redirecting currently, and will work with version specific snapshots also?
Brett Esler (Aug 16 2018 at 05:11):
Eg want to reference May2018 snapshot ig explicitly
Grahame Grieve (Aug 16 2018 at 05:11):
if you specify that version, then everything will link to that version.
Grahame Grieve (Aug 16 2018 at 05:12):
except that I actually have to back patch the packages for anything built before tomorrow (or so)
Grahame Grieve (Aug 16 2018 at 05:12):
the patch is simple: get the package, add "url" : "(address)" to the package/package.json in the package.tgz file, and put it back
Brett Esler (Aug 16 2018 at 05:12):
So i need redirects? How to dustunguish CI and current stable?
Brett Esler (Aug 16 2018 at 05:13):
Ok got it
Grahame Grieve (Aug 16 2018 at 05:15):
CI is 'current". current stable has a version and a location
Brett Esler (Aug 16 2018 at 06:01):
Thanks ill give it a try
Last updated: Apr 12 2022 at 19:14 UTC