Skip to content

(minor) Metadata rework backend - #403

Merged
hk21702 merged 76 commits into
mainfrom
metadata-rework
Mar 19, 2025
Merged

hk21702 merged 76 commits into
mainfrom
metadata-rework

Conversation

@hk21702

@hk21702 hk21702 commented Jun 11, 2024 •

Copy link
Copy Markdown
Collaborator

A rework of how metadata is handled. Utilize proper design patterns as well as static type checking to help eliminate a lot of the current issues around metadata. Utilize msgspec for faster json parsing. Ensure multi-threading support. Ensure there are unit tests where relevant.

Goals:

  • Add PyTests
  • Represent metadata as classes/data classes
  • Schema based rules DB parsing
  • Schema based steam DB parsing
  • Separation between structure and views
  • Ensure function parity
    • About.xml
    • Scenarios
    • Mod List
      • Reading
      • Writing
    • User Rules
    • Community Rules
    • Steam DB
    • SteamCMD handling
    • Add external rules to a mod's metadata
  • Implement local auxiliary metadata using SQLAlchemy with SQLite as backend
  • Implement new metadata controller
  • Implement metadata removal/deletion
  • Integrate new metadata system To be done in other PR

@hk21702 hk21702 added bugs 🪲 bugs and errors, something is not working as intended work in progress Issue or feature is picked up and worked on Code refactoring 🧹 improving the structure and organization of the code; restructuring, cleaning up Code style ✨ Minor changes like fixing typos, style, indentation labels Jun 11, 2024
@hk21702 hk21702 removed the Code style ✨ Minor changes like fixing typos, style, indentation label Oct 22, 2024
@github-actions github-actions Bot added the Windows 🪟 Windows-specific issues label Oct 31, 2024
@Patryk-Malinowski Patryk-Malinowski mentioned this pull request Jan 5, 2025
12 tasks done
@hk21702 hk21702 changed the title (minor) Metadata rework (minor) Metadata rework backend Feb 11, 2025
@hk21702
hk21702 force-pushed the metadata-rework branch 2 times, most recently from ecada99 to 0536a34 Compare February 12, 2025 22:20
@github-actions github-actions Bot added the documentation 📚 related to Docs like wiki page README, changelog label Feb 12, 2025
@hk21702
hk21702 force-pushed the metadata-rework branch 2 times, most recently from 3617128 to 99089fe Compare February 12, 2025 23:24
…oth str and Path, enhance delete_mod to handle multiple paths, and improve mods_metadata documentation.
@hk21702
hk21702 marked this pull request as ready for review March 14, 2025 03:32

@LionelColaso LionelColaso left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything seems to be working except
re_steamcmd_action (not sure if resubscribing with steam is also broken as well since i can't test this)
not related to metadata rework and can be fixed separately since its broken on main branch as well

@hk21702

hk21702 commented Mar 14, 2025

Copy link
Copy Markdown
Collaborator Author

Everything seems to be working except re_steamcmd_action (not sure if resubscribing with steam is also broken as well since i can't test this) not related to metadata rework and can be fixed separately since its broken on main branch as well

This PR shouldn't change any functionality at all, since it is not implemented or integrated. It is just backend code that hasn't been hooked up to anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugs 🪲 bugs and errors, something is not working as intended Code refactoring 🧹 improving the structure and organization of the code; restructuring, cleaning up dependencies Pull requests that update a dependency file DevOps 💻 Related to development automation, auto building, auto actions, and other CI/CD things documentation 📚 related to Docs like wiki page README, changelog Windows 🪟 Windows-specific issues work in progress Issue or feature is picked up and worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants