Skip to content
Snippets Groups Projects

Backport 2023dev1 → v2022 managerd: fix ref used on successful upgrade

Merged Frederic Danis requested to merge wip/fdanis/8609-backport-refs-ordering into apertis/v2022

Backport !87 (merged)

AUM does not set the right refs to the repo commit when the upgrade contains development and release entries in its ref-bindings, e.g. it will use v2022dev3 instead of v2022 if both are present.

When adding ref-bindings to a commit, OSTree sort them in default alphabetic order using strcmp().

This commit looks for the correct ref for the repo commit.

https://phabricator.apertis.org/T8609

Signed-off-by: Frédéric Danis frederic.danis@collabora.com

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading