Skip to content

bitbake: fetch2/git: add SRC_URI option versiontag

[email protected] bitbake-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/21 patch 0 repliesNew
  2. v1 posting 1/21 patch 3 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1bitbake: fetch2/git: add SRC_URI option versiontagbitbake/lib/bb/fetch2/git.py bitbake/lib/bb/tests/fetch.py+38 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1][RESEND 0/1] bitbake: fetch2/git: add SRC_URI option versiontag

From: Pascal Huerst <[email protected]>

This patch adds a new option to SRC_URI to fetch the latest tagged release.

We want to fetch the latest tagged release from our repositories. Bitbake already comes with latest_versionstring(), which fetches the tags from a remote, using ls-remote, sorts them and finds the newest using variable ${UPSTREAM_CHECK_GITTAGREGEX} which can be used to set a regular expression.

Please let me know what you think and what could be improved, or if there is a better way to achieve this.

Thanks,
Pascal

Pascal Huerst (1):
bitbake: fetch2/git: add SRC_URI option versiontag

 bitbake/lib/bb/fetch2/git.py  | 24 ++++++++++++++++++++----
 bitbake/lib/bb/tests/fetch.py | 18 ++++++++++++++++++
 2 files changed, 38 insertions(+), 4 deletions(-)
Signature · 1 line
2.23.0