[meta-networking] Incorrect src branch for http-parser


Aurélien Bertron
 

Hello,

I am experiencing a bug on kirkstone branch: the http-parser recipe fetches its sources from github.com/nodejs/http-parser repo :
SRC_URI = "git://github.com/nodejs/http-parser.git;branch=master;protocol=https"
SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd"
Problem: the branch is set to master but it does not exist on
upstream repo, the default branch is main. This makes the fetch step
to fail.

A possible workaround is to extend the recipe to change the SRC_URI.

Aurélien.


Khem Raj
 

Please send a patch to update it to use main for branchname.

On Thu, Jun 2, 2022 at 1:59 AM Aurélien Bertron
<aurelienbertron@...> wrote:

Hello,

I am experiencing a bug on kirkstone branch: the http-parser recipe fetches its sources from github.com/nodejs/http-parser repo :

SRC_URI = "git://github.com/nodejs/http-parser.git;branch=master;protocol=https"
SRCREV = "2343fd6b5214b2ded2cdcf76de2bf60903bb90cd"

Problem: the branch is set to master but it does not exist on
upstream repo, the default branch is main. This makes the fetch step
to fail.

A possible workaround is to extend the recipe to change the SRC_URI.

Aurélien.