WurstSetup icon indicating copy to clipboard operation
WurstSetup copied to clipboard

Wurst Setup doesn't show error pulling dependecy with only a main branch

Open Jaccouille opened this issue 2 years ago • 1 comments

Wurst Setup GUI pulls content from master branch by default, but if a repository does not have a master branch, it doesn't show any error in the logs :

22-03-13-19-44-35 Red rectangle highlight empty dependencies folders

This can be confusing especially as new github repositories got their principal branch named main by default instead of master.

Jaccouille avatar Mar 13 '22 20:03 Jaccouille

This can be confusing especially as new github repositories got their principal branch named main by default instead of master.

Yes, you can thank github for this entire unnecessary fuckery from their side breaking tooling and whatnot just to avoid the word master. But it can be configured in your user settings.

As shown in the readme you must append the branch name like so: image

Back then there was no easy way to get the "default" branch with jgit, dunno if that changed.

Frotty avatar Mar 13 '22 20:03 Frotty