bitbake: fetch2/git: add SRC_URI option versiontag
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/21 patch 0 repliesNew
- v1 posting 1/21 patch 3 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | bitbake: fetch2/git: add SRC_URI option versiontagbitbake/ bitbake/ | +38 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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