A bugfix is being introduced to revision calculation logic. More specifically, it will ignore commits that affect only the .gitreview file, so that creating new branches doesn't cause pkgs to increase version. This fix does cause the versions of some pkgs to go down, so an increment (defined by "stx_patch") is used to offset this side-effect. A couple notes: - The offset was calculated considering all branches, so the version may go up on some, but not down. - The commit itself bumps the version by 1, so when the offset required is also 1, stx_patch was set to 0. If stx_patch was already present, then a dummy change was introduced just to create the commit and cause the version bump. Test Plan: pass: build pkg(s) pass: target pkg(s) version(s) do not decrease Partial-Bug: 2138682 Depends-On: https://review.opendev.org/c/starlingx/root/+/973628 Change-Id: I809e59f582ebca85f09881e498777bdb606443a7 Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
Description
StarlingX Platform Armada App
Languages
Python
84.6%
Makefile
15.2%
Assembly
0.2%