BattleScribe / Release

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

[catpkg] repositoryBsrUrl field in catpkg - link to BSR archive #204

Open amis92 opened 4 years ago

amis92 commented 4 years ago

So in the https://github.com/BSData/schemas/issues/4 I've added a repositoryBsrUrl property to the repository json (AKA catpkg.json).

This, if non-null, points to a BSR zip archive with all datafiles contained. It can be useful when downloading data first time, or when user selects "delete all data first"; with a single HTTP request you get the whole repository (datafiles).

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

This is an optional field. If not provided, app should fallback to current behavior of downloading repositoryFiles one by one.