This release bumps the required git version to 2.39, which is one release older than the latest 2.40. We rely on a few flags / commands that were added in this version.
This release adds the following improvements / bugfixes:
- Added ability to specify which topics to upload on command line
- upload and amend now show you the contents of conflicts w/ conflict markers
- amend is about 16x faster. the cherry-pick step of upload is also that much faster, but upload is mostly bound by github api times.
- fixed the long standing issue where upload is skipped if only whitespace was changed
- added new revup config command to automatically edit config file for you. this is now the default way to set oauth and other config variables.
- cleaned up error message for github timeout during update
- sanitize topic names so we can give a better error
What's Changed
* lint: Fix lint failures by jerry-skydio in https://github.com/Skydio/revup/pull/93
* lint: Run format to account for black upgrade by jerry-skydio in https://github.com/Skydio/revup/pull/96
* git: Don't update index if file list is empty by jerry-skydio in https://github.com/Skydio/revup/pull/92
* toolkit: Fix await statements by jerry-skydio in https://github.com/Skydio/revup/pull/91
* Bump required git version to 2.39 by jerry-skydio in https://github.com/Skydio/revup/pull/97
* Pass --verbatim to git patch-id by jerry-skydio in https://github.com/Skydio/revup/pull/98
* Skip querying on an empty upload by jerry-skydio in https://github.com/Skydio/revup/pull/100
* Avoid main branch not found error. by jerry-skydio in https://github.com/Skydio/revup/pull/101
* Allow specifying topics to upload by jerry-skydio in https://github.com/Skydio/revup/pull/95
* Use asyncio.gather to run patch-ids in parallel by jerry-skydio in https://github.com/Skydio/revup/pull/104
* upload: Allow any head to be specified by jerry-skydio in https://github.com/Skydio/revup/pull/99
* config: Reorganize config code and add config command by jerry-skydio in https://github.com/Skydio/revup/pull/83
* Validate topic names by jerry-skydio in https://github.com/Skydio/revup/pull/103
* upload: Improve is_on_correct_base logic by jerry-skydio in https://github.com/Skydio/revup/pull/105
* Makefile uses python3 by aaron-skydio in https://github.com/Skydio/revup/pull/85
* Only raise in parse_topics when uploading by jerry-skydio in https://github.com/Skydio/revup/pull/107
* Add a simple LRU cache to common git cmds by jerry-skydio in https://github.com/Skydio/revup/pull/108
* git: Switch cherry-pick backend to git merge-tree by jerry-skydio in https://github.com/Skydio/revup/pull/109
* Remove remote prefix from upload printout by jerry-skydio in https://github.com/Skydio/revup/pull/111
* Switch to async_lru for lru_cache() by jerry-skydio in https://github.com/Skydio/revup/pull/112
* Delete topic from list if skipping by jerry-skydio in https://github.com/Skydio/revup/pull/113
* git: Don't show clean error if failing to translate commit hash by jerry-skydio in https://github.com/Skydio/revup/pull/115
* Catch and warn on github timeouts by jerry-skydio in https://github.com/Skydio/revup/pull/114
**Full Changelog**: https://github.com/Skydio/revup/compare/v0.1.5...v0.2.0