FHIR Chat · IGPublisher source code · committers

Stream: committers

Topic: IGPublisher source code


view this post on Zulip Grahame Grieve (Apr 18 2019 at 21:47):

I'm in the process of moving the IGpublisher source code to Maven (with help from @James Agnew - thanks). The IG publisher code in the main build is now orphaned - do not make any changes to it . But note that the maven code is not up and go yet

view this post on Zulip Grahame Grieve (Apr 18 2019 at 21:47):

the new repo is https://github.com/HL7/fhir-ig-publisher

view this post on Zulip Rob Hausam (Apr 18 2019 at 21:48):

when do you expect the transition to be complete?

view this post on Zulip Grahame Grieve (Apr 18 2019 at 21:48):

in the next few days

view this post on Zulip Grahame Grieve (Apr 25 2019 at 01:52):

great. it's up and going, much thanks to @James Agnew. The new location for the latest copy of the IG Publisher is now

view this post on Zulip Grahame Grieve (Apr 25 2019 at 01:52):

https://oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.hl7.fhir.publisher&a=org.hl7.fhir.publisher.cli&v=LATEST&e=jar

view this post on Zulip Grahame Grieve (Apr 25 2019 at 01:52):

@Josh Mandel what do we need to do to switch the autobuild over to this location?

view this post on Zulip Josh Mandel (Apr 25 2019 at 02:55):

We'll need to update the docker image at https://github.com/hl7-fhir/auto-ig-builder/blob/master/images/ig-build/builder/builder.py#L36 and then push to the registry.

view this post on Zulip Josh Mandel (Apr 25 2019 at 02:57):

(we might want to take the source URL for the IG Publisher in as an environment variable rather than hard coding it, too ;-))

view this post on Zulip Josh Mandel (Apr 25 2019 at 04:20):

What's the level of urgency on this? I'm planning to sleep first :-)

view this post on Zulip Grahame Grieve (Apr 25 2019 at 04:52):

sleep first is ok.

view this post on Zulip Grahame Grieve (Apr 25 2019 at 04:52):

don't know what it would be an environment variable of? the setting has to be somewhere.... but the one place we don't want it to be is on the github hook

view this post on Zulip Josh Mandel (Apr 25 2019 at 12:32):

Oh, I just meant an environment variable for the docker container -- it gets passed in via https://github.com/hl7-fhir/auto-ig-builder/blob/master/triggers/ig-commit-trigger/job.json#L31 . Certainly don't want to create more work (or reactivate changes) for IG authors :-)

view this post on Zulip Grahame Grieve (Apr 25 2019 at 12:43):

I don't mind where it goes into the system

view this post on Zulip Grahame Grieve (Apr 25 2019 at 12:43):

as long as we control it

view this post on Zulip Josh Mandel (Apr 25 2019 at 13:10):

OK, just updated the docker image. Let's see what happens.

view this post on Zulip Josh Mandel (Apr 25 2019 at 13:10):

Hitting rebuild on "cqframework / draft-measures".

view this post on Zulip Josh Mandel (Apr 25 2019 at 13:13):

So, a couple of issues here :-)

view this post on Zulip Josh Mandel (Apr 25 2019 at 13:13):

https://build.fhir.org/ig/cqframework/draft-measures/build.log

view this post on Zulip Josh Mandel (Apr 25 2019 at 13:14):

Does

Caused by: java.lang.ClassNotFoundException: org.commonmark.ext.gfm.tables.TablesExtension

ring a bell?

view this post on Zulip Grahame Grieve (Apr 25 2019 at 13:17):

well loosely, but I do not undestand why commonmakr is found, but not gfm. It looks like their definition pathway is the same. @James Agnew ?

view this post on Zulip Josh Mandel (Apr 25 2019 at 13:20):

Similarly:

Caused by: java.lang.NoClassDefFoundError: com/github/rjeschke/txtmark/Processor

just occurred in https://build.fhir.org/ig/ahdis/ihe-mhd-ig/build.log

view this post on Zulip Grahame Grieve (Apr 25 2019 at 13:20):

hmm. when the autobuilder runs the ig, does it point at {root} or {root}/ig.json as the parameter? it looks like the second?

view this post on Zulip Josh Mandel (Apr 25 2019 at 13:21):

let's look...

view this post on Zulip Josh Mandel (Apr 25 2019 at 13:21):

https://github.com/hl7-fhir/auto-ig-builder/blob/master/images/ig-build/builder/builder.py#L51

 built_exit = do(['java',
         '-Xms%s'%java_memory, '-Xmx%s'%java_memory,
         '-jar', '../publisher.jar',
         '-ig', 'ig.json',
         '-auto-ig-build',
         '-target', 'https://build.fhir.org/ig/%s/%s/'%(details['org'], details['repo']),
         '-out', clone_dir], clone_dir)

view this post on Zulip Josh Mandel (Apr 25 2019 at 13:22):

It's just passing -ig ig.json. Is that not what's expected?

view this post on Zulip Grahame Grieve (Apr 25 2019 at 13:22):

hmm. I will have to do a new release for some other reason then

view this post on Zulip Grahame Grieve (Apr 25 2019 at 13:35):

k sorted that issue. I will do a new release with a crude attempt to fix the markdown problem.

view this post on Zulip Grahame Grieve (Apr 25 2019 at 14:14):

got a bit further in this time

view this post on Zulip Grahame Grieve (Apr 25 2019 at 14:17):

I'll do another release, but I'll be asleep before this one is complete


Last updated: Apr 12 2022 at 19:14 UTC