fetch/get: Rework tag parameter handling
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 12 lines · Richard Purdie via lists.openembedded.org
Currently bitbake disallows tag parameters along with revision parameters. This isn't great since quite often, we'd like to verify that a given revision does match some tag. At the same time we don't want to or need to access the network to verify this, which normally a tag would require.
Rework the code so that tag and revisions can both be specified together. Verify that any tag specified matches the revision in use at unpack time.
This means we can start requiring people to put tags in git
SRC_URIswhen revisions are used, making review a little easier that it isn't some random revision.
Quoted 5 lines
Signed-off-by Richard Purdie <[email protected]>---
lib/bb/fetch2/__init__.py | 13 +++++--------
lib/bb/fetch2/git.py | 12 ++++++++++++2 files changed, 17 insertions(+), 8 deletions(-)
I fixed the get -> git typo in the subject...
Cheers,
Richard