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

feat: write json file with artifacts context #589

Merged
merged 4 commits into from
Aug 17, 2023

Conversation

shadows-withal
Copy link
Contributor

@shadows-withal shadows-withal commented Aug 16, 2023

Serializes the artifacts context to JSON and writes it to disk, under <dist_dir>/artifacts.json.

Lingering things

  • Do we want to stick with this path? Do we want to make it customizable? - maybe later
  • Do we want to give an option to disable generating this? - maybe later
  • Do we want an oranda flag that only generates this file (and other relevant artifacts files like the installer txt files) - yes, done
  • Are we happy with this simplistic version keeping (format_version, in integrations you'd check if your version > format version) - we track oranda versions instead

@shadows-withal
Copy link
Contributor Author

Closes #584

src/site/artifacts/mod.rs Outdated Show resolved Hide resolved
@shadows-withal shadows-withal merged commit 30b0871 into main Aug 17, 2023
7 checks passed
@shadows-withal shadows-withal deleted the feat/artifacts-json branch August 17, 2023 09:05
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

Successfully merging this pull request may close these issues.

None yet

2 participants