Giter Club home page Giter Club logo

Comments (9)

jmandel avatar jmandel commented on July 19, 2024

Initial steps:

from auto-ig-builder.

jmandel avatar jmandel commented on July 19, 2024

@grahamegrieve can you weigh in on the best way to detect fhir version + build date? Are these both to be parsed as text from build.log? Should we consider some kind of structured output, so we're not brittle in trying to parse text output that may change over time?

from auto-ig-builder.

grahamegrieve avatar grahamegrieve commented on July 19, 2024

from auto-ig-builder.

jmandel avatar jmandel commented on July 19, 2024

Thanks! I'm assuming qa.json appears in output, rather than alongside the build log @grahamegrieve?

from auto-ig-builder.

grahamegrieve avatar grahamegrieve commented on July 19, 2024

from auto-ig-builder.

jmandel avatar jmandel commented on July 19, 2024

I see qa.json now but it's invalid @grahamegrieve -- e.g. https://build.fhir.org/ig/HL7/HAI/qa.json is missing a comma at the end of line 8:

{
  "url" : "http://hl7.org/fhir/us/hai/ImplementationGuide/3370",
  "name" : "Healthcare Associated Infection Reports, FHIR Release 1 - US Realm",
  "date" : "Thu, 29 Mar, 2018 09:51:40 +0000",
  "errs" : "2",
  "warnings" : "14",
  "hints" : "0",
  "version" : "3.2.0,"
  "tool" : "3.2.0-13475"
}

from auto-ig-builder.

grahamegrieve avatar grahamegrieve commented on July 19, 2024

from auto-ig-builder.

jmandel avatar jmandel commented on July 19, 2024

Thanks! Then I'll be able to pull in all the relevant IG outputs on each build via:

$ for f in `find . -name qa.json`; do jq '. + {repo: input_filename[2:-8]}' $f; done  | jq --slurp
[
  {
    "url": "http://hl7.org/fhir/us/hai/testrepo/3370",
    "name": "Testrepo",
    "date": "Thu, 29 Mar, 2018 09:51:40 +0000",
    "errs": "2",
    "warnings": "14",
    "hints": "0",
    "version": "3.2.0",
    "tool": "3.2.0-13475",
    "repo": "HL7/testrepo"
  },
  {
    "url": "http://hl7.org/fhir/us/hai/ImplementationGuide/3370",
    "name": "Healthcare Associated Infection Reports, FHIR Release 1 - US Realm",
    "date": "Thu, 29 Mar, 2018 09:51:40 +0000",
    "errs": "2",
    "warnings": "14",
    "hints": "0",
    "version": "3.2.0",
    "tool": "3.2.0-13475",
    "repo": "HL7/HAI"
  }
]

from auto-ig-builder.

jmandel avatar jmandel commented on July 19, 2024

Declaring victory! Feature requests in new issues, please :-)

from auto-ig-builder.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.