Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.18 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.18 KB

Upgrade knausj

Helper for performing knausj upgrades. Please see https://youtu.be/Nbz7A9pGkQ0 for a detailed walkthrough of using this utility.

Assumptions

  • 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 😊

Installation

  1. Install pipx
  2. Run pipx install pre-commit
  3. Run pipx install upgrade-knausj

How to run

  1. Push your changes to your fork
  2. Run upgrade-knausj
  3. If necessary, resolve any merge conflicts, commit, then re-run upgrade-knausj
  4. Repeat steps 2-3 until it says you're done
  5. Do a pull from your main Talon user directory
  6. Restart Talon and look in the log file for errors

How it works

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.