Time to make "branch" parameter mandatory in git SRC_URIs?
Hi Richard,
In the documentation (migration notes for 3.5), we say that the "branch" parameter is mandatory in git SRC_URIs.
However, that's not true yet in the code, which just issues a warning:
https://git.openembedded.org/bitbake/tree/lib/bb/fetch2/git.py#n175
Given that the warning period was probably long enough, wouldn't it be time to align the code with the documentation ;-) ?
At least, this would make it easier for me to update the BitBake manual.
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 5 lines · Michael Opdenacker via lists.yoctoproject.org
Hi Richard,
In the documentation (migration notes for 3.5), we say that the "branch" parameter is mandatory in git
SRC_URIs.
Quoted 7 lines
However, that's not true yet in the code, which just issues a warning:
https://git.openembedded.org/bitbake/tree/lib/bb/fetch2/git.py#n175Given that the warning period was probably long enough, wouldn't it be time to align the code with the documentation ;-) ?
At least, this would make it easier for me to update the BitBake manual.
Lets just assume it mandatory for the docs since otherwise you do see warnings?
Cheers,
Richard
Quoted 13 lines · Richard Purdie
Quoted 11 lines · Michael Opdenacker via lists.yoctoproject.org
Hi Richard,
In the documentation (migration notes for 3.5), we say that the "branch" parameter is mandatory in git
SRC_URIs.However, that's not true yet in the code, which just issues a warning:
https://git.openembedded.org/bitbake/tree/lib/bb/fetch2/git.py#n175Given that the warning period was probably long enough, wouldn't it be time to align the code with the documentation ;-) ?
Quoted 6 lines
Quoted 1 line
At least, this would make it easier for me to update the BitBake manual.
Lets just assume it mandatory for the docs since otherwise you do see warnings?
Cheers,
Richard
Sounds good to me, thanks!
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com