KSP-CKAN / NetKAN-Infra

NetKAN Infrastructure Repo
MIT License
3 stars 6 forks source link

Switch to main branches and support KSP2 #282

Closed HebaruSan closed 1 year ago

HebaruSan commented 1 year ago

Motivation

The new KSP2 metadata repos have main branches instead of master:

We have been intending to make this same change to the existing repos for a while.

Also KSP2 is in early access and needs a metadata bot.

Changes

We will have to be careful about how we merge this, as it will require merging KSP-CKAN/CKAN#3797 first and renaming the master branches of NetKAN and CKAN-meta. It might be best to make a public announcement of 1–3 days of downtime ahead of time.

In @techman83's testing, GitHub automatically redirects the CKAN client's repo URL to the new branch. 🎉

Open questions

techman83 commented 1 year ago

There a couple of challenges here

We'd very likely have to scale up the instance size to handle just the base load.

HebaruSan commented 1 year ago

We've got all these nice micro-services with the repo and queue set up as parameters. If we can re-use them by tweaking those parameters, that seems like a huge win.

HebaruSan commented 1 year ago

It's also worth noting that the KSP2 repos are going to be tiny by comparison for quite a while. I don't think the new services will have anything like the same load as the current ones for, what, 1–2 years? And by that time, we may have frozen enough of the idle and abandoned KSP1 mods to compensate.

techman83 commented 1 year ago

It's also worth noting that the KSP2 repos are going to be tiny by comparison for quite a while. I don't think the new services will have anything like the same load as the current ones for, what, 1–2 years? And by that time, we may have frozen enough of the idle and abandoned KSP1 mods to compensate.

It's true. If we shape it up nicely, it'd be reasonably doable to onboard other games as well. Looking over the code, the bulk of the work would be around the message handler (at least for the indexing component).

I see two primary areas that we'd probably need to figure out

HebaruSan commented 1 year ago
  • How do clients handle getting metadata from main if they're pointed at master?

Noting for posterity where you answered your own question 😉 :

image

techman83 commented 1 year ago

Answering my own questions is my favourite :laughing:

HebaruSan commented 1 year ago

Replaced by #283.