luanti-org / luanti-org/modtools
Script to automatically fix most deprecated API usage (where applicable)
- Dominant language
- Python
- Stars
- 17
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Looking through some of the contents that were imported from the old developer wiki made me find [this old script](https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31) by SmallJoker that would rename some deprecated names to their new counterparts. Such a script, but more expanded should be available here such that developers can easier update their mods and games to not use deprecated functions.
For more inspiration see [SDL's tooling for helping with the migration to SDL3](https://wiki.libsdl.org/SDL3/README/migration) - they have both python scripts that runs regular regex replacements for renames as well as more advanced semantical replacements using Coccinelle, which both allows automatically changing simple things without developer intervention as well as putting FIXME code comments for things that should be checked by a developer.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the linked old script and SDL3 migration tooling to identify which deprecated API mappings and replacement strategies are in scope. Check the repository structure for existing tool entry points and tests, then define what supported transformations and developer-review markers would constitute a complete first version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100