coinbrew icon indicating copy to clipboard operation
coinbrew copied to clipboard

Coinbrew fetch @master branch error on ThirdParty/Mumps

Open Behemoth-s opened this issue 3 years ago • 2 comments

I tried to fetch Cbc@master.

./coinbrew fetch Cbc@master

It seems failed because that the scripts also fetch all ThirdParty to master branch, while ThirdParty/Mumps didn't has a master branch. Error message as follow

Cloning into 'ThirdParty/Mumps'...
fatal: Remote branch master not found in upstream origin

Behemoth-s avatar Aug 24 '21 02:08 Behemoth-s

Not sure there is a way to tell it to just use the default branch.

I updated the branches that Cbc should use: coin-or/Cbc@0ce13a4

svigerske avatar Aug 24 '21 07:08 svigerske

Deleting master for ThirdParty (and other) projects is a breaking change for many projects so I would not close this until we update all the Dependencies files (and config.yml if applicable) across all projects. It'd be great if you could give some warning if you're doing this for other projects. Updating Dependencies and config.yml should probably happen prior to deletion of a branch that is a dependency.

tkralphs avatar Aug 24 '21 15:08 tkralphs