libiio icon indicating copy to clipboard operation
libiio copied to clipboard

Was there once a master branch that got renamed?

Open glaure opened this issue 1 year ago • 2 comments

Hi,

i just wanted to let you now that the renaming of master to main was a breaking change for a lot of yocto based firmware builds.

I fixed for me with a bappend file, but this has to be done by everyone using yocto and openembedded at a fixed released state.

Bye Gunther

glaure avatar Oct 18 '24 09:10 glaure

yes, my guess is it happened sometime near/before Apr 2024 - https://github.com/analogdevicesinc/libiio/commit/f562a614f854488712d627cd1d5c36f38feea0a4

In ADI's meta suggestion: https://github.com/analogdevicesinc/meta-adi/blob/main/meta-adi-xilinx/recipes-support/libiio/libiio_%25.bbappend

they recommend : BRANCH ?= "libiio-v0" to get the most stable.

rgetz avatar Oct 18 '24 14:10 rgetz

From what I can tell, things are fixed in upstream meta-oe. So if people use stable branches things should just work when upgrading from one release to another. Now, if some downstream hacking is being done on the recipe then, yeah, things can break (as it happened for meta-adi).

I fixed for me with a bappend file, but this has to be done by everyone using yocto and openembedded at a fixed released state.

The way I see it, it is already done as the rename already happened upstream. If someone is doing some downstream strange hacking (as meta-adi to get the dev branch) I would say is up to those users to fix things.

nunojsa avatar Oct 21 '24 06:10 nunojsa

A little inconvenience for being woke is not a big sacrifice :P

catkira avatar Nov 12 '24 12:11 catkira

Closing this as the initial question has been answered.

dNechita avatar Jan 20 '25 22:01 dNechita