An open API service indexing awesome lists of open source software.

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

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.