Stream: committers/announce
Topic: New HL7 template
Lloyd McKenzie (Feb 26 2020 at 20:37):
I just put out some changes to the HL7 template. You can lock to version 0.1.0 if you don't want these changes quite yet. The changes will impose some extra checks on the 'contact' portion of of your IG and also on your package-list.json. It generates a file you can use align Jira's list of versions, artifacts and pages with what your IG actually has. You can see full details on the proposed release here: https://github.com/HL7/ig-template-hl7/releases/tag/0.2.0
Lloyd McKenzie (Feb 26 2020 at 20:38):
Information on how to use the newly generated file to improve how your IG appears in Jira can be found here: https://confluence.hl7.org/display/HL7/Configuring+Specification+Feedback
Lloyd McKenzie (Feb 26 2020 at 20:38):
If there are no complaints, we'll publish this as an official release in a day or two.
Rob Hausam (Feb 26 2020 at 20:59):
Well, here's a complaint. :) Order-catalog was building successfully, but after this change we're now getting:
INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/HL7/fhir-order-catalog --branch master repo DEBUG:root:Time to deadline 3479.997221 seconds Cloning into 'repo'... DEBUG:root:running: wget -q https://github.com/FHIR/latest-ig-publisher/raw/master/org.hl7.fhir.publisher.jar -O publisher.jar DEBUG:root:Time to deadline 3479.33098 seconds DEBUG:root:running: java -Xms14000m -Xmx14000m -jar ../publisher.jar -ig ig.json -auto-ig-build -target https://build.fhir.org/ig/HL7/fhir-order-catalog/ -out /scratch/ig-build-temp-I88S7Q/repo DEBUG:root:Time to deadline 3475.956612 seconds FHIR IG Publisher Version 1.0.67-SNAPSHOT (Git# 30b184df3160). Built 2020-02-25T12:07:21.909+11:00 (43 hours old) Detected Java version: 12.0.1 from /usr/java/openjdk-12 on amd64 (64bit). 13533MB available Parameters: -ig ig.json -auto-ig-build -target https://build.fhir.org/ig/HL7/fhir-order-catalog/ -out /scratch/ig-build-temp-I88S7Q/repo dir = /scratch/ig-build-temp-I88S7Q/repo, path = /usr/local/rvm/bin:/usr/local/rvm/rubies/ruby-2.5.1/bin:/usr/java/openjdk-12/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Run time = Wednesday, February 26, 2020 at 8:51:19 PM Coordinated Universal Time (2020-02-26T20:51:19Z) Package Cache: var/lib/.fhir/packages (00:00.0020) Load Template from hl7.fhir.template (00:00.0736) Installing hl7.fhir.template#current to the package cache Fetching: Installing: done. Load Template from hl7.base.template#current (00:01.0388) Installing hl7.base.template#current to the package cache Fetching: Installing: done. Load Template from fhir.base.template#current (00:01.0408) Installing fhir.base.template#current to the package cache Fetching:. Installing: . done. Publishing Content Failed: If a script is provided, then targets must be defined (00:01.0471) (00:01.0471) Use -? to get command line help (00:01.0471) (00:01.0471) Stack Dump (for debugging): (00:01.0471) org.hl7.fhir.exceptions.FHIRException: If a script is provided, then targets must be defined at org.hl7.fhir.igtools.templates.Template.<init>(Template.java:109) at org.hl7.fhir.igtools.templates.TemplateManager.loadTemplate(TemplateManager.java:86) at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1263) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1205) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:660) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6933)
It's not immediately clear at all what "targets must be defined". I think the new version needs to fail more gracefully, either generating warning or error messages rather than crashing outright on an existing IG that was previously building.
Lloyd McKenzie (Feb 26 2020 at 21:00):
Make sure you're using the most recent IG-publisher (and further discussion on #IG creation)
Rob Hausam (Feb 26 2020 at 21:02):
This was from the auto-build - which I just re-triggered without making any changes, after having seen it fail on my local instance.
Rob Hausam (Feb 26 2020 at 21:05):
I didn't see anything related to the new template version in IG creation, which is why I posted here. Happy to move the discussion there.
Last updated: Apr 12 2022 at 19:14 UTC