Skip to content

Make SRCREV_FORMAT name substitution safer

Ulf Magnusson bitbake-devel 4 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest1 patch 0 repliesNew
  2. v31 patch 0 repliesSuperseded
  3. v21 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch2 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1bitbake: fetch2: Make SRCREV_FORMAT name substitution saferbitbake/lib/bb/fetch2/__init__.py+11 -10 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/1] Make SRCREV_FORMAT name substitution safer

Changes since v3:

Replace "ascending" with "descending". Word fail.

Changes since v2:

Using re.compile() is a bit silly for a one-off regex. Use re.sub() directly instead.

Changes since v1:

Fix the original patch to make it actually work, and broaden it to make the substitution more robust in general by substituting all names at once.

Ulf Magnusson (1):
bitbake: fetch2: Make SRCREV_FORMAT name substitution safer

 bitbake/lib/bb/fetch2/__init__.py | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
Signature · 1 line
2.5.0