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

⚡️ Improve file serving in API server #1710

Merged
merged 2 commits into from
Jan 4, 2025
Merged

Conversation

SPGoding
Copy link
Member

@SPGoding SPGoding commented Jan 4, 2025

  • misode/mcmeta and SpyglassMC/vanilla-mcdoc are now cloned as bare
    mirrors locally.
  • The clones are updated with git remote update --prune to keep them
    completely in sync with the remote.
  • Tarballs are now served through the git-archive command.
  • Both files and tarballs are now streamed to clients from git's stdout
    instead of waiting until the git child processes finish.

* `misode/mcmeta` and `SpyglassMC/vanilla-mcdoc` are now cloned as bare
  mirrors locally.
* The clones are updated with `git remote update --prune` to keep them
  completely in sync with the remote.
* Tarballs are now served through the `git-archive` command.
* Both files and tarballs are now streamed to clients from git's stdout
  instead of waiting until the git child processes finish.
@SPGoding SPGoding merged commit 5cfb332 into main Jan 4, 2025
3 checks passed
@SPGoding SPGoding deleted the api-server-improvements branch January 4, 2025 05:42
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.

1 participant