Skip to content

[ModsManager] Make it possible to fetch mods from any Git platform of choice. - #1269

Merged
shananas merged 3 commits into
OpenKH:masterfrom
TopazTK:master
Aug 1, 2026
Merged

[ModsManager] Make it possible to fetch mods from any Git platform of choice.#1269
shananas merged 3 commits into
OpenKH:masterfrom
TopazTK:master

Conversation

@TopazTK

@TopazTK TopazTK commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Exactly what it says on the tin. This makes it possible for the ModsManager to fetch and download mods from other Git vendors, breaking its sole reliability on GitHub.

Why?

Why not! I won't be using GitHub much longer due to... issues, and I believe more and more people will choose not to also. So I believe this is a legit requirement in the ModsManager.

Differences in Performance

Fetching the "mod.yml" file to check if the mod is valid takes longer on non-GitHub platforms due to having to use LibGit2Sharp's methods to fetch the file instead of relying on REST API calls. This is necessary because literally every Git platform does it's job differently. Other than that, non-GitHub platforms seem to fetch the mods faster (KH-ReFined/KH2-MAIN cloned from Codeberg in 10 seconds (exc. mod fetch). Same mod cloned from GitHub in 7 minutes and 35 seconds.)

Screenshots

image image image image

Testing

All the necessary testing was done on my end and I cannot see any issues with non-GitHub platforms nor any regression with GitHub. However, y'all are free to test and report issues to me as time goes.

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0561444d-ff87-421b-9162-55311b415630

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@TopazTK TopazTK changed the title Make it possible to fetch mods from any Git platform of choice. [ModsManager] Make it possible to fetch mods from any Git platform of choice. Aug 1, 2026
@solt-frfr

Copy link
Copy Markdown

This would be a great feature to have! More options are always better and it's still important to be able to install projects that have decided to stop using GitHub as their place to host it.

From what I can tell, the code looks just fine and seems to work great

@TopazTK

TopazTK commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

Made changes @shananas requested on the OpenKH server.

@shananas
shananas merged commit 5153c67 into OpenKH:master Aug 1, 2026
3 checks passed
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.

3 participants