https://github.com/pokey/upgrade-knausj
CLI to make it easier to upgrade your Talon community fork
https://github.com/pokey/upgrade-knausj
talon-voice voice-coding
Last synced: 4 months ago
JSON representation
CLI to make it easier to upgrade your Talon community fork
- Host: GitHub
- URL: https://github.com/pokey/upgrade-knausj
- Owner: pokey
- Created: 2022-11-19T19:49:49.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T12:19:02.000Z (over 1 year ago)
- Last Synced: 2025-02-02T03:51:13.682Z (4 months ago)
- Topics: talon-voice, voice-coding
- Language: Python
- Homepage:
- Size: 112 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# 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`](https://pypa.github.io/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.