Skip to content

Add GitHub version checking and update badges#337

Open
Blacknight78 wants to merge 96 commits into
FSGModding:mainfrom
Blacknight78:github-version-check
Open

Add GitHub version checking and update badges#337
Blacknight78 wants to merge 96 commits into
FSGModding:mainfrom
Blacknight78:github-version-check

Conversation

@Blacknight78

Copy link
Copy Markdown

Adds read-only GitHub update checking for saved mod source URLs.

Changes:

  • Checks saved GitHub source URLs for latest release.
  • Falls back to latest tag when no release exists.
  • Falls back to modDesc.xml version when repos have no releases or tags.
  • Shows GitHub version and update status on mod detail pages.
  • Shows an amber update badge on the main mod list when a newer GitHub version may be available.
  • Adds the GitHub update badge to the tag filter list.
  • Keeps the feature read-only; no downloads or file replacement yet.

Testing:

  • Full test suite passed locally.
  • Local Windows build tested.
  • Verified with FS25_SoilFertilizer using GitHub modDesc.xml fallback.

jtsage added 30 commits October 12, 2024 14:34
jtsage and others added 28 commits January 12, 2025 11:58
Prefer FS25 during setup and discover override folders
Keep FS22 and FS25 ModHub records separate
Add dedicated FS25 base-game catalog
Prefer standalone FS25 data for catalog generation
Add initial mod update source link on v6 beta base
Add GitHub update source fieldAdd GitHub update source field
Comment thread lib/modCheckLib.js
/* eslint-disable no-await-in-loop */
...await this.#processSave(path.join(this.#fullPath, thisFolder.name)),
/* eslint-enable no-await-in-loop */
uuid : crypto.createHash('md5').update(path.join(this.#fullPath, thisFolder.name)).digest('hex'),
@jtsage

jtsage commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Hi there. wow, ton of work. Are you hanging out in our discord by any chance - I'd love to pick your brain in a bit more realtime about what you've done. Also, this is based out of main originally? or did you use the rust-dds branch which is what the last beta was built off of? (the performance increase is not subtle there)

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