Skip to content

Commit eab63dc

Browse files
committed
add openssh
1 parent 00ab629 commit eab63dc

File tree

3 files changed

+126
-1
lines changed

3 files changed

+126
-1
lines changed

data/data.json

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,6 +2217,100 @@
22172217
}
22182218
}
22192219
}
2220+
},
2221+
"openssh": {
2222+
"short": "OpenSSH",
2223+
"description": "OpenSSH",
2224+
"programs": {
2225+
"openssh": {
2226+
"versions": {
2227+
"debian": {
2228+
"bullseye": {
2229+
"version": [
2230+
"8.4p1"
2231+
]
2232+
},
2233+
"bookworm": {
2234+
"version": [
2235+
"9.2p1"
2236+
]
2237+
},
2238+
"trixie": {
2239+
"version": [
2240+
"10.0p1"
2241+
]
2242+
},
2243+
"forky": {
2244+
"version": [
2245+
"10.2p1"
2246+
]
2247+
}
2248+
},
2249+
"ubuntu": {
2250+
"focal": {
2251+
"version": [
2252+
"8.2p1"
2253+
]
2254+
},
2255+
"jammy": {
2256+
"version": [
2257+
"8.9p1"
2258+
]
2259+
},
2260+
"noble": {
2261+
"version": [
2262+
"9.6p1"
2263+
]
2264+
},
2265+
"resolute": {
2266+
"version": [
2267+
"10.2p1"
2268+
]
2269+
}
2270+
},
2271+
"rhel": {
2272+
"7": {
2273+
"version": [
2274+
"7.4p1"
2275+
]
2276+
},
2277+
"8": {
2278+
"version": [
2279+
"8.0p1"
2280+
]
2281+
},
2282+
"9": {
2283+
"version": [
2284+
"8.7p1",
2285+
"9.9p1"
2286+
]
2287+
},
2288+
"10": {
2289+
"version": [
2290+
"9.9p1"
2291+
]
2292+
},
2293+
"ELN": {
2294+
"version": [
2295+
"10.2p1"
2296+
]
2297+
}
2298+
},
2299+
"sles": {
2300+
"15": {
2301+
"version": [
2302+
"9.6p1"
2303+
]
2304+
},
2305+
"16": {
2306+
"version": [
2307+
"10.0p2"
2308+
]
2309+
}
2310+
}
2311+
}
2312+
}
2313+
}
22202314
}
22212315
},
22222316
"distros": {
@@ -2341,6 +2435,12 @@
23412435
},
23422436
"rust": {
23432437
"rust": "rustc"
2438+
},
2439+
"openssh": {
2440+
"openssh": [
2441+
"openssh",
2442+
"openssh-server"
2443+
]
23442444
}
23452445
}
23462446
},
@@ -2465,6 +2565,12 @@
24652565
},
24662566
"rust": {
24672567
"rust": "rustc"
2568+
},
2569+
"openssh": {
2570+
"openssh": [
2571+
"openssh",
2572+
"openssh-server"
2573+
]
24682574
}
24692575
}
24702576
},
@@ -2596,6 +2702,9 @@
25962702
},
25972703
"rust": {
25982704
"rust": "rust"
2705+
},
2706+
"openssh": {
2707+
"openssh": "openssh"
25992708
}
26002709
}
26012710
},
@@ -2753,6 +2862,9 @@
27532862
},
27542863
"rust": {
27552864
"rust": "rust"
2865+
},
2866+
"openssh": {
2867+
"openssh": "openssh"
27562868
}
27572869
}
27582870
}

data/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def add_distro_data(release: str, distro_packages: list, distro: str = 'debian')
163163
for index, existing_version in enumerate(version_data[grp]['programs'][name]['versions'][distro][release]['version']):
164164
if existing_version.startswith(shortened_version):
165165
version_found = True
166-
if Version(existing_version.replace('u', '.').replace('-ga', '')) < Version(version.replace('u', '.').replace('-ga', '')):
166+
if Version(existing_version.replace('u', '.').replace('-ga', '').replace('p', '.')) < Version(version.replace('u', '.').replace('-ga', '').replace('p', '.')):
167167
version_data[grp]['programs'][name]['versions'][distro][release]['version'][index] = version
168168
if not version_found:
169169
version_data[grp]['programs'][name]['versions'][distro][release]['version'].append(version)

data/data.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ groups:
109109
description: Rust
110110
programs:
111111
rust: {}
112+
openssh:
113+
short: OpenSSH
114+
description: OpenSSH
115+
programs:
116+
openssh: {}
112117

113118
distros:
114119
debian:
@@ -203,6 +208,10 @@ distros:
203208
zsh: zsh
204209
rust:
205210
rust: rustc
211+
openssh:
212+
openssh:
213+
- openssh
214+
- openssh-server
206215

207216
ubuntu:
208217
description: Ubuntu
@@ -321,6 +330,8 @@ distros:
321330
zsh: zsh
322331
rust:
323332
rust: rust
333+
openssh:
334+
openssh: openssh
324335

325336
sles:
326337
styleClass: "suse"
@@ -443,3 +454,5 @@ distros:
443454
zsh: zsh
444455
rust:
445456
rust: rust
457+
openssh:
458+
openssh: openssh

0 commit comments

Comments
 (0)