Skip to content

Create release.json files per patch release #9417

@richlander

Description

@richlander

We should create patch-release-specific release.json files.

With such a scheme, I'd expect to see:

The primary motivator for this is that releases.json can get very large:

This demonstrates the problem (and .NET 6 still has a ways to go):

$ curl -s https://raw.githubusercontent.com/dotnet/core/main/release-notes/6.0/releases.json | wc -l
   24680

That's 24k lines.

My hypothesis for JSON users:

  • Most are satisfied with release-index.json (just looking for version numbers and the CVE bool).
  • The vast majority of the remaining users only want to know about the latest release.
  • Many of the users that need to look at all releases would prefer to read/process one release at a time to better control memory usage.

We could write a tool to backfill all the existing directories. That would be pretty easy. That could be done in parallel with establishing the scheme.

Related: #9205

@leecow

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions