Skip to content

Add product version retrieval#182

Merged
ianpittwood merged 3 commits intomainfrom
alternate-product-versions-retrieval
Sep 9, 2025
Merged

Add product version retrieval#182
ianpittwood merged 3 commits intomainfrom
alternate-product-versions-retrieval

Conversation

@ianpittwood
Copy link
Contributor

Ported from #143

  • Adds scripts to fetch product versions and download URLs for a given stream and OS.

@github-actions
Copy link

github-actions bot commented Sep 3, 2025

Test Results

425 tests   425 ✅  1m 24s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit a117ed5.

Copy link
Contributor

@bschwedler bschwedler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is remarkably compact for all the work and logic it is doing.

My comments are only about readability/maintainability. The functionality looks great!

Comment on lines +17 to +18
helper_test_collection = [
*[
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using itertools.chain.from_iterable removes the need for arg unpacking.

Suggested change
helper_test_collection = [
*[
helper_test_collection = itertools.chain.from_iterable([
[

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does in theory, but I can't seem to get pytest to work with a lazy-loading set of params.

@ianpittwood ianpittwood merged commit ccb8017 into main Sep 9, 2025
2 checks passed
@ianpittwood ianpittwood deleted the alternate-product-versions-retrieval branch September 9, 2025 18:13
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