Helper for performing knausj
upgrades. Please see https://youtu.be/Nbz7A9pGkQ0 for a detailed walkthrough of using this utility.
- You have a fork of
knausj
- You haven't altered your pre-commit config. If you don't know what that means, then you are fine 😊
- Install
pipx
- Run
pipx install pre-commit
- Run
pipx install upgrade-knausj
- Push your changes to your fork
- Run
upgrade-knausj
- If necessary, resolve any merge conflicts, commit, then re-run
upgrade-knausj
- Repeat steps 2-3 until it says you're done
- Do a pull from your main Talon user directory
- Restart Talon and look in the log file for errors
This utility clones a clean copy of your user files from your GitHub repo to a folder on your hard drive, and then attempts to perform a git merge with the latest version of knausj. The knausj repo has a few commits that were simply autoformatting, which can be challenging to merge, so we handle those specially by just running the autoformatter on your code. See https://youtu.be/Nbz7A9pGkQ0 and the code of this repository for more details.