BSData / bsdata

BattleScribe data file hosting platform
http://battlescribedata.appspot.com/
94 stars 51 forks source link

Indexing and distribution redesign #243

Open amis92 opened 4 years ago

amis92 commented 4 years ago

The problem

We're not scalable. Full stop.

The current design of our organization is not scalable to the increasing popularity, needs and update frequency. The system has been failing intermittently (#208) since almost the beginning, but it was good enough.

Now it's not.

The proposal

We need to decentralize this operation. Keep liability and maintenance at minimum. As of writing this post, BSData has 119 repositories. There already was a proposal to deal with the issue: #112 - it was done at 49 repositories.

This means that datafiles should not be BSData-org exclusive. We need to allow indexing of third-party repositories as well. So that a person can setup their own repository and in some semi-automated way add it to the index. This is one part.

The other is that #112 needs to be solved - and the recipe is easier than ever thanks to GitHub Actions. BSData will provide an action that will do all necessary operations so that the BSData indexer only needs to read some manifest file of that repository/release. Each repository will run action by itself, thus offloading the indexer.

The work

Of course, being a volunteer-run entity, there's close to no momentum. I'd love to gain some support from community in refining and implementing this proposal.

I'll be slowly working on that myself, if anyone is wanting to contribute, please do.

amis92 commented 4 years ago

This work is in full tracked via https://github.com/orgs/BSData/projects/3

The current state is as follows:

https://github.com/BSData/gallery together with https://github.com/BSData/publish-catpkg provide a functional replacement for the appspot webapp backend.

SamwiseOfCat commented 1 year ago

Hi @amis92 - sorry to bother you again. I followed your excellent guides and created a repo, release etc but the final step to package the release is failing for me. Ive tried running the publish-catpkg Action 3 times and it always seems to fail here -

error

Any ideas on why th catpkg is failing? Thanks :-)

amis92 commented 1 year ago

Above will be tracked in https://github.com/BSData/publish-catpkg/issues/20