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

Split export templates release #17

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

dragonhunt02
Copy link
Contributor

@dragonhunt02 dragonhunt02 commented Dec 19, 2024

Split all templates in a different release file. Debug symbols are split from binaries to avoid 2Gb upload limit error.

@fire
Copy link
Member

fire commented Dec 19, 2024

I was looking into desync to provide a cdn partial update https://github.com/folbricht/desync

@dragonhunt02
Copy link
Contributor Author

Where would you store the archives? Github or project website?

@fire
Copy link
Member

fire commented Dec 19, 2024

Like 64 mb chunks that are stored on GitHub pages and mirrored on our website.

We keep the last major versions and all minor revisions for the current version.

Edited:

64MB chunks are from the Riot Games blog https://technology.riotgames.com/news/supercharging-data-delivery-new-league-patcher

./desync-linux-amd64 tar -i -s archive/store --chunk-size 65536:65536:65536 archive/$dir.caidx other/$dir

https://github.com/V-Sekai/world-game-archived/blob/1f33cd301bce5db1cfe0ebec1ef04735c0634850/.github/workflows/package.yml

@dragonhunt02
Copy link
Contributor Author

dragonhunt02 commented Dec 19, 2024

One repository won't be enough for Github, see https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#usage-limits
There's a 1GB cap for published Pages repositories, also there's a soft 100 GB/month traffic cap.
Normal repository have a soft 1Gb cap and could get warnings past it.

We could publish archives as Release, they have less restrictions

@fire
Copy link
Member

fire commented Dec 19, 2024

We could publish archives as release, but maybe a different minimum chunk size is wanted, assuming all the casync chunks are written once and never modified.

The main thing is that the URL schema needs to be in the same subdirectory as it already is.

  1. https://github.com/V-Sekai/world-godot/releases/download/latest.v-sekai-editor-65/v-sekai-godot-android.zip
  2. https://github.com/V-Sekai/world-godot/releases/download/latest.v-sekai-editor-65/v-sekai-godot-linuxbsd.zip

@fire fire merged commit 35b42ef into V-Sekai:main Dec 19, 2024
29 of 44 checks passed
@fire
Copy link
Member

fire commented Dec 19, 2024

Thanks

@dragonhunt02 dragonhunt02 deleted the split-template branch December 19, 2024 19:23
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.

2 participants