Skip to content

tkldev-setup: resolve repo refs per series with safe fallbacks#45

Open
marcos-mendez wants to merge 1 commit intoturnkeylinux-apps:masterfrom
popsolutions:fix/tkldev-setup-series-fallbacks
Open

tkldev-setup: resolve repo refs per series with safe fallbacks#45
marcos-mendez wants to merge 1 commit intoturnkeylinux-apps:masterfrom
popsolutions:fix/tkldev-setup-series-fallbacks

Conversation

@marcos-mendez
Copy link

This is an incremental fix for tracker issue #1831.

tkldev-setup already derives a series ref from the installed TKL version and uses that for some core repos, but repo ref handling is still inconsistent and can still depend on moving default branches in some cases.

This patch makes repo ref resolution more consistent by using per-repo series-aware fallback logic, preferring:

  • ${series}
  • ${series}-dev
  • master

This keeps older TKLDev releases from unnecessarily following a moving default branch where a matching series ref exists, while still preserving compatibility with repos that only provide master.

This does not attempt to solve every aspect of #1831, but it should be a useful incremental improvement that is small enough to review and test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant