Leonardo Fagundes Luz Serrano b51eebdb94 Fix pkg downversion due to revision calculation change
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>
2026-01-26 20:37:28 -03:00
2023-12-15 12:44:37 -07:00
2019-09-09 14:47:45 -05:00
2019-09-09 14:47:45 -05:00
2019-09-09 14:47:45 -05:00
2023-12-15 12:44:37 -07:00
Description
StarlingX Platform Armada App
2.4 MiB
Languages
Python 84.6%
Makefile 15.2%
Assembly 0.2%