FHIR Chat · publish core FHIR with -watch · committers

Stream: committers

Topic: publish core FHIR with -watch


view this post on Zulip Sean McIlvenna (Jan 18 2022 at 18:56):

Is there a way to use publish.bat with a watch option like you can with java -jar publisher.jar -ig ... -watch ?

view this post on Zulip Grahame Grieve (Jan 18 2022 at 19:36):

no. but it will do an incremental build automatically

view this post on Zulip Sean McIlvenna (Jan 19 2022 at 17:49):

so, if I run publish.bat once and it takes 18 minutes, and then I run publish.bat it shouldn't take as long?

view this post on Zulip David Pyke (Jan 19 2022 at 17:50):

Assuming you haven't changed anything that affects more than your resource, it should be much faster

view this post on Zulip Gino Canessa (Jan 19 2022 at 18:02):

But please be aware that the differential build sometimes misses changes, so make sure to run a full build before pushing your branch.

(The problem scenario I typically run into is that it does not differentiate between successful and failed builds when tracking partials - so if you change two resources and it fails, then you fix only one of them, you can end up with a passing partial but failing full).

view this post on Zulip Sean McIlvenna (Jan 19 2022 at 18:52):

hmmm. first publish took 18 minutes, second publish (without making ANY changes) took 17 minutes 48 seconds. maybe I'm missing something?

view this post on Zulip David Pyke (Jan 19 2022 at 18:53):

Did you do a Pull inbetween?

view this post on Zulip David Pyke (Jan 19 2022 at 18:54):

And if you did a no-change run, it'll assume that you want a full build as theirs nothing in a partial build

view this post on Zulip John Moehrke (Jan 19 2022 at 18:55):

hey, it was 12 seconds faster... that is ... faster

view this post on Zulip Sean McIlvenna (Jan 19 2022 at 19:23):

no, no pull, no changes. good to know "it'll assume you want a full build"

view this post on Zulip Sean McIlvenna (Jan 19 2022 at 19:23):

I just did a pull of 3+ changes and am going to re-publish

view this post on Zulip Sean McIlvenna (Jan 19 2022 at 19:23):

we'll see how long it takes

view this post on Zulip Sean McIlvenna (Jan 19 2022 at 19:28):

nice! done in 4 minutes flat!

view this post on Zulip Sean McIlvenna (Jan 19 2022 at 19:28):

much better

view this post on Zulip Sean McIlvenna (Jan 19 2022 at 19:28):

thx all

view this post on Zulip John Moehrke (Jan 19 2022 at 19:43):

second takes longer for me

view this post on Zulip John Moehrke (Jan 19 2022 at 19:55):

so, even if nothing changes on github, one should do a pull ?

view this post on Zulip John Moehrke (Jan 19 2022 at 19:58):

oh, because nothing obviously changed... the build tooling assumes you want a full build.. thus taking full time?

view this post on Zulip David Pyke (Jan 19 2022 at 20:13):

Right, since the change set is null, you can't want a partial build, there's nothing in the partial build set. So, it does a full build

view this post on Zulip John Moehrke (Jan 19 2022 at 20:25):

duh, I knew that. just needed to keep my office warm by running many builds.

view this post on Zulip David Pyke (Jan 19 2022 at 20:29):

I've heard of this low tech thing called fire. It's like FHIR but spelled wrong. You should look into it


Last updated: Apr 12 2022 at 19:14 UTC