containerbuildsystem / cachi2

GNU General Public License v3.0
7 stars 25 forks source link

indent JSON files generated by fetch-deps command #505

Closed slimreaper35 closed 5 months ago

slimreaper35 commented 5 months ago

within user request, we write out json files (bom.json, .build-config.json) by model_dump_json()method, but with no indentation so the output is a huge one-line file

unlike generating data in integration tests: https://github.com/containerbuildsystem/cachi2/blob/main/tests/integration/utils.py#L228

Maintainers will complete the following section

Note: if the contribution is external (not from an organization member), the CI pipeline will not run automatically. After verifying that the CI is safe to run:

eskultety commented 5 months ago

Yes, I ran into this with https://github.com/containerbuildsystem/cachi2/pull/500/, it's painful.

slimreaper35 commented 5 months ago

just rebased