Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osversion: Add new versions, fix compat bug, improve tests #2327

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kevpar
Copy link
Member

@kevpar kevpar commented Nov 25, 2024

  • Add V23H2 (annual channel) and LTSC2025 to the version list
  • Use the LTSC build naming in the compat checks and tests, to make
    intent clearer
  • Fix a bug in the compat check. A given LTSC release should be able to
    run everything from the previous LTSC up to itself
  • Add new test cases, including for the fixed compat check bug
  • Change the tests to use t.Run for each test case

Signed-off-by: Kevin Parsons [email protected]

As of recent Go versions, specifying the go directive without a patch
(e.g. 1.22) is no longer supported. Because go tries to download a
matching toolchain if you're not already using one, it will try to
download go toolchain version 1.22, which doesn't exist (1.22.0 does).

Fix the go.mod version to specify the full version with patch, 1.22.0.

Signed-off-by: Kevin Parsons <[email protected]>
- Add V23H2 (annual channel) and LTSC2025 to the version list
- Use the LTSC build naming in the compat checks and tests, to make
  intent clearer
- Fix a bug in the compat check. A given LTSC release should be able to
  run everything from the previous LTSC up to itself
- Add new test cases, including for the fixed compat check bug
- Change the tests to use t.Run for each test case

Signed-off-by: Kevin Parsons <[email protected]>
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.

2 participants