BattleScribe / Release

Bug tracking for the release (live) version of BattleScribe
13 stars 2 forks source link

[catpkg] repository(Source)GzipUrl field in catpkg - link to gzipped catpkg.json #205

Open amis92 opened 4 years ago

amis92 commented 4 years ago

In the https://github.com/BSData/schemas/issues/3 I've added a repositorySourceGzipUrl and repositoryGzipUrl which point to a pre-compressed (via gzip) catpkg.json asset.

This is the same file as repositoryUrl points to, except compressed. It might be good to use that endpoint to save bandwidth, especially for update checks.

Implemented in the https://github.com/BSData/publish-catpkg/issues/8 (this is the GitHub Action that adds all needed assets to a release).

Implementation of repositorySourceUrl gzip alternative is tracked in https://github.com/BSData/gallery/issues/5

This is an optional field. If not provided, app should fallback to the non-compressed URL as is used currently.