cqframework / cqframework/cqf-tooling

Compress build/bundle files using GZip (or comparable method)

Open
#332 0 comments 0 reactions 1 assignee View on GitHub

@c-schuler is already working on this.

Since Sep 26, 2023.

enhancement
Dominant language
Java
Stars
22
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
The cqf-tooling produces a number of files as a result of an IG refresh that are quite large. In particular, the bundle directory and supporting directories can multiple GBs. As an example, see the Smart ANC IG. This makes checking out and using the repositories burdensome. Additionally, uploading large JSON files to a FHIR server can be problematic.

Describe the solution you'd like
I'd like the directories and files to be smaller. One way to accomplish this would be to add support for reading/writing GZipped files to the tooling directly so that JSON on disk is always compressed (this would apply to build output only - the source files still need to be human-readable).

In principle a FHIR server configured to accept GZipped content could use these files directly. We wouldn't need to decompress them prior to uploading to the FHIR server.

Describe alternatives you've considered
Another alternative would be to simply delete the duplicate files. This would reduce the on-disk size by around 50%, but we'd still have the issue of uploading large files to a FHIR server.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.