Skip to contentSkip to conversation

fetch: Drop multiple branch/revision support for single git urls

PATCH Richard Purdie 1 participant 1 message Mar 18, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Richard Purdie via lists.openembedded.org

We used to use this for bare clones where a single git url could handle multiple
revisions (which implied multiple branches).

We don't use this any more and I doubt we'd want to go back to it. If we
remove it, we can simplfy the looping in the code which seems desireable.

Quoted 6 lines

This patch does change the warning for missing branch parameters to a error. The message has hinted about that for long enough.

Some test cases are removed since they are no longer needed.

This patch does break buildhistory.bbclass and some spdx code in OE- Core. It also breaks gitpkgver in meta-openembedded.

It would be possible to put a fallback in place which would probably work around those issues.

Whether this is the right time in the release cycle to do this and whether we should just update the above code instead and have a flag day, I'm not sure. I did at least want to share the patch for feedback.

Cheers,

Richard