Skip to content

Conversation

@Monalisa-codes
Copy link

@Monalisa-codes Monalisa-codes commented Oct 13, 2025

This is how the version support table is gonna look like.
Screenshot 2025-10-13 200152
Link to the issue - #656
The script is formatted such that it can look up any changes in the version support added to the main application and make necessary changes to the table.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 13, 2025
Comment on lines +145 to +154
def format_sources(existing, new):
items = [
s.strip().lstrip("-").strip()
for s in existing.replace("<br>", ",").split(",")
if s.strip()
]
# Add new provider if not already present
if new not in items:
items.append(new)
return " <br> - " + " <br> - ".join(items)
Copy link
Member

Choose a reason for hiding this comment

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

This function seems out of place. Why is it being defined in here?

Copy link
Author

Choose a reason for hiding this comment

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

I tried to add this function as a formatter for displaying the service sources names for any version.

Copy link
Member

Choose a reason for hiding this comment

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

Sure, but defining this as a function within another function is a little strange given that it doesn't require any variables from the scope of the parent function. It would be best to define this at the module level.

Comment on lines +156 to +164
if (
"Extended Support" in existing_source
and provider not in existing_source
):
version["support_source"] = format_sources(
existing_source, provider
)
elif existing_source == "OSS Standard Support":
version["support_source"] = f"- {provider} Extended Support"
Copy link
Member

Choose a reason for hiding this comment

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

This code is a little hard to follow, I expect there is a simpler way to implement this. The goal here should be to show which providers are extending the support of each version.

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

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants