Skip to contentSkip to conversation

Problem with "b4 pr" ?

DISCUSSION Tom Rini 3 participants 3 messages Feb 12, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

Hey,

With:

$ b4 --version
0.14.2

When trying to apply this PR to U-Boot:
https://lore.kernel.org/all/[email protected]/

I get this error:

$ b4 pr [email protected]
Looking at: Please pull u-boot-net-20250212
ERROR: Could not find pull request info in [email protected]

I'm unsure if this is a parsing error (as I've had "b4 pr" dislike git@host:path URIs, but I've told custodians how to setup a url and pushurl to avoid that) due to the trailing / on the repository, or an oddly phrased error message because the commit in question isn't in u-boot-net-20250212 but rather then "for-tom" branch.

Just passing this along, thanks again for the very useful tool!

Signature · 1 line
Tom
#1 lore raw
Quoted 14 lines · Tom Rini

Hey,

With:

$ b4 --version
0.14.2

When trying to apply this PR to U-Boot:
https://lore.kernel.org/all/[email protected]/

I get this error:

$ b4 pr [email protected]
Looking at: Please pull u-boot-net-20250212
ERROR: Could not find pull request info in [email protected]
Quoted 5 lines

I'm unsure if this is a parsing error (as I've had "b4 pr" dislike git@host:path URIs, but I've told custodians how to setup a url and pushurl to avoid that) due to the trailing / on the repository, or an oddly phrased error message because the commit in question isn't in u-boot-net-20250212 but rather then "for-tom" branch.

Right, we need a better error message here, but the fault is with the data in the pull request. It's telling you to:

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-net.git/ u-boot-net-20250212

But that ref/tag doesn't exist in that repository.

    $ git ls-remote https://source.denx.de/u-boot/custodians/u-boot-net.git | grep 2025
    (returns nothing)

So, we'll still error out, but the message should be:

ERROR: Could not find u-boot-net-20250212 in https://source.denx.de/u-boot/custodians/u-boot-net.git

-K

bugspray tag me