KSP-CKAN / NetKAN-Infra

NetKAN Infrastructure Repo
MIT License
3 stars 6 forks source link

Refactor Git Repos #288

Closed techman83 closed 1 year ago

techman83 commented 1 year ago

Many assumptions around branches and repos were made early on, since then we moved a lot of the common repo actions into relevant classes. This furthers that work and replaces all direct branch access with methods that automatically figure out the primary branch of the repo. Tests updated to reference 'main'

It is intended that #283 is reviewed and merged first, then once happy we can move onto this in preparation for adding KSP2 config. We will be able to follow soon after by renaming master -> main for the existing KSP repos.

techman83 commented 1 year ago

Resolved the bad merge conflict resolution, and removed all the reformatting. I think I'd like to switch to black for the project, but I'd rather not mix in formatting with refactoring.