Add per-distro package files and update-distro-packages skill for 11.0#10322
Add per-distro package files and update-distro-packages skill for 11.0#10322richlander merged 12 commits intomainfrom
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Adds instructions for querying pkgs.org and mapping results into dotnet_packages/dotnet_packages_other fields in per-distro files. Skill now asks user for PKGS_ORG_TOKEN when package updates are needed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
richlander
left a comment
There was a problem hiding this comment.
The skill documents dotnet_packages_other.backports with an install_command field, but the example value is a placeholder comment:
"install_command": "# See Ubuntu backports PPA documentation"This should be an actual command that users can run to register the feed, e.g.:
"register_command": "sudo add-apt-repository ppa:dotnet/backports"Without this, the generated markdown for Ubuntu 22.04 will list .NET packages but give users no way to actually install them — apt-get install dotnet-sdk-10.0 will fail with "package not found."
The field name register_command (separate from install_command) may be clearer since it is a one-time setup step, not the install itself.
Document exact install_command values for Ubuntu backports PPA and Microsoft PMC. Clarify that install_command is required for every dotnet_packages_other entry — it tells users how to register the feed before installing packages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document querying distro package lists directly (e.g. packages.ubuntu.com) as a fallback when pkgs.org doesn't have data for newly released distro versions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Document querying Fedora's Bodhi update system and source RPM specs to check package availability for new Fedora releases when pkgs.org doesn't have data yet. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| - **.NET version** — which version to work on (e.g. "11.0") | ||
| - **Task** — what to do: create new distros/ directory, add a distro release, update package names, populate dotnet packages, etc. | ||
|
|
||
| Ask the user: **Do you want to update dotnet packages (which .NET packages are available in each distro)?** If so, ask them to provide or set `PKGS_ORG_TOKEN`. This requires a [pkgs.org Gold+ subscription](https://pkgs.org/about/). |
There was a problem hiding this comment.
@richlander - are we expecting anyone who runs this tool have a Gold+ membership or has a team membership been explored?
| "fedora.json": "Fedora", | ||
| "freebsd.json": "FreeBSD", | ||
| "opensuse_leap.json": "openSUSE Leap", | ||
| "rhel.json": "RHEL", |
There was a problem hiding this comment.
Inconsistent to use abbreviations for SUSE Linux Enterprise Server and Red Hat Enterprise Linux?
Summary
Replaces the monolithic
os-packages.jsonfor .NET 11.0 with per-distro files inrelease-notes/11.0/distros/, and adds a Copilot skill to maintain them.Changes
Remove legacy format
release-notes/11.0/os-packages.jsonandos-packages.mdAdd
release-notes/11.0/distros/dependencies.json— distro-agnostic dependency list (extracted from os-packages.json)index.json— file listingEach per-distro file is scoped to .NET 11.0 and contains:
install_command— how to install packages on the distroreleases[]— per-release dependency mappings (id→ distro-specific package name)Add
update-distro-packagesskill.github/skills/update-distro-packages/SKILL.md— documents the schema, creation process, and update workflowsDesign
Files are version-scoped:
release-notes/11.0/distros/ubuntu.jsonanswers "what does .NET 11.0 need on Ubuntu?". Nodotnet_versionsfield — the version is the parent directory.dotnet_packagesfields will be populated later via the query tool.