Skip to content

Commit 3d1f57d

Browse files
richlanderCopilot
andauthored
Add per-distro package files and update-distro-packages skill for 11.0 (dotnet#10322)
* Remove 11.0 os-packages files (replaced by distros/ directory) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add 11.0 distros/ directory with per-distro package files Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add update-distro-packages skill Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add dotnet-dependencies.md generation step to skill Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add dotnet-dependencies.md and update index.json to dictionary format Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add install/update instructions for dotnet-release tool in skill Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add dotnet packages population flow to skill 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> * Include preview distro versions and rolling channels in skill Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Add known alternative feed registration commands to skill 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> * Add distro package list fallback to skill docs 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> * Add Fedora Bodhi fallback to skill docs 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> * Add dotnet-packages generate command to skill Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 930e8fa commit 3d1f57d

15 files changed

Lines changed: 1505 additions & 1145 deletions

File tree

.github/skills/update-distro-packages/SKILL.md

Lines changed: 458 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"name": "Alpine",
3+
"install_command": "apk add {packages}",
4+
"releases": [
5+
{
6+
"name": "Alpine 3.22",
7+
"release": "3.22",
8+
"dependencies": [
9+
{
10+
"id": "ca-certificates",
11+
"name": "ca-certificates"
12+
},
13+
{
14+
"id": "icu",
15+
"name": "icu-libs"
16+
},
17+
{
18+
"id": "icu",
19+
"name": "icu-data-full"
20+
},
21+
{
22+
"id": "krb5",
23+
"name": "krb5"
24+
},
25+
{
26+
"id": "libgcc",
27+
"name": "libgcc"
28+
},
29+
{
30+
"id": "libstdc++",
31+
"name": "libstdc++"
32+
},
33+
{
34+
"id": "openssl",
35+
"name": "libssl3"
36+
},
37+
{
38+
"id": "tzdata",
39+
"name": "tzdata"
40+
}
41+
]
42+
},
43+
{
44+
"name": "Alpine 3.21",
45+
"release": "3.21",
46+
"dependencies": [
47+
{
48+
"id": "ca-certificates",
49+
"name": "ca-certificates"
50+
},
51+
{
52+
"id": "icu",
53+
"name": "icu-libs"
54+
},
55+
{
56+
"id": "icu",
57+
"name": "icu-data-full"
58+
},
59+
{
60+
"id": "krb5",
61+
"name": "krb5"
62+
},
63+
{
64+
"id": "libgcc",
65+
"name": "libgcc"
66+
},
67+
{
68+
"id": "libstdc++",
69+
"name": "libstdc++"
70+
},
71+
{
72+
"id": "openssl",
73+
"name": "libssl3"
74+
},
75+
{
76+
"id": "tzdata",
77+
"name": "tzdata"
78+
}
79+
]
80+
}
81+
]
82+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"name": "Azure Linux",
3+
"install_command": "tdnf install -y {packages}",
4+
"releases": [
5+
{
6+
"name": "Azure Linux 3.0",
7+
"release": "3.0",
8+
"dependencies": [
9+
{
10+
"id": "ca-certificates",
11+
"name": "ca-certificates"
12+
},
13+
{
14+
"id": "krb5",
15+
"name": "krb5"
16+
},
17+
{
18+
"id": "libc",
19+
"name": "glibc"
20+
},
21+
{
22+
"id": "libgcc",
23+
"name": "libgcc"
24+
},
25+
{
26+
"id": "libicu",
27+
"name": "icu"
28+
},
29+
{
30+
"id": "libstdc++",
31+
"name": "libstdc++"
32+
},
33+
{
34+
"id": "openssl",
35+
"name": "openssl-libs"
36+
},
37+
{
38+
"id": "tzdata",
39+
"name": "tzdata"
40+
}
41+
]
42+
}
43+
]
44+
}
Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
{
2+
"name": "CentOS Stream",
3+
"install_command": "dnf install -y {packages}",
4+
"releases": [
5+
{
6+
"name": "CentOS Stream 10",
7+
"release": "10",
8+
"dependencies": [
9+
{
10+
"id": "ca-certificates",
11+
"name": "ca-certificates"
12+
},
13+
{
14+
"id": "krb5",
15+
"name": "krb5-libs"
16+
},
17+
{
18+
"id": "libc",
19+
"name": "glibc"
20+
},
21+
{
22+
"id": "libgcc",
23+
"name": "libgcc"
24+
},
25+
{
26+
"id": "libicu",
27+
"name": "libicu"
28+
},
29+
{
30+
"id": "libstdc++",
31+
"name": "libstdc++"
32+
},
33+
{
34+
"id": "openssl",
35+
"name": "openssl-libs"
36+
},
37+
{
38+
"id": "tzdata",
39+
"name": "tzdata"
40+
}
41+
]
42+
},
43+
{
44+
"name": "CentOS Stream 9",
45+
"release": "9",
46+
"dependencies": [
47+
{
48+
"id": "ca-certificates",
49+
"name": "ca-certificates"
50+
},
51+
{
52+
"id": "krb5",
53+
"name": "krb5-libs"
54+
},
55+
{
56+
"id": "libc",
57+
"name": "glibc"
58+
},
59+
{
60+
"id": "libgcc",
61+
"name": "libgcc"
62+
},
63+
{
64+
"id": "libicu",
65+
"name": "libicu"
66+
},
67+
{
68+
"id": "libstdc++",
69+
"name": "libstdc++"
70+
},
71+
{
72+
"id": "openssl",
73+
"name": "openssl-libs"
74+
},
75+
{
76+
"id": "tzdata",
77+
"name": "tzdata"
78+
}
79+
]
80+
},
81+
{
82+
"name": "CentOS Stream 8",
83+
"release": "8",
84+
"dependencies": [
85+
{
86+
"id": "ca-certificates",
87+
"name": "ca-certificates"
88+
},
89+
{
90+
"id": "krb5",
91+
"name": "krb5-libs"
92+
},
93+
{
94+
"id": "libc",
95+
"name": "glibc"
96+
},
97+
{
98+
"id": "libgcc",
99+
"name": "libgcc"
100+
},
101+
{
102+
"id": "libicu",
103+
"name": "libicu"
104+
},
105+
{
106+
"id": "libstdc++",
107+
"name": "libstdc++"
108+
},
109+
{
110+
"id": "openssl",
111+
"name": "openssl-libs"
112+
},
113+
{
114+
"id": "tzdata",
115+
"name": "tzdata"
116+
}
117+
]
118+
}
119+
]
120+
}
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"name": "Debian",
3+
"install_command": "apt-get install -y {packages}",
4+
"releases": [
5+
{
6+
"name": "Debian 13 (Trixie)",
7+
"release": "13",
8+
"dependencies": [
9+
{
10+
"id": "ca-certificates",
11+
"name": "ca-certificates"
12+
},
13+
{
14+
"id": "krb5",
15+
"name": "libgssapi-krb5-2"
16+
},
17+
{
18+
"id": "libc",
19+
"name": "libc6"
20+
},
21+
{
22+
"id": "libgcc",
23+
"name": "libgcc-s1"
24+
},
25+
{
26+
"id": "libicu",
27+
"name": "libicu76"
28+
},
29+
{
30+
"id": "libstdc++",
31+
"name": "libstdc++6"
32+
},
33+
{
34+
"id": "openssl",
35+
"name": "libssl3t64"
36+
},
37+
{
38+
"id": "tzdata",
39+
"name": "tzdata"
40+
}
41+
]
42+
},
43+
{
44+
"name": "Debian 12 (Bookworm)",
45+
"release": "12",
46+
"dependencies": [
47+
{
48+
"id": "ca-certificates",
49+
"name": "ca-certificates"
50+
},
51+
{
52+
"id": "krb5",
53+
"name": "libgssapi-krb5-2"
54+
},
55+
{
56+
"id": "libc",
57+
"name": "libc6"
58+
},
59+
{
60+
"id": "libgcc",
61+
"name": "libgcc-s1"
62+
},
63+
{
64+
"id": "libicu",
65+
"name": "libicu72"
66+
},
67+
{
68+
"id": "libstdc++",
69+
"name": "libstdc++6"
70+
},
71+
{
72+
"id": "openssl",
73+
"name": "libssl3"
74+
},
75+
{
76+
"id": "tzdata",
77+
"name": "tzdata"
78+
}
79+
]
80+
}
81+
]
82+
}

0 commit comments

Comments
 (0)