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

Use exceptional versions from JSON #1

Open
wants to merge 1 commit into
base: feature/distroessed-exceptional
Choose a base branch
from

Conversation

Falco20019
Copy link
Owner

@Falco20019 Falco20019 commented Aug 26, 2024

Contributes to dotnet/core#9431

@richlander A POC on how to handle the data iff we would make the adjustments to the schema as POC'd in Falco20019/core#2

@@ -4,4 +4,6 @@ public record ReportOverview(DateTime Timestamp, string Version, IList<ReportFam

public record ReportFamily(string Name, IList<ReportDistribution> Distributions);

public record ReportDistribution(string Name, IList<string> ActiveReleases, IList<string> ActiveReleasesUnsupported, IList<string> ActiveReleasesEOLSoon, IList<string> NotActiveReleasesSupported, IList<string> NotActiveReleasesUnsupported, IList<string> ReleasesMissing);
public record ReportDistribution(string Name, IList<string> ActiveReleases, IList<string> ActiveReleasesUnsupported, IList<string> ActiveReleasesEOLSoon, IList<string> NotActiveReleasesSupported, IList<string> NotActiveReleasesUnsupported, IList<string> ReleasesMissing, IList<ReportException> Exceptions);

Choose a reason for hiding this comment

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

IList<ReportException> Exceptions

Could we make this an IList<ExceptionalVersion> ? We can re-use the types from the other project and then we can simplify the code (no foreach).

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