Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: output full data set as json objects #835

Open
zackarychapple opened this issue Mar 21, 2025 · 1 comment
Open

[Feature]: output full data set as json objects #835

zackarychapple opened this issue Mar 21, 2025 · 1 comment

Comments

@zackarychapple
Copy link

What problem does this feature solve?

We want to embed a rsdoctor server in our platform that can read the output of the builds but this will happen outside of the build itself. Currently it appears brief mode and writeDataJson: are writing only a subset of data in the manifest and what appears to be hashes of that data in directories. Perhaps I'm wrong?

What does the proposed API look like?

I believe that the json data may need to be multiple files and those files may need to have a reference and version attached to them so the schema can be updated by the rsdoctor team over time.

@easy1090
Copy link
Contributor

You can try using output.compressData: false, so the data will not be compressed. Under the [outputDir]/.rsdoctor folder, there will be categorized JSON data, but they will be divided into several files based on a certain data size. You can use JavaScript to concatenate them into a complete JSON. I'm not sure if this meets your needs.

https://rsdoctor.dev/zh/config/options/options#compressdata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants